Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test24.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test24,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test24,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test24",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001389/0.001389, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001426/0.001426, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.487/1.487, allocations: 227.4 MB / 247 MB, free: 10.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2335/0.2335, allocations: 46.12 MB / 344.4 MB, free: 11.45 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00252/0.00252, allocations: 83.8 kB / 480.9 MB, free: 4.461 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3242/0.3267, allocations: 62.44 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test24): time 0.003694/0.3305, allocations: 1.681 MB / 0.5323 GB, free: 12.06 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001255/0.3318, allocations: 0.5533 MB / 0.5328 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.465e-05/0.3318, allocations: 1.969 kB / 0.5328 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003084/0.3322, allocations: 40.31 kB / 0.5329 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003563/0.3326, allocations: 96.14 kB / 0.533 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004737/0.333, allocations: 133.9 kB / 0.5331 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001866/0.3332, allocations: 82.12 kB / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.3334, allocations: 24.47 kB / 0.5332 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.096e-05/0.3334, allocations: 29.61 kB / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001216/0.3335, allocations: 48.31 kB / 0.5333 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.3336, allocations: 4.125 kB / 0.5333 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001088/0.3337, allocations: 52.92 kB / 0.5333 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.472e-05/0.3338, allocations: 18.8 kB / 0.5333 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.497e-05/0.3338, allocations: 38.61 kB / 0.5334 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001974/0.334, allocations: 109.7 kB / 0.5335 GB, free: 11.21 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.334, allocations: 3.984 kB / 0.5335 GB, free: 11.21 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.334, allocations: 0 / 0.5335 GB, free: 11.21 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.334, allocations: 4 kB / 0.5335 GB, free: 11.21 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005514/0.3346, allocations: 422.9 kB / 0.5339 GB, free: 10.78 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.3346, allocations: 9.812 kB / 0.5339 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.427e-05/0.3347, allocations: 39.94 kB / 0.5339 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.347e-05/0.3347, allocations: 10.17 kB / 0.5339 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002055/0.3349, allocations: 198.2 kB / 0.5341 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.586e-06/0.335, allocations: 1.625 kB / 0.5341 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.436e-05/0.335, allocations: 15.62 kB / 0.5341 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001927/0.3352, allocations: 75.06 kB / 0.5342 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.3352, allocations: 0.9062 kB / 0.5342 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.3352, allocations: 3.938 kB / 0.5342 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.3352, allocations: 1.344 kB / 0.5342 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001547/0.3354, allocations: 38.97 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004664/0.3359, allocations: 302.2 kB / 0.5345 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002627/0.3362, allocations: 63.23 kB / 0.5346 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.127e-05/0.3363, allocations: 24.22 kB / 0.5346 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.442e-05/0.3363, allocations: 1.125 kB / 0.5346 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.186e-05/0.3363, allocations: 35.73 kB / 0.5347 GB, free: 9.992 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/0.3363, allocations: 0 / 0.5347 GB, free: 9.992 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001584/0.3379, allocations: 397.6 kB / 0.535 GB, free: 9.793 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.338, allocations: 60.41 kB / 0.5351 GB, free: 9.723 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001842/0.3382, allocations: 186.2 kB / 0.5353 GB, free: 9.578 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/0.3382, allocations: 27.23 kB / 0.5353 GB, free: 9.547 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.502e-05/0.3383, allocations: 100.5 kB / 0.5354 GB, free: 9.449 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.965e-05/0.3383, allocations: 45.12 kB / 0.5354 GB, free: 9.41 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.561e-05/0.3384, allocations: 24.59 kB / 0.5355 GB, free: 9.387 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.3385, allocations: 323 kB / 0.5358 GB, free: 9.066 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001287/0.3386, allocations: 43.34 kB / 0.5358 GB, free: 9.047 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.3388, allocations: 39.34 kB / 0.5359 GB, free: 9.031 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002444/0.339, allocations: 105.4 kB / 0.536 GB, free: 8.977 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.339, allocations: 0 / 0.536 GB, free: 8.977 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003166/0.3393, allocations: 145.1 kB / 0.5361 GB, free: 8.891 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.3394, allocations: 5.562 kB / 0.5361 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.3394, allocations: 7.922 kB / 0.5361 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.3394, allocations: 5.438 kB / 0.5361 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.3395, allocations: 27.77 kB / 0.5361 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.269e-06/0.3395, allocations: 1.156 kB / 0.5361 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.956e-05/0.3396, allocations: 14.33 kB / 0.5362 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.889e-06/0.3396, allocations: 2.312 kB / 0.5362 GB, free: 8.863 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001068/0.3397, allocations: 122.6 kB / 0.5363 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.879e-05/0.3398, allocations: 17.27 kB / 0.5363 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004024/0.3402, allocations: 169.3 kB / 0.5364 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.3402, allocations: 6.031 kB / 0.5365 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.3402, allocations: 0 / 0.5365 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3402, allocations: 0 / 0.5365 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006802/0.3409, allocations: 483.5 kB / 0.5369 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.3409, allocations: 1.031 kB / 0.5369 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001061/0.341, allocations: 24.61 kB / 0.5369 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.3411, allocations: 1.219 kB / 0.5369 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.3411, allocations: 2.719 kB / 0.5369 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.3411, allocations: 1.188 kB / 0.5369 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.3411, allocations: 1.094 kB / 0.5369 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003891/0.3415, allocations: 258.6 kB / 0.5372 GB, free: 7.965 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.119e-05/0.3415, allocations: 88.64 kB / 0.5373 GB, free: 7.863 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.131e-05/0.3416, allocations: 10.09 kB / 0.5373 GB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.903e-05/0.3417, allocations: 10.89 kB / 0.5373 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.675e-05/0.3417, allocations: 8.5 kB / 0.5373 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/0.3417, allocations: 15.17 kB / 0.5373 GB, free: 7.836 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001192/0.3419, allocations: 137.1 kB / 0.5375 GB, free: 7.738 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3419, allocations: 0 / 0.5375 GB, free: 7.738 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002623/0.3421, allocations: 30.02 kB / 0.5375 GB, free: 7.727 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002192/0.3443, allocations: 1.136 MB / 0.5386 GB, free: 6.844 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003314/0.3447, allocations: 102.2 kB / 0.5387 GB, free: 6.805 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3447, allocations: 0 / 0.5387 GB, free: 6.805 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001465/0.3448, allocations: 62.98 kB / 0.5387 GB, free: 6.777 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003582/0.3452, allocations: 16.78 kB / 0.5388 GB, free: 6.77 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002235/0.3475, allocations: 1.796 MB / 0.5405 GB, free: 5.25 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003253/0.3478, allocations: 0.7034 MB / 0.5412 GB, free: 4.543 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.261e-05/0.3479, allocations: 30.56 kB / 0.5412 GB, free: 4.523 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.224e-05/0.348, allocations: 43.23 kB / 0.5413 GB, free: 4.488 MB / 398.1 MB Notification: Performance of SimCode: time 5.01e-07/0.348, allocations: 0 / 0.5413 GB, free: 4.488 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02327/0.3712, allocations: 3.325 MB / 0.5445 GB, free: 2.691 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.266/8.637, allocations: 8.719 kB / 0.5445 GB, free: 2.688 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test24.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test24_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test24.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe 2>&1)