Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.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.Test27,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test27,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test27",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.001372/0.001372, allocations: 178 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.476/1.476, 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.0007567/0.0007567, allocations: 78.31 kB / 261.7 MB, free: 1.691 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.2005/0.2005, allocations: 43.49 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.163e-05/2.165e-05, allocations: 8 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1079, allocations: 58.86 MB / 477.2 MB, free: 1.539 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3466/0.4546, allocations: 86.92 MB / 0.5509 GB, free: 7.688 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002344/0.4549, allocations: 78.11 kB / 0.551 GB, free: 7.648 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01239/0.4673, allocations: 5.23 MB / 0.5561 GB, free: 3.527 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.4673, allocations: 0 / 0.5561 GB, free: 3.527 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.038e-05/0.4674, allocations: 11.88 kB / 0.5561 GB, free: 3.516 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.0003173/0.4677, allocations: 390.2 kB / 0.5565 GB, free: 3.098 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.4677, allocations: 8.031 kB / 0.5565 GB, free: 3.09 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.548e-05/0.4678, allocations: 11.89 kB / 0.5565 GB, free: 3.078 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002107/0.468, allocations: 217.5 kB / 0.5567 GB, free: 2.836 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.468, allocations: 4 kB / 0.5567 GB, free: 2.832 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.468, allocations: 3.984 kB / 0.5567 GB, free: 2.828 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.103e-05/0.4681, allocations: 23.56 kB / 0.5567 GB, free: 2.812 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.676e-05/0.4682, allocations: 52.8 kB / 0.5568 GB, free: 2.762 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.4682, allocations: 0 / 0.5568 GB, free: 2.762 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.4682, allocations: 0 / 0.5568 GB, free: 2.762 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.387e-06/0.4682, allocations: 0 / 0.5568 GB, free: 2.762 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002858/0.4685, allocations: 263.8 kB / 0.557 GB, free: 2.484 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.911e-05/0.4686, allocations: 58.12 kB / 0.5571 GB, free: 2.43 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.001e-05/0.4686, allocations: 20.42 kB / 0.5571 GB, free: 2.41 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.448e-05/0.4687, allocations: 0 / 0.5571 GB, free: 2.41 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001032/0.4688, allocations: 70.7 kB / 0.5572 GB, free: 2.336 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.4688, allocations: 0 / 0.5572 GB, free: 2.336 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003571/0.4691, allocations: 147.9 kB / 0.5573 GB, free: 2.211 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.294e-05/0.4692, allocations: 59.34 kB / 0.5574 GB, free: 2.141 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.4693, allocations: 178.3 kB / 0.5576 GB, free: 1.984 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.427e-06/0.4693, allocations: 25.7 kB / 0.5576 GB, free: 1.953 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.651e-05/0.4693, allocations: 98.83 kB / 0.5577 GB, free: 1.867 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.087e-05/0.4694, allocations: 19.7 kB / 0.5577 GB, free: 1.848 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.449e-06/0.4694, allocations: 0 / 0.5577 GB, free: 1.848 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 4.173e-05/0.4694, allocations: 326.3 kB / 0.558 GB, free: 1.527 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.76e-05/0.4695, allocations: 19.69 kB / 0.558 GB, free: 1.516 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.66e-05/0.4695, allocations: 33.16 kB / 0.5581 GB, free: 1.484 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.611e-05/0.4695, allocations: 31.61 kB / 0.5581 GB, free: 1.461 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.4695, allocations: 0 / 0.5581 GB, free: 1.461 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001065/0.4697, allocations: 84.81 kB / 0.5582 GB, free: 1.383 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.4697, allocations: 11.98 kB / 0.5582 GB, free: 1.371 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.4697, allocations: 0 / 0.5582 GB, free: 1.371 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.4697, allocations: 0 / 0.5582 GB, free: 1.371 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.12e-05/0.4698, allocations: 12 kB / 0.5582 GB, free: 1.359 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.4698, allocations: 7.938 kB / 0.5582 GB, free: 1.352 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.258e-05/0.4698, allocations: 8.016 kB / 0.5582 GB, free: 1.344 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/0.4699, allocations: 11.94 kB / 0.5582 GB, free: 1.332 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.421e-05/0.4699, allocations: 104.9 kB / 0.5583 GB, free: 1.227 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001076/0.47, allocations: 92.58 kB / 0.5584 GB, free: 1.145 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.526e-05/0.47, allocations: 15.8 kB / 0.5584 GB, free: 1.129 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001498/0.4702, allocations: 109.1 kB / 0.5585 GB, free: 1.035 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.4702, allocations: 0 / 0.5585 GB, free: 1.035 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.4702, allocations: 3.953 kB / 0.5585 GB, free: 1.031 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.4702, allocations: 3.984 kB / 0.5585 GB, free: 1.027 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002672/0.4705, allocations: 378.3 kB / 0.5589 GB, free: 0.6523 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.4705, allocations: 0 / 0.5589 GB, free: 0.6523 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.603e-05/0.4706, allocations: 8.281 kB / 0.5589 GB, free: 0.6445 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.4706, allocations: 7.984 kB / 0.5589 GB, free: 0.6367 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.4706, allocations: 0 / 0.5589 GB, free: 0.6367 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.4706, allocations: 7.891 kB / 0.5589 GB, free: 0.6289 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.4706, allocations: 4 kB / 0.5589 GB, free: 0.625 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001327/0.4707, allocations: 213.2 kB / 0.5591 GB, free: 420 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.349e-05/0.4708, allocations: 88.92 kB / 0.5592 GB, free: 312 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.565e-05/0.4708, allocations: 7.938 kB / 0.5592 GB, free: 304 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.086e-05/0.4709, allocations: 8.125 kB / 0.5592 GB, free: 296 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.571e-05/0.4709, allocations: 11.92 kB / 0.5592 GB, free: 284 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.237e-06/0.4709, allocations: 11.75 kB / 0.5592 GB, free: 276 kB / 362.7 MB Notification: Performance of sorting global known variables: time 7.031e-05/0.471, allocations: 133.8 kB / 0.5594 GB, free: 160 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.471, allocations: 0 / 0.5594 GB, free: 160 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002421/0.4713, allocations: 27.98 kB / 0.5594 GB, free: 132 kB / 362.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.4724, allocations: 1.096 MB / 0.5605 GB, free: 15.08 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001279/0.4726, allocations: 62.84 kB / 0.5605 GB, free: 15.04 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.4726, allocations: 0 / 0.5605 GB, free: 15.04 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.434e-05/0.4727, allocations: 23.81 kB / 0.5606 GB, free: 15.02 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002477/0.4729, allocations: 19.86 kB / 0.5606 GB, free: 15 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004801/0.4734, allocations: 233.8 kB / 0.5608 GB, free: 14.75 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002412/0.4737, allocations: 0.7081 MB / 0.5615 GB, free: 14.01 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.83e-05/0.4737, allocations: 12.55 kB / 0.5615 GB, free: 14 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.593e-05/0.4738, allocations: 34.98 kB / 0.5615 GB, free: 13.98 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4738, allocations: 0 / 0.5615 GB, free: 13.98 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0218/0.4956, allocations: 2.649 MB / 0.5641 GB, free: 11.34 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001706/0.4958, allocations: 170.5 kB / 0.5643 GB, free: 11.14 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.448/1.944, allocations: 0 / 0.5643 GB, free: 11.14 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test27_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test27.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat does not exist to compare? outputFormat=mat