Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test40,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test40",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.001494/0.001494, allocations: 179.2 kB / 8.363 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.042/2.042, 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.001162/0.001162, allocations: 95.09 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.364/0.364, allocations: 43.49 MB / 353.6 MB, free: 2.254 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 3.66e-05/3.667e-05, allocations: 8.219 kB / 418.3 MB, free: 40.93 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4877/0.4878, allocations: 58.85 MB / 477.2 MB, free: 5.164 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1618/0.6496, allocations: 86.96 MB / 0.5509 GB, free: 12.23 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000292/0.65, allocations: 71.95 kB / 0.551 GB, free: 12.16 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02562/0.6756, allocations: 5.442 MB / 0.5563 GB, free: 6.723 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.6757, allocations: 0 / 0.5563 GB, free: 6.723 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.921e-05/0.6757, allocations: 8 kB / 0.5563 GB, free: 6.715 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.00065/0.6764, allocations: 402.8 kB / 0.5567 GB, free: 6.277 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5e-05/0.6764, allocations: 8.031 kB / 0.5567 GB, free: 6.27 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.337e-05/0.6765, allocations: 15.81 kB / 0.5567 GB, free: 6.254 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004369/0.6769, allocations: 214.8 kB / 0.5569 GB, free: 6.004 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.834e-05/0.677, allocations: 4 kB / 0.5569 GB, free: 6 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.688e-05/0.677, allocations: 0 / 0.5569 GB, free: 6 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001019/0.6771, allocations: 16 kB / 0.557 GB, free: 5.984 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/0.6773, allocations: 61.61 kB / 0.557 GB, free: 5.918 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.6773, allocations: 0 / 0.557 GB, free: 5.918 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.6773, allocations: 0 / 0.557 GB, free: 5.918 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.6774, allocations: 0 / 0.557 GB, free: 5.918 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005096/0.6779, allocations: 277.4 kB / 0.5573 GB, free: 5.609 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001502/0.678, allocations: 50.69 kB / 0.5573 GB, free: 5.551 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.859e-05/0.6781, allocations: 24.92 kB / 0.5573 GB, free: 5.523 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.677e-05/0.6781, allocations: 0 / 0.5573 GB, free: 5.523 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000168/0.6783, allocations: 71.33 kB / 0.5574 GB, free: 5.441 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 1.954e-06/0.6783, allocations: 3.938 kB / 0.5574 GB, free: 5.438 MB / 395.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006094/0.679, allocations: 153.2 kB / 0.5576 GB, free: 5.281 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.986e-05/0.679, allocations: 55.41 kB / 0.5576 GB, free: 5.215 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000301/0.6793, allocations: 185.5 kB / 0.5578 GB, free: 5.023 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.763e-05/0.6794, allocations: 37.7 kB / 0.5578 GB, free: 4.98 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.932e-05/0.6795, allocations: 162.5 kB / 0.558 GB, free: 4.82 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.055e-05/0.6795, allocations: 23.7 kB / 0.558 GB, free: 4.797 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.781e-06/0.6795, allocations: 0 / 0.558 GB, free: 4.797 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.6797, allocations: 314.8 kB / 0.5583 GB, free: 4.48 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.567e-05/0.6798, allocations: 16 kB / 0.5583 GB, free: 4.465 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.385e-05/0.6798, allocations: 29.72 kB / 0.5584 GB, free: 4.43 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.905e-05/0.6799, allocations: 27.98 kB / 0.5584 GB, free: 4.402 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.6799, allocations: 0 / 0.5584 GB, free: 4.402 MB / 395.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002687/0.6802, allocations: 85.53 kB / 0.5585 GB, free: 4.312 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/0.6803, allocations: 11.98 kB / 0.5585 GB, free: 4.301 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.6803, allocations: 0 / 0.5585 GB, free: 4.301 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.6803, allocations: 0 / 0.5585 GB, free: 4.301 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001602/0.6805, allocations: 16 kB / 0.5585 GB, free: 4.285 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.6805, allocations: 0 / 0.5585 GB, free: 4.285 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.484e-05/0.6806, allocations: 7.922 kB / 0.5585 GB, free: 4.277 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.669e-05/0.6806, allocations: 7.953 kB / 0.5585 GB, free: 4.27 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.0001055/0.6807, allocations: 113 kB / 0.5586 GB, free: 4.152 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002317/0.681, allocations: 93.52 kB / 0.5587 GB, free: 4.055 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.731e-05/0.681, allocations: 19.8 kB / 0.5587 GB, free: 4.035 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003114/0.6814, allocations: 107.5 kB / 0.5588 GB, free: 3.926 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.6814, allocations: 0 / 0.5588 GB, free: 3.926 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.6814, allocations: 3.953 kB / 0.5588 GB, free: 3.922 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.6814, allocations: 3.984 kB / 0.5588 GB, free: 3.918 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006402/0.6821, allocations: 384.2 kB / 0.5592 GB, free: 3.496 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.6821, allocations: 0 / 0.5592 GB, free: 3.496 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.94e-05/0.6822, allocations: 8 kB / 0.5592 GB, free: 3.488 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.365e-06/0.6822, allocations: 7.938 kB / 0.5592 GB, free: 3.48 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.6822, allocations: 0 / 0.5592 GB, free: 3.48 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.661e-06/0.6822, allocations: 3.953 kB / 0.5592 GB, free: 3.477 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.6822, allocations: 0 / 0.5592 GB, free: 3.477 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003151/0.6826, allocations: 225.9 kB / 0.5594 GB, free: 3.23 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.061e-05/0.6827, allocations: 92.94 kB / 0.5595 GB, free: 3.121 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.75e-05/0.6827, allocations: 7.953 kB / 0.5595 GB, free: 3.113 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001335/0.6829, allocations: 7.984 kB / 0.5595 GB, free: 3.105 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.521e-05/0.6829, allocations: 4 kB / 0.5595 GB, free: 3.102 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.318e-05/0.6829, allocations: 4 kB / 0.5595 GB, free: 3.098 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0002106/0.6832, allocations: 152.2 kB / 0.5597 GB, free: 2.949 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6832, allocations: 4 kB / 0.5597 GB, free: 2.945 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003783/0.6836, allocations: 27.98 kB / 0.5597 GB, free: 2.918 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.001827/0.6854, allocations: 1.112 MB / 0.5608 GB, free: 1.812 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002522/0.6857, allocations: 51.98 kB / 0.5609 GB, free: 1.762 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 6.251e-06/0.6857, allocations: 4.062 kB / 0.5609 GB, free: 1.758 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 8.98e-05/0.6858, allocations: 31.94 kB / 0.5609 GB, free: 1.727 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004444/0.6863, allocations: 31.42 kB / 0.5609 GB, free: 1.699 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008496/0.6872, allocations: 273.3 kB / 0.5612 GB, free: 1.387 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003584/0.6875, allocations: 0.7119 MB / 0.5619 GB, free: 0.6484 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000114/0.6877, allocations: 43.48 kB / 0.5619 GB, free: 0.6055 MB / 395.1 MB Notification: Performance of SimCode: time 1.233e-06/0.6877, allocations: 0 / 0.5619 GB, free: 0.6055 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.759/3.447, allocations: 2.574 MB / 0.5644 GB, free: 14.04 MB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test40_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test40.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat does not exist to compare? outputFormat=mat