Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test44",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test44,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test44",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.001647/0.001652, 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.071/2.071, allocations: 205.3 MB / 214.1 MB, free: 14.09 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.00116/0.00116, allocations: 79.78 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.302/0.302, allocations: 43.5 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.292e-05/2.299e-05, allocations: 8.219 kB / 418.3 MB, free: 40.93 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.461/0.461, allocations: 58.84 MB / 477.2 MB, free: 5.293 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2143/0.6754, allocations: 86.97 MB / 0.5509 GB, free: 12.31 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003024/0.6757, allocations: 67.97 kB / 0.551 GB, free: 12.25 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02474/0.7005, allocations: 5.401 MB / 0.5563 GB, free: 6.852 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.7006, allocations: 8 kB / 0.5563 GB, free: 6.844 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.994e-05/0.7006, allocations: 7.938 kB / 0.5563 GB, free: 6.836 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.000626/0.7012, allocations: 402.8 kB / 0.5567 GB, free: 6.398 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.77e-05/0.7013, allocations: 8.031 kB / 0.5567 GB, free: 6.391 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.432e-05/0.7014, allocations: 11.91 kB / 0.5567 GB, free: 6.379 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004142/0.7018, allocations: 215.4 kB / 0.5569 GB, free: 6.125 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.895e-05/0.7018, allocations: 0 / 0.5569 GB, free: 6.125 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.889e-05/0.7019, allocations: 4 kB / 0.5569 GB, free: 6.121 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.698e-05/0.702, allocations: 24 kB / 0.5569 GB, free: 6.098 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001269/0.7021, allocations: 49.61 kB / 0.557 GB, free: 6.043 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/0.7022, allocations: 4 kB / 0.557 GB, free: 6.039 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.7022, allocations: 0 / 0.557 GB, free: 6.039 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.7022, allocations: 0 / 0.557 GB, free: 6.039 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005009/0.7027, allocations: 269.5 kB / 0.5572 GB, free: 5.738 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001574/0.7029, allocations: 54.69 kB / 0.5573 GB, free: 5.676 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.643e-05/0.7029, allocations: 16.98 kB / 0.5573 GB, free: 5.656 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.703, allocations: 4 kB / 0.5573 GB, free: 5.652 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001745/0.7032, allocations: 67.33 kB / 0.5574 GB, free: 5.574 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 2.054e-06/0.7032, allocations: 0 / 0.5574 GB, free: 5.574 MB / 395.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006091/0.7038, allocations: 153.2 kB / 0.5575 GB, free: 5.418 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/0.7039, allocations: 55.34 kB / 0.5576 GB, free: 5.352 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000284/0.7042, allocations: 194.2 kB / 0.5578 GB, free: 5.148 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.836e-05/0.7042, allocations: 25.7 kB / 0.5578 GB, free: 5.117 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.51e-05/0.7043, allocations: 166.6 kB / 0.5579 GB, free: 4.953 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.212e-05/0.7044, allocations: 27.64 kB / 0.558 GB, free: 4.926 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.061e-06/0.7044, allocations: 0 / 0.558 GB, free: 4.926 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.7045, allocations: 310.8 kB / 0.5583 GB, free: 4.613 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.981e-05/0.7046, allocations: 16 kB / 0.5583 GB, free: 4.598 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.847e-05/0.7047, allocations: 41.7 kB / 0.5583 GB, free: 4.551 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.754e-05/0.7048, allocations: 15.98 kB / 0.5583 GB, free: 4.535 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.7048, allocations: 0 / 0.5583 GB, free: 4.535 MB / 395.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002207/0.705, allocations: 85.62 kB / 0.5584 GB, free: 4.445 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.7051, allocations: 4 kB / 0.5584 GB, free: 4.441 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.7051, allocations: 4 kB / 0.5584 GB, free: 4.438 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.7051, allocations: 0 / 0.5584 GB, free: 4.438 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001591/0.7053, allocations: 15.98 kB / 0.5584 GB, free: 4.422 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.7053, allocations: 0 / 0.5584 GB, free: 4.422 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.388e-05/0.7054, allocations: 8.031 kB / 0.5584 GB, free: 4.414 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.808e-05/0.7054, allocations: 7.953 kB / 0.5584 GB, free: 4.406 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.0001072/0.7056, allocations: 101 kB / 0.5585 GB, free: 4.301 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002292/0.7058, allocations: 105.6 kB / 0.5586 GB, free: 4.191 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.521e-05/0.7058, allocations: 11.91 kB / 0.5587 GB, free: 4.18 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003226/0.7062, allocations: 111.5 kB / 0.5588 GB, free: 4.066 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.7062, allocations: 0 / 0.5588 GB, free: 4.066 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.7062, allocations: 3.953 kB / 0.5588 GB, free: 4.062 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.7062, allocations: 4 kB / 0.5588 GB, free: 4.059 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006641/0.7069, allocations: 387.8 kB / 0.5591 GB, free: 3.633 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.7069, allocations: 0 / 0.5591 GB, free: 3.633 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.611e-05/0.707, allocations: 8 kB / 0.5591 GB, free: 3.625 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/0.707, allocations: 0 / 0.5591 GB, free: 3.625 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.667e-05/0.7071, allocations: 4 kB / 0.5592 GB, free: 3.621 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-05/0.7071, allocations: 4.234 kB / 0.5592 GB, free: 3.617 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.7071, allocations: 0 / 0.5592 GB, free: 3.617 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003195/0.7074, allocations: 221.9 kB / 0.5594 GB, free: 3.375 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.688e-05/0.7075, allocations: 92.92 kB / 0.5595 GB, free: 3.266 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.791e-05/0.7076, allocations: 3.953 kB / 0.5595 GB, free: 3.262 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001327/0.7077, allocations: 7.984 kB / 0.5595 GB, free: 3.254 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.982e-05/0.7078, allocations: 7.938 kB / 0.5595 GB, free: 3.246 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.003e-05/0.7078, allocations: 8 kB / 0.5595 GB, free: 3.238 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001886/0.708, allocations: 144.9 kB / 0.5596 GB, free: 3.098 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.708, allocations: 0 / 0.5596 GB, free: 3.098 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003912/0.7084, allocations: 31.92 kB / 0.5597 GB, free: 3.066 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.001826/0.7103, allocations: 1.11 MB / 0.5607 GB, free: 1.977 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002258/0.7106, allocations: 52 kB / 0.5608 GB, free: 1.926 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.7106, allocations: 0 / 0.5608 GB, free: 1.926 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 8.988e-05/0.7107, allocations: 35.92 kB / 0.5608 GB, free: 1.891 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000444/0.7111, allocations: 23.84 kB / 0.5608 GB, free: 1.867 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008546/0.712, allocations: 253 kB / 0.5611 GB, free: 1.578 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004145/0.7124, allocations: 0.712 MB / 0.5618 GB, free: 0.8398 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001163/0.7126, allocations: 35.42 kB / 0.5618 GB, free: 0.8047 MB / 395.1 MB Notification: Performance of SimCode: time 3.005e-06/0.7126, allocations: 0 / 0.5618 GB, free: 0.8047 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.65/3.363, allocations: 2.523 MB / 0.5643 GB, free: 14.29 MB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test44_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test44.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat does not exist to compare? outputFormat=mat