Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.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.Test30,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test30,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test30",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.0009845/0.0009845, allocations: 176.7 kB / 8.008 MB, free: 1.066 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.429/1.429, allocations: 205.3 MB / 213.7 MB, free: 1.73 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.0008182/0.0008181, allocations: 90.62 kB / 261.7 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.1907/0.1907, allocations: 43.5 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.841e-05/1.845e-05, allocations: 4 kB / 418.4 MB, free: 28.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1034, allocations: 58.86 MB / 477.2 MB, free: 1.523 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3641/0.4676, allocations: 86.95 MB / 0.551 GB, free: 7.629 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001742/0.4678, allocations: 82.39 kB / 0.551 GB, free: 7.59 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01233/0.4801, allocations: 5.333 MB / 0.5562 GB, free: 3.375 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4802, allocations: 0 / 0.5562 GB, free: 3.375 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.052e-05/0.4802, allocations: 3.938 kB / 0.5562 GB, free: 3.371 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003474/0.4805, allocations: 397.6 kB / 0.5566 GB, free: 2.949 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.4806, allocations: 16.03 kB / 0.5566 GB, free: 2.934 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.865e-05/0.4806, allocations: 7.906 kB / 0.5566 GB, free: 2.926 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000228/0.4809, allocations: 217.2 kB / 0.5569 GB, free: 2.68 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.4809, allocations: 0 / 0.5569 GB, free: 2.68 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.743e-05/0.4809, allocations: 4 kB / 0.5569 GB, free: 2.676 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.402e-05/0.481, allocations: 14.88 kB / 0.5569 GB, free: 2.668 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.949e-05/0.4811, allocations: 52.61 kB / 0.5569 GB, free: 2.617 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.4811, allocations: 0 / 0.5569 GB, free: 2.617 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.4811, allocations: 0 / 0.5569 GB, free: 2.617 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.4811, allocations: 4 kB / 0.5569 GB, free: 2.613 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002768/0.4814, allocations: 271.2 kB / 0.5572 GB, free: 2.332 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.64e-05/0.4815, allocations: 54 kB / 0.5572 GB, free: 2.281 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.029e-05/0.4815, allocations: 16.73 kB / 0.5573 GB, free: 2.266 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.348e-05/0.4815, allocations: 3.984 kB / 0.5573 GB, free: 2.262 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.094e-05/0.4816, allocations: 62.47 kB / 0.5573 GB, free: 2.195 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.432e-06/0.4817, allocations: 0 / 0.5573 GB, free: 2.195 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003503/0.482, allocations: 156.4 kB / 0.5575 GB, free: 2.059 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.735e-05/0.482, allocations: 55.34 kB / 0.5575 GB, free: 1.992 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/0.4822, allocations: 175.7 kB / 0.5577 GB, free: 1.84 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.818e-06/0.4822, allocations: 29.64 kB / 0.5577 GB, free: 1.805 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.824e-05/0.4822, allocations: 101.7 kB / 0.5578 GB, free: 1.715 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.09e-05/0.4822, allocations: 19.28 kB / 0.5578 GB, free: 1.699 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.187e-06/0.4822, allocations: 4 kB / 0.5578 GB, free: 1.695 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 4.671e-05/0.4823, allocations: 322.4 kB / 0.5581 GB, free: 1.375 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.147e-05/0.4823, allocations: 18.81 kB / 0.5582 GB, free: 1.363 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.472e-05/0.4824, allocations: 36.77 kB / 0.5582 GB, free: 1.328 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.498e-05/0.4824, allocations: 14.94 kB / 0.5582 GB, free: 1.32 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.4824, allocations: 0 / 0.5582 GB, free: 1.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001076/0.4825, allocations: 95.61 kB / 0.5583 GB, free: 1.234 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.4826, allocations: 8.031 kB / 0.5583 GB, free: 1.227 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.4826, allocations: 0 / 0.5583 GB, free: 1.227 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.4826, allocations: 4 kB / 0.5583 GB, free: 1.223 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.958e-05/0.4827, allocations: 19.92 kB / 0.5583 GB, free: 1.203 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.4827, allocations: 192 / 0.5583 GB, free: 1.203 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.395e-05/0.4827, allocations: 8 kB / 0.5583 GB, free: 1.195 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.4827, allocations: 7.203 kB / 0.5583 GB, free: 1.191 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 (10): * Single equations (assignments): 10 * 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.286e-05/0.4828, allocations: 106.4 kB / 0.5584 GB, free: 1.082 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001055/0.4829, allocations: 95.09 kB / 0.5585 GB, free: 1 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.486e-05/0.4829, allocations: 19.81 kB / 0.5586 GB, free: 0.9805 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001512/0.4831, allocations: 111.7 kB / 0.5587 GB, free: 0.8828 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.4831, allocations: 0 / 0.5587 GB, free: 0.8828 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.4831, allocations: 3.953 kB / 0.5587 GB, free: 0.8789 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.4831, allocations: 3.984 kB / 0.5587 GB, free: 0.875 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002564/0.4834, allocations: 374.7 kB / 0.559 GB, free: 0.5039 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.4834, allocations: 0 / 0.559 GB, free: 0.5039 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.62e-05/0.4834, allocations: 11.98 kB / 0.559 GB, free: 0.4922 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.4834, allocations: 4.031 kB / 0.559 GB, free: 500 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.824e-06/0.4835, allocations: 4 kB / 0.559 GB, free: 496 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.4835, allocations: 7.891 kB / 0.5591 GB, free: 488 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.4835, allocations: 0 / 0.5591 GB, free: 488 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001261/0.4836, allocations: 208.7 kB / 0.5593 GB, free: 272 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.308e-05/0.4836, allocations: 96.91 kB / 0.5593 GB, free: 156 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.338e-05/0.4837, allocations: 11.89 kB / 0.5594 GB, free: 144 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.045e-05/0.4837, allocations: 7.938 kB / 0.5594 GB, free: 136 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.048e-05/0.4838, allocations: 11.48 kB / 0.5594 GB, free: 128 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.4838, allocations: 0 / 0.5594 GB, free: 128 kB / 362.7 MB Notification: Performance of sorting global known variables: time 6.782e-05/0.4839, allocations: 138.5 kB / 0.5595 GB, free: 8 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4839, allocations: 0 / 0.5595 GB, free: 8 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002672/0.4841, allocations: 24.05 kB / 0.5595 GB, free: 15.98 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 (9): * Single equations (assignments): 7 * 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.001165/0.4853, allocations: 1.096 MB / 0.5606 GB, free: 14.94 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001212/0.4855, allocations: 55.42 kB / 0.5607 GB, free: 14.9 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.4855, allocations: 0 / 0.5607 GB, free: 14.9 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.612e-05/0.4855, allocations: 30.88 kB / 0.5607 GB, free: 14.88 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002447/0.4858, allocations: 23.91 kB / 0.5607 GB, free: 14.86 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004862/0.4863, allocations: 229.9 kB / 0.5609 GB, free: 14.61 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003138/0.4866, allocations: 0.7041 MB / 0.5616 GB, free: 13.88 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.226e-05/0.4867, allocations: 16.56 kB / 0.5616 GB, free: 13.86 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.493e-05/0.4867, allocations: 34.3 kB / 0.5617 GB, free: 13.84 MB / 378.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4867, allocations: 4 kB / 0.5617 GB, free: 13.84 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02293/0.5097, allocations: 2.653 MB / 0.5643 GB, free: 11.2 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002052/0.5099, allocations: 166.5 kB / 0.5644 GB, free: 11 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.517/2.026, allocations: 0 / 0.5644 GB, free: 11 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test30_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test30.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat does not exist to compare? outputFormat=mat