Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test17,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test17",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.002371/0.00237, allocations: 178.4 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.07/2.07, allocations: 205.3 MB / 214.1 MB, free: 14.15 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: 98.81 kB / 262.1 MB, free: 13.88 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.3748/0.3748, allocations: 43.49 MB / 353.6 MB, free: 2.285 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.682e-05/2.691e-05, allocations: 12 kB / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4616/0.4616, allocations: 58.85 MB / 477.2 MB, free: 5.16 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1735/0.6351, allocations: 86.96 MB / 0.5509 GB, free: 12.23 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003119/0.6355, allocations: 79.45 kB / 0.551 GB, free: 12.16 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02459/0.6601, allocations: 5.286 MB / 0.5562 GB, free: 6.879 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.6602, allocations: 0 / 0.5562 GB, free: 6.879 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.651e-05/0.6602, allocations: 11.98 kB / 0.5562 GB, free: 6.867 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.0006392/0.6609, allocations: 398.9 kB / 0.5566 GB, free: 6.434 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.6609, allocations: 8.031 kB / 0.5566 GB, free: 6.426 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.248e-05/0.661, allocations: 11.89 kB / 0.5566 GB, free: 6.414 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004241/0.6614, allocations: 218.7 kB / 0.5568 GB, free: 6.16 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.6615, allocations: 0 / 0.5568 GB, free: 6.16 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.018e-05/0.6615, allocations: 4 kB / 0.5568 GB, free: 6.156 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.556e-05/0.6616, allocations: 12 kB / 0.5568 GB, free: 6.145 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000128/0.6618, allocations: 57.67 kB / 0.5569 GB, free: 6.082 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.6618, allocations: 0 / 0.5569 GB, free: 6.082 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.6618, allocations: 0 / 0.5569 GB, free: 6.082 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.6618, allocations: 0 / 0.5569 GB, free: 6.082 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005211/0.6624, allocations: 273.2 kB / 0.5571 GB, free: 5.777 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001576/0.6625, allocations: 50.69 kB / 0.5572 GB, free: 5.719 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.566e-05/0.6626, allocations: 20.98 kB / 0.5572 GB, free: 5.695 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.781e-05/0.6626, allocations: 0 / 0.5572 GB, free: 5.695 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001796/0.6628, allocations: 67.39 kB / 0.5572 GB, free: 5.617 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 2.034e-06/0.6629, allocations: 7.875 kB / 0.5573 GB, free: 5.609 MB / 395.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006363/0.6635, allocations: 141.2 kB / 0.5574 GB, free: 5.465 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/0.6636, allocations: 55.41 kB / 0.5574 GB, free: 5.398 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002351/0.6638, allocations: 153.4 kB / 0.5576 GB, free: 5.242 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.655e-05/0.6639, allocations: 33.7 kB / 0.5576 GB, free: 5.203 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.459e-05/0.664, allocations: 162.5 kB / 0.5578 GB, free: 5.043 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.805e-05/0.664, allocations: 23.66 kB / 0.5578 GB, free: 5.02 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.172e-06/0.664, allocations: 0 / 0.5578 GB, free: 5.02 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.6642, allocations: 314.8 kB / 0.5581 GB, free: 4.703 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.131e-05/0.6643, allocations: 20 kB / 0.5581 GB, free: 4.684 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.075e-05/0.6644, allocations: 33.66 kB / 0.5582 GB, free: 4.645 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.863e-05/0.6645, allocations: 27.98 kB / 0.5582 GB, free: 4.617 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.6645, allocations: 0 / 0.5582 GB, free: 4.617 MB / 395.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002269/0.6647, allocations: 81.67 kB / 0.5583 GB, free: 4.531 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.6648, allocations: 4 kB / 0.5583 GB, free: 4.527 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/0.6648, allocations: 0 / 0.5583 GB, free: 4.527 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.6648, allocations: 0 / 0.5583 GB, free: 4.527 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001687/0.665, allocations: 23.92 kB / 0.5583 GB, free: 4.504 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.665, allocations: 0 / 0.5583 GB, free: 4.504 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.951e-05/0.6651, allocations: 0 / 0.5583 GB, free: 4.504 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.697e-05/0.6651, allocations: 7.953 kB / 0.5583 GB, free: 4.496 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.0001067/0.6652, allocations: 113 kB / 0.5584 GB, free: 4.379 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002285/0.6655, allocations: 89.58 kB / 0.5585 GB, free: 4.285 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.034e-05/0.6655, allocations: 11.81 kB / 0.5585 GB, free: 4.273 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003408/0.6659, allocations: 114.4 kB / 0.5586 GB, free: 4.152 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.6659, allocations: 0 / 0.5586 GB, free: 4.152 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.6659, allocations: 4.141 kB / 0.5586 GB, free: 4.148 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.6659, allocations: 0 / 0.5586 GB, free: 4.148 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006732/0.6666, allocations: 375.9 kB / 0.559 GB, free: 3.734 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.6666, allocations: 4 kB / 0.559 GB, free: 3.73 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.574e-05/0.6667, allocations: 11.98 kB / 0.559 GB, free: 3.719 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.406e-06/0.6668, allocations: 288 / 0.559 GB, free: 3.719 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/0.6668, allocations: 7.938 kB / 0.559 GB, free: 3.711 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.6668, allocations: 3.953 kB / 0.559 GB, free: 3.707 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.6668, allocations: 3.938 kB / 0.559 GB, free: 3.703 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003252/0.6671, allocations: 213.9 kB / 0.5592 GB, free: 3.469 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.647e-05/0.6672, allocations: 96.94 kB / 0.5593 GB, free: 3.355 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.9e-05/0.6673, allocations: 7.953 kB / 0.5593 GB, free: 3.348 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/0.6674, allocations: 0 / 0.5593 GB, free: 3.348 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.138e-05/0.6675, allocations: 7.984 kB / 0.5593 GB, free: 3.34 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.64e-05/0.6675, allocations: 4 kB / 0.5593 GB, free: 3.336 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001594/0.6677, allocations: 124.1 kB / 0.5594 GB, free: 3.215 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6677, allocations: 4 kB / 0.5594 GB, free: 3.211 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.000409/0.6681, allocations: 35.92 kB / 0.5595 GB, free: 3.176 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.001707/0.6698, allocations: 1.098 MB / 0.5605 GB, free: 2.094 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.000254/0.6701, allocations: 59.91 kB / 0.5606 GB, free: 2.035 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.6701, allocations: 4.062 kB / 0.5606 GB, free: 2.031 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 8.906e-05/0.6702, allocations: 27.94 kB / 0.5606 GB, free: 2.004 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004024/0.6707, allocations: 20.59 kB / 0.5606 GB, free: 1.984 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007478/0.6714, allocations: 233.5 kB / 0.5609 GB, free: 1.703 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003846/0.6718, allocations: 0.708 MB / 0.5616 GB, free: 0.9688 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.6719, allocations: 35.48 kB / 0.5616 GB, free: 0.9336 MB / 395.1 MB Notification: Performance of SimCode: time 7.72e-07/0.672, allocations: 0 / 0.5616 GB, free: 0.9336 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.598/3.27, allocations: 2.388 MB / 0.5639 GB, free: 14.55 MB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test17_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test17.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat does not exist to compare? outputFormat=mat