Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.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.Test83,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test83,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test83",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.001414/0.001414, allocations: 177.8 kB / 8.36 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.22/2.22, 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.001157/0.001157, allocations: 95.14 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.3402/0.3402, allocations: 43.48 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.86e-05/2.861e-05, allocations: 8.219 kB / 418.3 MB, free: 40.93 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4031/0.4032, allocations: 58.85 MB / 477.2 MB, free: 5.285 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1654/0.5687, allocations: 87.76 MB / 0.5517 GB, free: 11.54 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002753/0.569, allocations: 71.97 kB / 0.5518 GB, free: 11.46 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.04075/0.6098, allocations: 6.873 MB / 0.5585 GB, free: 4.594 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.6098, allocations: 0 / 0.5585 GB, free: 4.594 MB / 395.1 MB Notification: Performance of Transformations before backend: time 3.188e-05/0.6099, allocations: 4 kB / 0.5585 GB, free: 4.59 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0008618/0.6108, allocations: 0.5001 MB / 0.559 GB, free: 4.039 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/0.6108, allocations: 8.031 kB / 0.559 GB, free: 4.031 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.904e-05/0.6109, allocations: 23.72 kB / 0.559 GB, free: 4.008 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007094/0.6117, allocations: 282.5 kB / 0.5593 GB, free: 3.688 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.6117, allocations: 4 kB / 0.5593 GB, free: 3.684 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.895e-05/0.6117, allocations: 8 kB / 0.5593 GB, free: 3.676 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001554/0.6119, allocations: 35.98 kB / 0.5593 GB, free: 3.641 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002408/0.6122, allocations: 100.2 kB / 0.5594 GB, free: 3.527 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.6122, allocations: 3.938 kB / 0.5594 GB, free: 3.523 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.631e-05/0.6123, allocations: 0 / 0.5594 GB, free: 3.523 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.123e-05/0.6123, allocations: 4 kB / 0.5594 GB, free: 3.52 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000786/0.6131, allocations: 362.1 kB / 0.5598 GB, free: 3.125 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002709/0.6134, allocations: 113.4 kB / 0.5599 GB, free: 2.996 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/0.6135, allocations: 37.72 kB / 0.5599 GB, free: 2.953 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.891e-05/0.6135, allocations: 0 / 0.5599 GB, free: 2.953 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000262/0.6138, allocations: 121 kB / 0.56 GB, free: 2.816 MB / 395.1 MB Notification: Performance of pre-optimization done (n=11): time 2.024e-06/0.6138, allocations: 0 / 0.56 GB, free: 2.816 MB / 395.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004758/0.6143, allocations: 141.4 kB / 0.5602 GB, free: 2.672 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.219e-05/0.6144, allocations: 106.8 kB / 0.5603 GB, free: 2.543 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005389/0.6149, allocations: 290.3 kB / 0.5605 GB, free: 2.254 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 3.051e-05/0.615, allocations: 25.7 kB / 0.5606 GB, free: 2.223 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001351/0.6151, allocations: 182.6 kB / 0.5607 GB, free: 2.043 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.348e-05/0.6152, allocations: 39.55 kB / 0.5608 GB, free: 2.004 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.936e-06/0.6152, allocations: 7.938 kB / 0.5608 GB, free: 1.996 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.6154, allocations: 314.8 kB / 0.5611 GB, free: 1.68 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.773e-05/0.6155, allocations: 28 kB / 0.5611 GB, free: 1.652 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001393/0.6156, allocations: 69.14 kB / 0.5612 GB, free: 1.566 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001151/0.6158, allocations: 40 kB / 0.5612 GB, free: 1.527 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.6158, allocations: 4 kB / 0.5612 GB, free: 1.523 MB / 395.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003041/0.6161, allocations: 105.6 kB / 0.5613 GB, free: 1.414 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.6161, allocations: 4 kB / 0.5613 GB, free: 1.41 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.519e-05/0.6162, allocations: 4 kB / 0.5613 GB, free: 1.406 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.887e-05/0.6162, allocations: 0 / 0.5613 GB, free: 1.406 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002173/0.6164, allocations: 31.92 kB / 0.5614 GB, free: 1.375 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.6164, allocations: 3.984 kB / 0.5614 GB, free: 1.371 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001931/0.6166, allocations: 11.91 kB / 0.5614 GB, free: 1.359 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.898e-05/0.6167, allocations: 8.062 kB / 0.5614 GB, free: 1.352 MB / 395.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001301/0.6168, allocations: 112.9 kB / 0.5615 GB, free: 1.234 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005862/0.6174, allocations: 137.3 kB / 0.5616 GB, free: 1.094 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/0.6175, allocations: 27.7 kB / 0.5617 GB, free: 1.066 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006738/0.6182, allocations: 155.8 kB / 0.5618 GB, free: 0.9102 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/0.6183, allocations: 4 kB / 0.5618 GB, free: 0.9062 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-05/0.6183, allocations: 4 kB / 0.5618 GB, free: 0.9023 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.199e-05/0.6183, allocations: 3.984 kB / 0.5618 GB, free: 0.8984 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004617/0.6188, allocations: 242 kB / 0.562 GB, free: 0.625 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.6188, allocations: 0 / 0.562 GB, free: 0.625 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001495/0.619, allocations: 16 kB / 0.5621 GB, free: 0.6094 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.424e-06/0.619, allocations: 0 / 0.5621 GB, free: 0.6094 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.066e-05/0.6191, allocations: 7.984 kB / 0.5621 GB, free: 0.6016 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.6191, allocations: 3.938 kB / 0.5621 GB, free: 0.5977 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.792e-06/0.6191, allocations: 7.875 kB / 0.5621 GB, free: 0.5898 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006873/0.6198, allocations: 195.3 kB / 0.5623 GB, free: 380 kB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002104/0.6201, allocations: 108.8 kB / 0.5624 GB, free: 252 kB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.415e-05/0.6202, allocations: 0 / 0.5624 GB, free: 252 kB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002369/0.6204, allocations: 11.98 kB / 0.5624 GB, free: 240 kB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.524e-05/0.6205, allocations: 11.98 kB / 0.5624 GB, free: 228 kB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.747e-05/0.6206, allocations: 4 kB / 0.5624 GB, free: 224 kB / 395.1 MB Notification: Performance of sorting global known variables: time 0.000674/0.6213, allocations: 234 kB / 0.5626 GB, free: 15.99 MB / 411.1 MB Notification: Performance of sort global known variables: time 6.71e-07/0.6213, allocations: 0 / 0.5626 GB, free: 15.99 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0004849/0.6218, allocations: 59.78 kB / 0.5627 GB, free: 15.93 MB / 411.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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * 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.001783/0.6236, allocations: 1.043 MB / 0.5637 GB, free: 14.89 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0003506/0.624, allocations: 91.91 kB / 0.5638 GB, free: 14.8 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.624, allocations: 3.938 kB / 0.5638 GB, free: 14.8 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001381/0.6241, allocations: 43.94 kB / 0.5638 GB, free: 14.75 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005801/0.6247, allocations: 63.08 kB / 0.5639 GB, free: 14.7 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001181/0.6259, allocations: 394.3 kB / 0.5643 GB, free: 14.26 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004209/0.6264, allocations: 0.7516 MB / 0.565 GB, free: 13.48 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001833/0.6266, allocations: 71.34 kB / 0.5651 GB, free: 13.41 MB / 411.1 MB Notification: Performance of SimCode: time 8.32e-07/0.6266, allocations: 3.938 kB / 0.5651 GB, free: 13.41 MB / 411.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.893/3.52, allocations: 4.277 MB / 0.5692 GB, free: 9.137 MB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test83_fmu --startTime=1 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test83.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat does not exist to compare? outputFormat=mat