Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test52.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.Test52,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test52",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test52,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test52",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.00147/0.00147, allocations: 179.4 kB / 8.364 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.123/2.123, 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.001111/0.001111, allocations: 95.05 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.3046/0.3046, allocations: 43.49 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.483e-05/2.493e-05, allocations: 8 kB / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4438/0.4439, allocations: 58.85 MB / 477.2 MB, free: 5.148 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1915/0.6354, allocations: 86.96 MB / 0.5509 GB, free: 12.23 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002777/0.6358, allocations: 75.47 kB / 0.551 GB, free: 12.16 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02492/0.6607, allocations: 5.505 MB / 0.5564 GB, free: 6.656 MB / 395.1 MB Notification: Performance of FrontEnd: time 4.809e-06/0.6608, allocations: 0 / 0.5564 GB, free: 6.656 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.946e-05/0.6608, allocations: 7.938 kB / 0.5564 GB, free: 6.648 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.0006274/0.6614, allocations: 414.8 kB / 0.5568 GB, free: 6.199 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.6615, allocations: 8.031 kB / 0.5568 GB, free: 6.191 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.723e-05/0.6616, allocations: 11.81 kB / 0.5568 GB, free: 6.18 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004264/0.662, allocations: 230.7 kB / 0.557 GB, free: 5.914 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.662, allocations: 4 kB / 0.557 GB, free: 5.91 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.425e-05/0.6621, allocations: 0 / 0.557 GB, free: 5.91 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.219e-05/0.6622, allocations: 19.98 kB / 0.557 GB, free: 5.891 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001248/0.6623, allocations: 49.69 kB / 0.5571 GB, free: 5.836 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.6623, allocations: 0 / 0.5571 GB, free: 5.836 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.896e-05/0.6624, allocations: 7.922 kB / 0.5571 GB, free: 5.828 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.6624, allocations: 0 / 0.5571 GB, free: 5.828 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004893/0.6629, allocations: 277.4 kB / 0.5574 GB, free: 5.52 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001554/0.6631, allocations: 54.62 kB / 0.5574 GB, free: 5.457 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.523e-05/0.6631, allocations: 16.98 kB / 0.5574 GB, free: 5.438 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.609e-05/0.6632, allocations: 0 / 0.5574 GB, free: 5.438 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001698/0.6633, allocations: 67.39 kB / 0.5575 GB, free: 5.359 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 2.114e-06/0.6634, allocations: 0 / 0.5575 GB, free: 5.359 MB / 395.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005846/0.664, allocations: 149.2 kB / 0.5576 GB, free: 5.207 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.35e-05/0.664, allocations: 55.34 kB / 0.5577 GB, free: 5.141 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003402/0.6644, allocations: 205.7 kB / 0.5579 GB, free: 4.926 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/0.6644, allocations: 25.7 kB / 0.5579 GB, free: 4.895 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.221e-05/0.6645, allocations: 166.6 kB / 0.5581 GB, free: 4.73 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.59e-05/0.6646, allocations: 23.66 kB / 0.5581 GB, free: 4.707 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.831e-06/0.6646, allocations: 0 / 0.5581 GB, free: 4.707 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.6647, allocations: 318.8 kB / 0.5584 GB, free: 4.387 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.345e-05/0.6648, allocations: 20 kB / 0.5584 GB, free: 4.367 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.731e-05/0.6649, allocations: 29.72 kB / 0.5584 GB, free: 4.332 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.592e-05/0.665, allocations: 27.92 kB / 0.5585 GB, free: 4.305 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.665, allocations: 0 / 0.5585 GB, free: 4.305 MB / 395.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002198/0.6652, allocations: 77.67 kB / 0.5585 GB, free: 4.223 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.6652, allocations: 8 kB / 0.5585 GB, free: 4.215 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.6653, allocations: 0 / 0.5585 GB, free: 4.215 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.6653, allocations: 0 / 0.5585 GB, free: 4.215 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001566/0.6655, allocations: 24.02 kB / 0.5586 GB, free: 4.191 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.6655, allocations: 7.938 kB / 0.5586 GB, free: 4.184 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.628e-05/0.6656, allocations: 192 / 0.5586 GB, free: 4.184 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.77e-05/0.6656, allocations: 7.953 kB / 0.5586 GB, free: 4.176 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.0001022/0.6657, allocations: 109 kB / 0.5587 GB, free: 4.062 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002294/0.666, allocations: 93.5 kB / 0.5588 GB, free: 3.965 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.214e-05/0.666, allocations: 11.91 kB / 0.5588 GB, free: 3.953 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003105/0.6663, allocations: 111.6 kB / 0.5589 GB, free: 3.84 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.6663, allocations: 4 kB / 0.5589 GB, free: 3.836 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.6664, allocations: 4.047 kB / 0.5589 GB, free: 3.832 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.6664, allocations: 3.938 kB / 0.5589 GB, free: 3.828 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006435/0.667, allocations: 395.8 kB / 0.5593 GB, free: 3.395 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.6671, allocations: 3.984 kB / 0.5593 GB, free: 3.391 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.735e-05/0.6671, allocations: 8 kB / 0.5593 GB, free: 3.383 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.6672, allocations: 0 / 0.5593 GB, free: 3.383 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.622e-05/0.6672, allocations: 4 kB / 0.5593 GB, free: 3.379 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.6672, allocations: 7.984 kB / 0.5593 GB, free: 3.371 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.6672, allocations: 0 / 0.5593 GB, free: 3.371 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003053/0.6675, allocations: 214.3 kB / 0.5595 GB, free: 3.137 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.936e-05/0.6676, allocations: 96.91 kB / 0.5596 GB, free: 3.023 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.855e-05/0.6677, allocations: 3.953 kB / 0.5596 GB, free: 3.02 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001287/0.6678, allocations: 11.92 kB / 0.5596 GB, free: 3.008 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.706e-05/0.6679, allocations: 11.94 kB / 0.5596 GB, free: 2.996 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/0.6679, allocations: 4 kB / 0.5596 GB, free: 2.992 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0002549/0.6682, allocations: 163.2 kB / 0.5598 GB, free: 2.832 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6682, allocations: 0 / 0.5598 GB, free: 2.832 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003817/0.6686, allocations: 31.94 kB / 0.5598 GB, free: 2.801 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.001724/0.6703, allocations: 1.106 MB / 0.5609 GB, free: 1.719 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002155/0.6706, allocations: 55.91 kB / 0.561 GB, free: 1.664 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.6706, allocations: 4 kB / 0.561 GB, free: 1.66 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 7.957e-05/0.6707, allocations: 20 kB / 0.561 GB, free: 1.641 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004201/0.6711, allocations: 28.02 kB / 0.561 GB, free: 1.609 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008601/0.672, allocations: 285.4 kB / 0.5613 GB, free: 1.285 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003869/0.6724, allocations: 0.7119 MB / 0.562 GB, free: 0.5469 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001199/0.6725, allocations: 39.42 kB / 0.562 GB, free: 0.5078 MB / 395.1 MB Notification: Performance of SimCode: time 1.052e-06/0.6725, allocations: 0 / 0.562 GB, free: 0.5078 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.604/3.276, allocations: 2.666 MB / 0.5646 GB, free: 13.85 MB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test52.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test52_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test52.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat does not exist to compare? outputFormat=mat