Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test42",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test42,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test42",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.0015/0.001499, allocations: 177.8 kB / 8.36 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.019/2.019, allocations: 205.3 MB / 214.1 MB, free: 14.13 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.001608/0.001607, allocations: 94.39 kB / 262.1 MB, free: 13.86 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.3054/0.3054, allocations: 43.49 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 3.39e-05/3.39e-05, allocations: 8.219 kB / 418.3 MB, free: 40.93 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3994/0.3995, allocations: 58.85 MB / 477.2 MB, free: 5.148 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1659/0.5655, allocations: 86.96 MB / 0.5509 GB, free: 12.25 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002998/0.5658, allocations: 75.95 kB / 0.551 GB, free: 12.18 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.0247/0.5906, allocations: 5.391 MB / 0.5563 GB, free: 6.793 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.5906, allocations: 0 / 0.5563 GB, free: 6.793 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.346e-05/0.5907, allocations: 11.94 kB / 0.5563 GB, free: 6.781 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.0006088/0.5913, allocations: 402.8 kB / 0.5567 GB, free: 6.344 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/0.5913, allocations: 12.03 kB / 0.5567 GB, free: 6.332 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.835e-05/0.5914, allocations: 7.906 kB / 0.5567 GB, free: 6.324 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004167/0.5918, allocations: 219.4 kB / 0.5569 GB, free: 6.066 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.5919, allocations: 0 / 0.5569 GB, free: 6.066 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.968e-05/0.5919, allocations: 4 kB / 0.5569 GB, free: 6.062 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001327/0.5921, allocations: 15.98 kB / 0.5569 GB, free: 6.047 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/0.5922, allocations: 53.67 kB / 0.557 GB, free: 5.988 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.5922, allocations: 3.938 kB / 0.557 GB, free: 5.984 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.5922, allocations: 0 / 0.557 GB, free: 5.984 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.5923, allocations: 0 / 0.557 GB, free: 5.984 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004729/0.5927, allocations: 277.5 kB / 0.5572 GB, free: 5.676 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001448/0.5929, allocations: 46.69 kB / 0.5573 GB, free: 5.621 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.617e-05/0.593, allocations: 20.98 kB / 0.5573 GB, free: 5.598 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.766e-05/0.593, allocations: 0 / 0.5573 GB, free: 5.598 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001734/0.5932, allocations: 67.33 kB / 0.5574 GB, free: 5.52 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 1.963e-06/0.5932, allocations: 0 / 0.5574 GB, free: 5.52 MB / 395.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006175/0.5938, allocations: 145.4 kB / 0.5575 GB, free: 5.371 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.295e-05/0.5939, allocations: 51.41 kB / 0.5575 GB, free: 5.309 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000274/0.5942, allocations: 194.3 kB / 0.5577 GB, free: 5.105 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.545e-05/0.5942, allocations: 29.7 kB / 0.5578 GB, free: 5.07 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.55e-05/0.5943, allocations: 158.6 kB / 0.5579 GB, free: 4.914 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.444e-05/0.5944, allocations: 31.58 kB / 0.5579 GB, free: 4.883 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.372e-06/0.5944, allocations: 0 / 0.5579 GB, free: 4.883 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.5946, allocations: 322.8 kB / 0.5582 GB, free: 4.559 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.576e-05/0.5946, allocations: 12 kB / 0.5583 GB, free: 4.547 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.945e-05/0.5947, allocations: 37.64 kB / 0.5583 GB, free: 4.504 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.666e-05/0.5948, allocations: 20 kB / 0.5583 GB, free: 4.484 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.5948, allocations: 0 / 0.5583 GB, free: 4.484 MB / 395.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002256/0.5951, allocations: 89.59 kB / 0.5584 GB, free: 4.391 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.5951, allocations: 4 kB / 0.5584 GB, free: 4.387 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.5951, allocations: 8.094 kB / 0.5584 GB, free: 4.379 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.5951, allocations: 0 / 0.5584 GB, free: 4.379 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00017/0.5953, allocations: 20 kB / 0.5584 GB, free: 4.359 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.5953, allocations: 0 / 0.5584 GB, free: 4.359 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001036/0.5955, allocations: 7.984 kB / 0.5584 GB, free: 4.352 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.485e-05/0.5955, allocations: 3.953 kB / 0.5584 GB, free: 4.348 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.0001048/0.5956, allocations: 105 kB / 0.5585 GB, free: 4.238 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002326/0.5958, allocations: 97.42 kB / 0.5586 GB, free: 4.137 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.314e-05/0.5959, allocations: 11.91 kB / 0.5586 GB, free: 4.125 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003437/0.5962, allocations: 111.5 kB / 0.5587 GB, free: 4.012 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.5963, allocations: 0 / 0.5587 GB, free: 4.012 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.267e-05/0.5963, allocations: 7.938 kB / 0.5588 GB, free: 4.004 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.5963, allocations: 3.984 kB / 0.5588 GB, free: 4 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006355/0.5969, allocations: 371.9 kB / 0.5591 GB, free: 3.59 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/0.597, allocations: 11.92 kB / 0.5591 GB, free: 3.578 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.316e-05/0.5971, allocations: 12 kB / 0.5591 GB, free: 3.566 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.5971, allocations: 4.031 kB / 0.5591 GB, free: 3.562 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.5971, allocations: 0 / 0.5591 GB, free: 3.562 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.492e-06/0.5971, allocations: 7.953 kB / 0.5591 GB, free: 3.555 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.5971, allocations: 0 / 0.5591 GB, free: 3.555 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003037/0.5974, allocations: 206.2 kB / 0.5593 GB, free: 3.328 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.021e-05/0.5976, allocations: 100.9 kB / 0.5594 GB, free: 3.211 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.706e-05/0.5976, allocations: 7.953 kB / 0.5595 GB, free: 3.203 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.5977, allocations: 4.094 kB / 0.5595 GB, free: 3.199 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.504e-05/0.5978, allocations: 15.86 kB / 0.5595 GB, free: 3.184 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.298e-05/0.5978, allocations: 0 / 0.5595 GB, free: 3.184 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001867/0.598, allocations: 148.9 kB / 0.5596 GB, free: 3.039 MB / 395.1 MB Notification: Performance of sort global known variables: time 5.01e-07/0.598, allocations: 0 / 0.5596 GB, free: 3.039 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003844/0.5984, allocations: 27.94 kB / 0.5596 GB, free: 3.012 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.001687/0.6001, allocations: 1.1 MB / 0.5607 GB, free: 1.926 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002179/0.6004, allocations: 55.88 kB / 0.5608 GB, free: 1.871 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.6004, allocations: 0 / 0.5608 GB, free: 1.871 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 8.668e-05/0.6005, allocations: 27.94 kB / 0.5608 GB, free: 1.844 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004127/0.6009, allocations: 31.83 kB / 0.5608 GB, free: 1.812 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007813/0.6017, allocations: 257.1 kB / 0.5611 GB, free: 1.52 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003261/0.6021, allocations: 0.7119 MB / 0.5618 GB, free: 0.7812 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/0.6022, allocations: 35.42 kB / 0.5618 GB, free: 0.7461 MB / 395.1 MB Notification: Performance of SimCode: time 1.142e-06/0.6022, allocations: 0 / 0.5618 GB, free: 0.7461 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.934/3.536, allocations: 2.519 MB / 0.5643 GB, free: 14.24 MB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test42_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test42.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat does not exist to compare? outputFormat=mat