Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.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.Test34,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test34,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test34",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.001086/0.001086, allocations: 181.5 kB / 15.76 MB, free: 6.363 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.814/1.814, 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.001029/0.001029, allocations: 82.89 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.2328/0.2328, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003628/0.0003623, allocations: 20 kB / 431.5 MB, free: 19.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1364, allocations: 58.86 MB / 490.4 MB, free: 8.562 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.402/0.5385, allocations: 87.72 MB / 0.5645 GB, free: 11.95 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002458/0.5388, allocations: 72.91 kB / 0.5646 GB, free: 11.91 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01404/0.5528, allocations: 5.386 MB / 0.5699 GB, free: 7.379 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.5528, allocations: 0 / 0.5699 GB, free: 7.379 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.359e-05/0.5529, allocations: 4 kB / 0.5699 GB, free: 7.375 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005351/0.5534, allocations: 417.9 kB / 0.5703 GB, free: 6.93 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.5535, allocations: 8.031 kB / 0.5703 GB, free: 6.922 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.815e-05/0.5535, allocations: 34.55 kB / 0.5703 GB, free: 6.879 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.751e-05/0.5536, allocations: 15.84 kB / 0.5703 GB, free: 6.863 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003015/0.5539, allocations: 213.9 kB / 0.5705 GB, free: 6.621 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.5539, allocations: 11.25 kB / 0.5705 GB, free: 6.613 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.931e-05/0.5539, allocations: 0 / 0.5705 GB, free: 6.613 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001373/0.5541, allocations: 52.67 kB / 0.5706 GB, free: 6.562 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.5541, allocations: 0 / 0.5706 GB, free: 6.562 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.5541, allocations: 4 kB / 0.5706 GB, free: 6.559 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.5541, allocations: 0 / 0.5706 GB, free: 6.559 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.937e-05/0.5542, allocations: 30.91 kB / 0.5706 GB, free: 6.535 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003785/0.5546, allocations: 304.6 kB / 0.5709 GB, free: 6.207 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001574/0.5548, allocations: 57.05 kB / 0.571 GB, free: 6.152 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.535e-05/0.5548, allocations: 0 / 0.571 GB, free: 6.152 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001542/0.555, allocations: 73.83 kB / 0.571 GB, free: 6.078 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.555, allocations: 0 / 0.571 GB, free: 6.078 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005697/0.5555, allocations: 180.6 kB / 0.5712 GB, free: 5.926 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.696e-05/0.5556, allocations: 56.03 kB / 0.5713 GB, free: 5.859 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00017/0.5558, allocations: 172.8 kB / 0.5714 GB, free: 5.707 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.5558, allocations: 33.14 kB / 0.5714 GB, free: 5.672 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.868e-05/0.5559, allocations: 95.33 kB / 0.5715 GB, free: 5.586 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.033e-05/0.5559, allocations: 27.33 kB / 0.5716 GB, free: 5.562 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-06/0.5559, allocations: 0 / 0.5716 GB, free: 5.562 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.556, allocations: 326 kB / 0.5719 GB, free: 5.242 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.807e-05/0.5561, allocations: 26.36 kB / 0.5719 GB, free: 5.223 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.814e-05/0.5562, allocations: 31.77 kB / 0.5719 GB, free: 5.191 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.912e-05/0.5562, allocations: 21.94 kB / 0.572 GB, free: 5.18 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.5562, allocations: 0 / 0.572 GB, free: 5.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001786/0.5564, allocations: 110.3 kB / 0.5721 GB, free: 5.086 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.5564, allocations: 4 kB / 0.5721 GB, free: 5.082 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.5564, allocations: 0 / 0.5721 GB, free: 5.082 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.5565, allocations: 8.031 kB / 0.5721 GB, free: 5.074 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.835e-05/0.5566, allocations: 15.98 kB / 0.5721 GB, free: 5.059 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.5566, allocations: 3.953 kB / 0.5721 GB, free: 5.055 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.7e-05/0.5566, allocations: 4 kB / 0.5721 GB, free: 5.051 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.5566, allocations: 0 / 0.5721 GB, free: 5.051 MB / 378.7 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 () * Number of clocked 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.0001012/0.5567, allocations: 137.2 kB / 0.5722 GB, free: 4.914 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.083e-05/0.5568, allocations: 7.906 kB / 0.5722 GB, free: 4.906 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002517/0.557, allocations: 132.4 kB / 0.5724 GB, free: 4.789 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.557, allocations: 0 / 0.5724 GB, free: 4.789 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.5571, allocations: 0 / 0.5724 GB, free: 4.789 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.5571, allocations: 3.953 kB / 0.5724 GB, free: 4.785 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004435/0.5575, allocations: 410.5 kB / 0.5728 GB, free: 4.367 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.5575, allocations: 4 kB / 0.5728 GB, free: 4.363 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.199e-05/0.5576, allocations: 11.98 kB / 0.5728 GB, free: 4.352 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.5576, allocations: 0 / 0.5728 GB, free: 4.352 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.5576, allocations: 7.938 kB / 0.5728 GB, free: 4.344 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.5576, allocations: 7.984 kB / 0.5728 GB, free: 4.336 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.5576, allocations: 0 / 0.5728 GB, free: 4.336 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002426/0.5579, allocations: 214.3 kB / 0.573 GB, free: 4.121 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.882e-05/0.5579, allocations: 91.62 kB / 0.5731 GB, free: 4.016 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.803e-05/0.558, allocations: 10.14 kB / 0.5731 GB, free: 4.008 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.323e-05/0.5581, allocations: 8 kB / 0.5731 GB, free: 4 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.52e-05/0.5581, allocations: 9.297 kB / 0.5731 GB, free: 3.992 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/0.5581, allocations: 5.312 kB / 0.5731 GB, free: 3.988 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001284/0.5583, allocations: 146 kB / 0.5732 GB, free: 3.863 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5583, allocations: 0 / 0.5732 GB, free: 3.863 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002699/0.5585, allocations: 37.72 kB / 0.5733 GB, free: 3.832 MB / 378.7 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) * Number of clocked states: 0 () * 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.001437/0.56, allocations: 1.2 MB / 0.5745 GB, free: 2.691 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002053/0.5602, allocations: 72.58 kB / 0.5745 GB, free: 2.637 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.5602, allocations: 0 / 0.5745 GB, free: 2.637 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.699e-05/0.5603, allocations: 30.55 kB / 0.5745 GB, free: 2.613 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002428/0.5605, allocations: 19.36 kB / 0.5746 GB, free: 2.598 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001166/0.5617, allocations: 0.8721 MB / 0.5754 GB, free: 1.734 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002459/0.562, allocations: 0.7068 MB / 0.5761 GB, free: 1.004 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.111e-05/0.5621, allocations: 20.84 kB / 0.5761 GB, free: 0.9844 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.403e-05/0.5621, allocations: 35.66 kB / 0.5762 GB, free: 0.9648 MB / 378.7 MB Notification: Performance of SimCode: time 5.61e-07/0.5621, allocations: 3.938 kB / 0.5762 GB, free: 0.9609 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01351/0.5757, allocations: 3.003 MB / 0.5791 GB, free: 13.98 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000201/0.5759, allocations: 213.8 kB / 0.5793 GB, free: 13.74 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.551/2.127, allocations: 0 / 0.5793 GB, free: 13.74 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test34_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test34.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat does not exist to compare? outputFormat=mat