Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.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.Test14,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test14",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.001113/0.001113, allocations: 183.5 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.468/1.468, allocations: 205.4 MB / 221.9 MB, free: 13.83 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008542/0.0008542, allocations: 94.84 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2198/0.2198, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004306/0.0004307, allocations: 12 kB / 431.5 MB, free: 19.49 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1521, allocations: 58.86 MB / 490.4 MB, free: 8.566 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5025/0.6546, allocations: 89.45 MB / 0.5662 GB, free: 10.25 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002817/0.655, allocations: 69.09 kB / 0.5663 GB, free: 10.22 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01459/0.6696, allocations: 4.852 MB / 0.571 GB, free: 6.113 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.986e-06/0.6697, allocations: 0 / 0.571 GB, free: 6.113 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.652e-05/0.6697, allocations: 4 kB / 0.571 GB, free: 6.109 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009722/0.6707, allocations: 0.5673 MB / 0.5716 GB, free: 5.496 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/0.6707, allocations: 12.03 kB / 0.5716 GB, free: 5.484 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.31e-05/0.6708, allocations: 38.48 kB / 0.5716 GB, free: 5.441 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.058e-05/0.6709, allocations: 23.72 kB / 0.5717 GB, free: 5.418 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003835/0.6713, allocations: 249.9 kB / 0.5719 GB, free: 5.145 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.127e-05/0.6713, allocations: 11.56 kB / 0.5719 GB, free: 5.137 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.961e-05/0.6713, allocations: 8 kB / 0.5719 GB, free: 5.129 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004361/0.6718, allocations: 164.2 kB / 0.5721 GB, free: 4.98 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.6718, allocations: 4 kB / 0.5721 GB, free: 4.977 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.143e-05/0.6718, allocations: 7.984 kB / 0.5721 GB, free: 4.969 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-06/0.6718, allocations: 0 / 0.5721 GB, free: 4.969 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004966/0.6723, allocations: 140.6 kB / 0.5722 GB, free: 4.852 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009417/0.6733, allocations: 0.5837 MB / 0.5728 GB, free: 4.258 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000693/0.674, allocations: 193.6 kB / 0.573 GB, free: 4.09 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.205e-05/0.674, allocations: 0 / 0.573 GB, free: 4.09 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004086/0.6745, allocations: 161.2 kB / 0.5731 GB, free: 3.938 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 2.054e-06/0.6745, allocations: 0 / 0.5731 GB, free: 3.938 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.0009205/0.6754, allocations: 289.6 kB / 0.5734 GB, free: 3.688 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.919e-05/0.6755, allocations: 63.48 kB / 0.5735 GB, free: 3.617 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002099/0.6757, allocations: 200 kB / 0.5736 GB, free: 3.445 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.719e-05/0.6757, allocations: 29.7 kB / 0.5737 GB, free: 3.41 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.482e-05/0.6758, allocations: 133.2 kB / 0.5738 GB, free: 3.297 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.693e-05/0.6759, allocations: 38.77 kB / 0.5738 GB, free: 3.266 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.042e-05/0.6759, allocations: 4 kB / 0.5738 GB, free: 3.262 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.676, allocations: 329.8 kB / 0.5742 GB, free: 2.941 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002877/0.6763, allocations: 81.19 kB / 0.5742 GB, free: 2.875 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002706/0.6766, allocations: 120.2 kB / 0.5743 GB, free: 2.758 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002984/0.6769, allocations: 115.3 kB / 0.5745 GB, free: 2.656 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.6769, allocations: 0 / 0.5745 GB, free: 2.656 MB / 378.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006948/0.6776, allocations: 276.4 kB / 0.5747 GB, free: 2.41 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.683e-05/0.6777, allocations: 42.77 kB / 0.5748 GB, free: 2.363 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.6777, allocations: 4 kB / 0.5748 GB, free: 2.359 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.6777, allocations: 4 kB / 0.5748 GB, free: 2.355 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001966/0.6779, allocations: 45.14 kB / 0.5748 GB, free: 2.312 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.6779, allocations: 4 kB / 0.5748 GB, free: 2.309 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001986/0.6781, allocations: 34.81 kB / 0.5749 GB, free: 2.277 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.94e-05/0.6782, allocations: 5.188 kB / 0.5749 GB, free: 2.273 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$PRE.t_new.nextTimeEvent,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001482/0.6783, allocations: 139.6 kB / 0.575 GB, free: 2.137 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.198e-05/0.6784, allocations: 23.73 kB / 0.575 GB, free: 2.113 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006442/0.679, allocations: 239.2 kB / 0.5752 GB, free: 1.906 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.679, allocations: 4 kB / 0.5752 GB, free: 1.902 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.679, allocations: 0 / 0.5752 GB, free: 1.902 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.6791, allocations: 7.922 kB / 0.5753 GB, free: 1.895 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000237/0.6793, allocations: 241.5 kB / 0.5755 GB, free: 1.633 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.6793, allocations: 0 / 0.5755 GB, free: 1.633 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001826/0.6795, allocations: 38.72 kB / 0.5755 GB, free: 1.598 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.6795, allocations: 0 / 0.5755 GB, free: 1.598 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.165e-05/0.6795, allocations: 4 kB / 0.5755 GB, free: 1.594 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.6796, allocations: 7.891 kB / 0.5755 GB, free: 1.586 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.6796, allocations: 0 / 0.5755 GB, free: 1.586 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009159/0.6805, allocations: 345.1 kB / 0.5759 GB, free: 1.285 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.344e-05/0.6806, allocations: 100.4 kB / 0.576 GB, free: 1.172 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.034e-05/0.6806, allocations: 7.75 kB / 0.576 GB, free: 1.168 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000182/0.6808, allocations: 28.03 kB / 0.576 GB, free: 1.141 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.591e-05/0.6809, allocations: 27.17 kB / 0.576 GB, free: 1.117 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.626e-05/0.6809, allocations: 4 kB / 0.576 GB, free: 1.113 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001696/0.6811, allocations: 167.5 kB / 0.5762 GB, free: 0.9766 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6811, allocations: 0 / 0.5762 GB, free: 0.9766 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002913/0.6814, allocations: 51.3 kB / 0.5762 GB, free: 0.9297 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002157/0.6836, allocations: 1.201 MB / 0.5774 GB, free: 15.82 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006784/0.6843, allocations: 255.2 kB / 0.5776 GB, free: 15.59 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.6843, allocations: 0 / 0.5776 GB, free: 15.59 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002803/0.6846, allocations: 84.62 kB / 0.5777 GB, free: 15.52 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003098/0.6849, allocations: 50.05 kB / 0.5778 GB, free: 15.48 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002463/0.6874, allocations: 1.778 MB / 0.5795 GB, free: 13.78 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003064/0.6877, allocations: 0.7316 MB / 0.5802 GB, free: 13.02 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001034/0.6878, allocations: 25.52 kB / 0.5802 GB, free: 13 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.893e-05/0.6879, allocations: 57.42 kB / 0.5803 GB, free: 12.97 MB / 394.7 MB Notification: Performance of SimCode: time 2.21e-07/0.6879, allocations: 0 / 0.5803 GB, free: 12.97 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01959/0.7075, allocations: 4.368 MB / 0.5846 GB, free: 8.625 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000231/0.7078, allocations: 221.7 kB / 0.5848 GB, free: 8.375 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.036/2.744, allocations: 0 / 0.5848 GB, free: 8.375 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test14_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test14.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat does not exist to compare? outputFormat=mat