Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22.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.Test22,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test22,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test22",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.00163/0.00163, allocations: 178.3 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.15/2.15, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001079/0.001079, allocations: 77.75 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3158/0.3158, allocations: 43.5 MB / 353.6 MB, free: 2.258 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.563e-05/2.573e-05, allocations: 8.203 kB / 418.3 MB, free: 40.92 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4381/0.4382, allocations: 58.86 MB / 477.2 MB, free: 5.156 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2149/0.6532, allocations: 86.96 MB / 0.5509 GB, free: 12.22 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00032/0.6536, allocations: 75.95 kB / 0.551 GB, free: 12.14 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02479/0.6784, allocations: 5.323 MB / 0.5562 GB, free: 6.828 MB / 395.1 MB Notification: Performance of FrontEnd: time 4.308e-06/0.6784, allocations: 0 / 0.5562 GB, free: 6.828 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.68e-05/0.6785, allocations: 3.938 kB / 0.5562 GB, free: 6.824 MB / 395.1 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.0006343/0.6791, allocations: 398.9 kB / 0.5566 GB, free: 6.391 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.304e-05/0.6792, allocations: 12.03 kB / 0.5566 GB, free: 6.379 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.311e-05/0.6792, allocations: 7.906 kB / 0.5566 GB, free: 6.371 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004271/0.6797, allocations: 225.5 kB / 0.5568 GB, free: 6.113 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.6797, allocations: 0 / 0.5568 GB, free: 6.113 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.071e-05/0.6798, allocations: 4 kB / 0.5568 GB, free: 6.109 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.668e-05/0.6799, allocations: 12 kB / 0.5568 GB, free: 6.098 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001333/0.68, allocations: 53.67 kB / 0.5569 GB, free: 6.039 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.68, allocations: 0 / 0.5569 GB, free: 6.039 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.6801, allocations: 0 / 0.5569 GB, free: 6.039 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.6801, allocations: 11.98 kB / 0.5569 GB, free: 6.027 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004909/0.6806, allocations: 265.5 kB / 0.5572 GB, free: 5.73 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001605/0.6808, allocations: 50.62 kB / 0.5572 GB, free: 5.672 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.715e-05/0.6808, allocations: 20.97 kB / 0.5572 GB, free: 5.648 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.6809, allocations: 0 / 0.5572 GB, free: 5.648 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001728/0.6811, allocations: 67.41 kB / 0.5573 GB, free: 5.57 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 2.164e-06/0.6811, allocations: 3.938 kB / 0.5573 GB, free: 5.566 MB / 395.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006612/0.6817, allocations: 157.1 kB / 0.5574 GB, free: 5.406 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.561e-05/0.6818, allocations: 55.34 kB / 0.5575 GB, free: 5.34 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002535/0.6821, allocations: 170.9 kB / 0.5577 GB, free: 5.168 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.782e-05/0.6821, allocations: 25.7 kB / 0.5577 GB, free: 5.137 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.721e-05/0.6822, allocations: 158.6 kB / 0.5578 GB, free: 4.98 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.352e-05/0.6823, allocations: 27.7 kB / 0.5579 GB, free: 4.953 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.653e-06/0.6823, allocations: 0 / 0.5579 GB, free: 4.953 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.6824, allocations: 314.8 kB / 0.5582 GB, free: 4.637 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.792e-05/0.6825, allocations: 16 kB / 0.5582 GB, free: 4.621 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8e-05/0.6826, allocations: 33.7 kB / 0.5582 GB, free: 4.582 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.298e-05/0.6827, allocations: 23.94 kB / 0.5582 GB, free: 4.559 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.6827, allocations: 0 / 0.5582 GB, free: 4.559 MB / 395.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002435/0.683, allocations: 89.58 kB / 0.5583 GB, free: 4.465 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.683, allocations: 4 kB / 0.5583 GB, free: 4.461 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.683, allocations: 0 / 0.5583 GB, free: 4.461 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.6831, allocations: 4 kB / 0.5583 GB, free: 4.457 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001715/0.6832, allocations: 15.94 kB / 0.5583 GB, free: 4.441 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.6833, allocations: 0 / 0.5583 GB, free: 4.441 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001063/0.6834, allocations: 7.984 kB / 0.5583 GB, free: 4.434 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.724e-05/0.6834, allocations: 7.953 kB / 0.5583 GB, free: 4.426 MB / 395.1 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 0.0001077/0.6835, allocations: 105 kB / 0.5584 GB, free: 4.316 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000235/0.6838, allocations: 97.59 kB / 0.5585 GB, free: 4.215 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.296e-05/0.6838, allocations: 7.906 kB / 0.5586 GB, free: 4.207 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003171/0.6841, allocations: 114.1 kB / 0.5587 GB, free: 4.09 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-06/0.6842, allocations: 7.984 kB / 0.5587 GB, free: 4.082 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.6842, allocations: 3.953 kB / 0.5587 GB, free: 4.078 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.6842, allocations: 0 / 0.5587 GB, free: 4.078 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006108/0.6848, allocations: 372.1 kB / 0.559 GB, free: 3.668 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.6848, allocations: 4.031 kB / 0.559 GB, free: 3.664 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.15e-05/0.6849, allocations: 11.98 kB / 0.559 GB, free: 3.652 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.511e-06/0.685, allocations: 288 / 0.559 GB, free: 3.652 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.604e-05/0.685, allocations: 4 kB / 0.559 GB, free: 3.648 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.175e-06/0.685, allocations: 3.953 kB / 0.559 GB, free: 3.645 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.685, allocations: 7.875 kB / 0.5591 GB, free: 3.637 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003426/0.6854, allocations: 214 kB / 0.5593 GB, free: 3.402 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.341e-05/0.6855, allocations: 96.91 kB / 0.5594 GB, free: 3.289 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.769e-05/0.6855, allocations: 3.953 kB / 0.5594 GB, free: 3.285 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001369/0.6857, allocations: 7.938 kB / 0.5594 GB, free: 3.277 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.974e-05/0.6857, allocations: 15.92 kB / 0.5594 GB, free: 3.262 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.448e-05/0.6858, allocations: 192 / 0.5594 GB, free: 3.262 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001811/0.6859, allocations: 143.4 kB / 0.5595 GB, free: 3.121 MB / 395.1 MB Notification: Performance of sort global known variables: time 6.21e-07/0.686, allocations: 0 / 0.5595 GB, free: 3.121 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003803/0.6863, allocations: 24 kB / 0.5595 GB, free: 3.098 MB / 395.1 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.00184/0.6882, allocations: 1.1 MB / 0.5606 GB, free: 2.012 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002425/0.6885, allocations: 55.92 kB / 0.5607 GB, free: 1.957 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.6885, allocations: 0 / 0.5607 GB, free: 1.957 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 9.316e-05/0.6886, allocations: 28 kB / 0.5607 GB, free: 1.93 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000422/0.689, allocations: 27.77 kB / 0.5607 GB, free: 1.906 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008546/0.6899, allocations: 256.5 kB / 0.561 GB, free: 1.602 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000373/0.6903, allocations: 0.708 MB / 0.5617 GB, free: 0.8672 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/0.6904, allocations: 35.42 kB / 0.5617 GB, free: 0.832 MB / 395.1 MB Notification: Performance of SimCode: time 9.92e-07/0.6904, allocations: 0 / 0.5617 GB, free: 0.832 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.81/3.501, allocations: 2.456 MB / 0.5641 GB, free: 14.38 MB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test22_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test22.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat does not exist to compare? outputFormat=mat