Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test43.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.Test43,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test43",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test43,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test43",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.002252/0.002257, allocations: 178.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.144/2.144, 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.001207/0.001207, allocations: 88.7 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.3679/0.3679, allocations: 43.48 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 3.412e-05/3.414e-05, allocations: 8.219 kB / 418.3 MB, free: 40.93 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3922/0.3923, allocations: 58.86 MB / 477.2 MB, free: 5.164 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1615/0.5538, allocations: 86.97 MB / 0.5509 GB, free: 12.23 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003001/0.5542, allocations: 75.95 kB / 0.551 GB, free: 12.16 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02482/0.579, allocations: 5.393 MB / 0.5563 GB, free: 6.77 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.5791, allocations: 0 / 0.5563 GB, free: 6.77 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.724e-05/0.5791, allocations: 11.94 kB / 0.5563 GB, free: 6.758 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.000658/0.5798, allocations: 406.8 kB / 0.5567 GB, free: 6.316 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/0.5798, allocations: 8.031 kB / 0.5567 GB, free: 6.309 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.844e-05/0.5799, allocations: 11.91 kB / 0.5567 GB, free: 6.297 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004309/0.5804, allocations: 219.4 kB / 0.5569 GB, free: 6.039 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.5804, allocations: 0 / 0.5569 GB, free: 6.039 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.508e-05/0.5804, allocations: 4 kB / 0.5569 GB, free: 6.035 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001032/0.5806, allocations: 15.98 kB / 0.5569 GB, free: 6.02 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000123/0.5807, allocations: 57.61 kB / 0.557 GB, free: 5.957 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.5807, allocations: 0 / 0.557 GB, free: 5.957 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.5807, allocations: 0 / 0.557 GB, free: 5.957 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.5808, allocations: 8 kB / 0.557 GB, free: 5.949 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005392/0.5813, allocations: 273.4 kB / 0.5572 GB, free: 5.645 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001561/0.5815, allocations: 46.69 kB / 0.5573 GB, free: 5.59 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.147e-05/0.5816, allocations: 16.98 kB / 0.5573 GB, free: 5.57 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.006e-05/0.5816, allocations: 0 / 0.5573 GB, free: 5.57 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001934/0.5818, allocations: 79.33 kB / 0.5574 GB, free: 5.48 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 2.184e-06/0.5818, allocations: 0 / 0.5574 GB, free: 5.48 MB / 395.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006649/0.5825, allocations: 141.3 kB / 0.5575 GB, free: 5.336 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/0.5826, allocations: 55.41 kB / 0.5576 GB, free: 5.27 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002863/0.5829, allocations: 190.3 kB / 0.5577 GB, free: 5.07 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.336e-05/0.5829, allocations: 25.7 kB / 0.5578 GB, free: 5.039 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.179e-05/0.583, allocations: 162.6 kB / 0.5579 GB, free: 4.879 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.782e-05/0.5831, allocations: 23.66 kB / 0.558 GB, free: 4.855 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.442e-06/0.5831, allocations: 4 kB / 0.558 GB, free: 4.852 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.5832, allocations: 318.8 kB / 0.5583 GB, free: 4.531 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.592e-05/0.5833, allocations: 19.94 kB / 0.5583 GB, free: 4.512 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.539e-05/0.5834, allocations: 29.72 kB / 0.5583 GB, free: 4.477 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.965e-05/0.5835, allocations: 27.97 kB / 0.5583 GB, free: 4.449 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.5835, allocations: 0 / 0.5583 GB, free: 4.449 MB / 395.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002371/0.5838, allocations: 77.69 kB / 0.5584 GB, free: 4.367 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.5838, allocations: 8.031 kB / 0.5584 GB, free: 4.359 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.5838, allocations: 0 / 0.5584 GB, free: 4.359 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.122e-05/0.5839, allocations: 7.938 kB / 0.5584 GB, free: 4.352 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001713/0.5841, allocations: 15.98 kB / 0.5584 GB, free: 4.336 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.5841, allocations: 0 / 0.5584 GB, free: 4.336 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001005/0.5842, allocations: 4 kB / 0.5584 GB, free: 4.332 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.593e-05/0.5842, allocations: 7.953 kB / 0.5584 GB, free: 4.324 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.5843, allocations: 109 kB / 0.5586 GB, free: 4.211 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002349/0.5846, allocations: 93.44 kB / 0.5586 GB, free: 4.113 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.085e-05/0.5846, allocations: 15.91 kB / 0.5587 GB, free: 4.098 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003312/0.585, allocations: 111.6 kB / 0.5588 GB, free: 3.984 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.585, allocations: 3.938 kB / 0.5588 GB, free: 3.98 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.585, allocations: 3.953 kB / 0.5588 GB, free: 3.977 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.585, allocations: 0 / 0.5588 GB, free: 3.977 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006601/0.5857, allocations: 379.8 kB / 0.5591 GB, free: 3.559 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.5857, allocations: 0 / 0.5591 GB, free: 3.559 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.769e-05/0.5858, allocations: 19.95 kB / 0.5592 GB, free: 3.539 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/0.5858, allocations: 0 / 0.5592 GB, free: 3.539 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.67e-05/0.5859, allocations: 4 kB / 0.5592 GB, free: 3.535 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.079e-06/0.5859, allocations: 3.953 kB / 0.5592 GB, free: 3.531 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.5859, allocations: 0 / 0.5592 GB, free: 3.531 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000312/0.5862, allocations: 210 kB / 0.5594 GB, free: 3.301 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.4e-05/0.5863, allocations: 100.9 kB / 0.5595 GB, free: 3.184 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.132e-05/0.5864, allocations: 7.953 kB / 0.5595 GB, free: 3.176 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/0.5865, allocations: 4 kB / 0.5595 GB, free: 3.172 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.807e-05/0.5866, allocations: 11.92 kB / 0.5595 GB, free: 3.16 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.625e-05/0.5866, allocations: 4.188 kB / 0.5595 GB, free: 3.156 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0002002/0.5868, allocations: 140.9 kB / 0.5596 GB, free: 3.02 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.5868, allocations: 0 / 0.5596 GB, free: 3.02 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0004019/0.5873, allocations: 31.94 kB / 0.5596 GB, free: 2.988 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.001779/0.589, allocations: 1.112 MB / 0.5607 GB, free: 1.891 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002359/0.5893, allocations: 51.92 kB / 0.5608 GB, free: 1.84 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.5894, allocations: 0 / 0.5608 GB, free: 1.84 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 8.838e-05/0.5894, allocations: 31.94 kB / 0.5608 GB, free: 1.809 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000433/0.5899, allocations: 31.95 kB / 0.5608 GB, free: 1.777 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008334/0.5907, allocations: 245 kB / 0.5611 GB, free: 1.496 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003609/0.5911, allocations: 0.708 MB / 0.5618 GB, free: 0.7617 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.5913, allocations: 43.41 kB / 0.5618 GB, free: 0.7188 MB / 395.1 MB Notification: Performance of SimCode: time 1.152e-06/0.5913, allocations: 4 kB / 0.5618 GB, free: 0.7148 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.795/3.386, allocations: 2.515 MB / 0.5643 GB, free: 14.21 MB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test43.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test43_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test43.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat does not exist to compare? outputFormat=mat