Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001535/0.001535, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.547/1.547, allocations: 205.3 MB / 213.7 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008585/0.0008585, allocations: 90.28 kB / 261.8 MB, free: 1.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1858/0.1858, allocations: 43.49 MB / 353.2 MB, free: 296 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.921e-05/1.922e-05, allocations: 8 kB / 418.4 MB, free: 28.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1122, allocations: 58.85 MB / 477.2 MB, free: 1.535 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3447/0.457, allocations: 86.97 MB / 0.551 GB, free: 7.91 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001599/0.4572, allocations: 74.81 kB / 0.551 GB, free: 7.875 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01351/0.4707, allocations: 5.813 MB / 0.5567 GB, free: 3.242 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.4707, allocations: 0 / 0.5567 GB, free: 3.242 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.289e-05/0.4708, allocations: 8 kB / 0.5567 GB, free: 3.234 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003902/0.4712, allocations: 422.2 kB / 0.5571 GB, free: 2.789 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.4712, allocations: 12.03 kB / 0.5571 GB, free: 2.777 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.541e-05/0.4713, allocations: 7.906 kB / 0.5571 GB, free: 2.77 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002603/0.4715, allocations: 233.7 kB / 0.5574 GB, free: 2.512 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.4716, allocations: 3.984 kB / 0.5574 GB, free: 2.508 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.155e-05/0.4716, allocations: 4 kB / 0.5574 GB, free: 2.504 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.974e-05/0.4717, allocations: 30.05 kB / 0.5574 GB, free: 2.484 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.682e-05/0.4718, allocations: 64.3 kB / 0.5575 GB, free: 2.422 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.4718, allocations: 0 / 0.5575 GB, free: 2.422 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.4718, allocations: 0 / 0.5575 GB, free: 2.422 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.4718, allocations: 0 / 0.5575 GB, free: 2.422 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003249/0.4721, allocations: 295.9 kB / 0.5577 GB, free: 2.121 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001166/0.4723, allocations: 63.31 kB / 0.5578 GB, free: 2.062 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.786e-05/0.4723, allocations: 27.41 kB / 0.5578 GB, free: 2.039 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.697e-05/0.4723, allocations: 4 kB / 0.5578 GB, free: 2.035 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000123/0.4725, allocations: 77.12 kB / 0.5579 GB, free: 1.957 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.352e-06/0.4725, allocations: 0 / 0.5579 GB, free: 1.957 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004217/0.4729, allocations: 173.9 kB / 0.5581 GB, free: 1.812 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.93e-05/0.4729, allocations: 55.41 kB / 0.5581 GB, free: 1.746 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001663/0.4731, allocations: 220.5 kB / 0.5583 GB, free: 1.555 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.242e-05/0.4731, allocations: 33.7 kB / 0.5584 GB, free: 1.516 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.819e-05/0.4732, allocations: 115.1 kB / 0.5585 GB, free: 1.422 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.64e-05/0.4732, allocations: 23.02 kB / 0.5585 GB, free: 1.402 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.458e-06/0.4732, allocations: 4 kB / 0.5585 GB, free: 1.398 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.228e-05/0.4733, allocations: 326.4 kB / 0.5588 GB, free: 1.078 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.486e-05/0.4733, allocations: 19.12 kB / 0.5588 GB, free: 1.066 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.107e-05/0.4734, allocations: 39.45 kB / 0.5589 GB, free: 1.031 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.602e-05/0.4734, allocations: 32.95 kB / 0.5589 GB, free: 1.008 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.4734, allocations: 3.938 kB / 0.5589 GB, free: 1.004 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001302/0.4736, allocations: 105.7 kB / 0.559 GB, free: 0.9141 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.4736, allocations: 11.94 kB / 0.559 GB, free: 0.9023 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.4736, allocations: 0 / 0.559 GB, free: 0.9023 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.4736, allocations: 0 / 0.559 GB, free: 0.9023 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.705e-05/0.4737, allocations: 27.91 kB / 0.559 GB, free: 0.875 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.938e-06/0.4737, allocations: 0 / 0.559 GB, free: 0.875 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.683e-05/0.4738, allocations: 7.953 kB / 0.5591 GB, free: 0.8672 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.4738, allocations: 0 / 0.5591 GB, free: 0.8672 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.991e-05/0.4738, allocations: 114.7 kB / 0.5592 GB, free: 0.75 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001283/0.474, allocations: 110.7 kB / 0.5593 GB, free: 0.6523 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.895e-05/0.474, allocations: 15.81 kB / 0.5593 GB, free: 0.6367 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001867/0.4742, allocations: 138.9 kB / 0.5594 GB, free: 0.5195 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.4742, allocations: 4 kB / 0.5594 GB, free: 0.5156 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.4742, allocations: 3.953 kB / 0.5594 GB, free: 0.5117 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.145e-06/0.4742, allocations: 0 / 0.5594 GB, free: 0.5117 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003384/0.4746, allocations: 427.7 kB / 0.5598 GB, free: 100 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.4746, allocations: 0 / 0.5598 GB, free: 100 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.702e-05/0.4746, allocations: 12 kB / 0.5598 GB, free: 88 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.4746, allocations: 3.984 kB / 0.5598 GB, free: 84 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.4747, allocations: 7.953 kB / 0.5599 GB, free: 76 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.4747, allocations: 3.938 kB / 0.5599 GB, free: 72 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.4747, allocations: 0 / 0.5599 GB, free: 72 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002319/0.4749, allocations: 234 kB / 0.5601 GB, free: 15.84 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.108e-05/0.475, allocations: 108.2 kB / 0.5602 GB, free: 15.72 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.082e-05/0.475, allocations: 3.953 kB / 0.5602 GB, free: 15.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.905e-05/0.4751, allocations: 4 kB / 0.5602 GB, free: 15.71 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.198e-05/0.4752, allocations: 7.984 kB / 0.5602 GB, free: 15.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.4752, allocations: 4 kB / 0.5602 GB, free: 15.7 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001591/0.4753, allocations: 177.2 kB / 0.5604 GB, free: 15.56 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4754, allocations: 4 kB / 0.5604 GB, free: 15.55 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002773/0.4756, allocations: 35.98 kB / 0.5604 GB, free: 15.52 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001249/0.4769, allocations: 1.126 MB / 0.5615 GB, free: 14.45 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001369/0.477, allocations: 66.5 kB / 0.5616 GB, free: 14.4 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.4771, allocations: 4.062 kB / 0.5616 GB, free: 14.4 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.856e-05/0.4771, allocations: 39.17 kB / 0.5616 GB, free: 14.37 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002701/0.4774, allocations: 31.22 kB / 0.5616 GB, free: 14.34 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005646/0.478, allocations: 285.5 kB / 0.5619 GB, free: 14.04 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000217/0.4782, allocations: 0.7225 MB / 0.5626 GB, free: 13.3 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.373e-05/0.4783, allocations: 20.94 kB / 0.5626 GB, free: 13.27 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.81e-05/0.4784, allocations: 52.23 kB / 0.5627 GB, free: 13.24 MB / 378.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4784, allocations: 0 / 0.5627 GB, free: 13.24 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02108/0.4994, allocations: 3.153 MB / 0.5658 GB, free: 10.1 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001979/0.4997, allocations: 175.4 kB / 0.5659 GB, free: 9.898 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.595/2.094, allocations: 0 / 0.5659 GB, free: 9.898 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test8_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test8.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat does not exist to compare? outputFormat=mat