Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001043/0.001042, allocations: 176.5 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 223.2 MB / 241 MB, free: 11.9 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008462/0.0008462, allocations: 91.98 kB / 292.1 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3483/0.3483, allocations: 44.22 MB / 387.5 MB, free: 38.8 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000328/0.0003281, allocations: 16 kB / 460 MB, free: 1.438 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3836/0.384, allocations: 61.9 MB / 0.5096 GB, free: 37.92 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1297/0.5137, allocations: 91.01 MB / 0.5985 GB, free: 4.105 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002806/0.5141, allocations: 87.91 kB / 0.5986 GB, free: 4.027 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01475/0.5289, allocations: 5.013 MB / 0.6035 GB, free: 15.01 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.366e-06/0.5289, allocations: 0 / 0.6035 GB, free: 15.01 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.729e-05/0.529, allocations: 4 kB / 0.6035 GB, free: 15.01 MB / 426.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.001085/0.53, allocations: 0.5639 MB / 0.6041 GB, free: 14.39 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.527e-05/0.5301, allocations: 8.031 kB / 0.6041 GB, free: 14.38 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.343e-05/0.5302, allocations: 38.56 kB / 0.6041 GB, free: 14.33 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.177e-05/0.5303, allocations: 23.7 kB / 0.6041 GB, free: 14.31 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004271/0.5307, allocations: 247.7 kB / 0.6044 GB, free: 14.02 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.5307, allocations: 7.953 kB / 0.6044 GB, free: 14.02 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.07e-05/0.5308, allocations: 8 kB / 0.6044 GB, free: 14.01 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004329/0.5312, allocations: 169.6 kB / 0.6045 GB, free: 13.83 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.5312, allocations: 0 / 0.6045 GB, free: 13.83 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.99e-05/0.5313, allocations: 4 kB / 0.6045 GB, free: 13.82 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.5313, allocations: 3.984 kB / 0.6045 GB, free: 13.82 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004502/0.5317, allocations: 139.9 kB / 0.6047 GB, free: 13.68 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009388/0.5327, allocations: 0.5907 MB / 0.6053 GB, free: 13.04 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006414/0.5333, allocations: 190.5 kB / 0.6054 GB, free: 12.84 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.49e-05/0.5334, allocations: 0 / 0.6054 GB, free: 12.84 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003879/0.5338, allocations: 147.3 kB / 0.6056 GB, free: 12.68 MB / 426.7 MB Notification: Performance of pre-optimization done (n=12): time 1.593e-06/0.5338, allocations: 3.938 kB / 0.6056 GB, free: 12.68 MB / 426.7 MB Notification: Performance of matching and sorting (n=12): time 0.0008735/0.5347, allocations: 305.3 kB / 0.6059 GB, free: 12.38 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.684e-05/0.5347, allocations: 51.41 kB / 0.6059 GB, free: 12.31 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002211/0.5349, allocations: 206.3 kB / 0.6061 GB, free: 12.11 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.144e-05/0.535, allocations: 29.7 kB / 0.6061 GB, free: 12.07 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.764e-05/0.5351, allocations: 128.4 kB / 0.6063 GB, free: 11.94 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.932e-05/0.5351, allocations: 39.47 kB / 0.6063 GB, free: 11.9 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.045e-05/0.5351, allocations: 4 kB / 0.6063 GB, free: 11.89 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.5353, allocations: 334.8 kB / 0.6066 GB, free: 11.56 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002558/0.5356, allocations: 79.94 kB / 0.6067 GB, free: 11.48 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002769/0.5359, allocations: 121.6 kB / 0.6068 GB, free: 11.35 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002844/0.5362, allocations: 113.6 kB / 0.6069 GB, free: 11.23 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.5362, allocations: 0 / 0.6069 GB, free: 11.23 MB / 426.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006648/0.5368, allocations: 286.9 kB / 0.6072 GB, free: 10.94 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.123e-05/0.5369, allocations: 29.7 kB / 0.6072 GB, free: 10.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.5369, allocations: 8.125 kB / 0.6072 GB, free: 10.89 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.5369, allocations: 0 / 0.6072 GB, free: 10.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001892/0.5371, allocations: 43.91 kB / 0.6073 GB, free: 10.85 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.5371, allocations: 0 / 0.6073 GB, free: 10.85 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001899/0.5373, allocations: 39.83 kB / 0.6073 GB, free: 10.81 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.671e-05/0.5374, allocations: 12 kB / 0.6073 GB, free: 10.8 MB / 426.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.0001367/0.5375, allocations: 140.5 kB / 0.6075 GB, free: 10.66 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.987e-05/0.5375, allocations: 15.81 kB / 0.6075 GB, free: 10.64 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006377/0.5382, allocations: 235.8 kB / 0.6077 GB, free: 10.4 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.5382, allocations: 0 / 0.6077 GB, free: 10.4 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.5382, allocations: 4 kB / 0.6077 GB, free: 10.4 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.5382, allocations: 0 / 0.6077 GB, free: 10.4 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00023/0.5385, allocations: 241.5 kB / 0.6079 GB, free: 10.11 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.5385, allocations: 4 kB / 0.6079 GB, free: 10.11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001733/0.5386, allocations: 31.97 kB / 0.608 GB, free: 10.08 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.5387, allocations: 0 / 0.608 GB, free: 10.08 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.505e-05/0.5387, allocations: 0 / 0.608 GB, free: 10.08 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.5387, allocations: 3.938 kB / 0.608 GB, free: 10.07 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.5387, allocations: 0 / 0.608 GB, free: 10.07 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008642/0.5396, allocations: 361.8 kB / 0.6083 GB, free: 9.703 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.733e-05/0.5397, allocations: 96.95 kB / 0.6084 GB, free: 9.59 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.234e-05/0.5397, allocations: 0 / 0.6084 GB, free: 9.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001806/0.5399, allocations: 40.02 kB / 0.6084 GB, free: 9.551 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.266e-05/0.54, allocations: 15.98 kB / 0.6085 GB, free: 9.535 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.745e-05/0.54, allocations: 7.984 kB / 0.6085 GB, free: 9.527 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001591/0.5402, allocations: 160.7 kB / 0.6086 GB, free: 9.371 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5402, allocations: 0 / 0.6086 GB, free: 9.371 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002747/0.5405, allocations: 51.88 kB / 0.6087 GB, free: 9.32 MB / 426.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.002039/0.5425, allocations: 1.216 MB / 0.6099 GB, free: 8.242 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006009/0.5431, allocations: 235.3 kB / 0.6101 GB, free: 8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.5431, allocations: 0 / 0.6101 GB, free: 8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002723/0.5434, allocations: 104 kB / 0.6102 GB, free: 7.898 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002887/0.5437, allocations: 38.19 kB / 0.6102 GB, free: 7.863 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002284/0.546, allocations: 1.795 MB / 0.612 GB, free: 5.992 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002519/0.5463, allocations: 0.7283 MB / 0.6127 GB, free: 5.238 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.672e-05/0.5464, allocations: 25.53 kB / 0.6127 GB, free: 5.215 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000108/0.5465, allocations: 55.42 kB / 0.6128 GB, free: 5.16 MB / 426.7 MB Notification: Performance of SimCode: time 9.92e-07/0.5465, allocations: 0 / 0.6128 GB, free: 5.16 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01609/0.5626, allocations: 4.366 MB / 0.617 GB, free: 0.9336 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001819/0.5628, allocations: 217.5 kB / 0.6172 GB, free: 0.6953 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.717/2.28, allocations: 0 / 0.6172 GB, free: 0.6953 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test14_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test14.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat does not exist to compare? outputFormat=mat