Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test37,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test37",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.001365/0.001365, allocations: 169 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.501/1.501, allocations: 221.5 MB / 230.7 MB, free: 7.574 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009005/0.0009006, allocations: 99.53 kB / 281.6 MB, free: 5.312 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.1798/0.1798, allocations: 44.14 MB / 376.5 MB, free: 3.047 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.715e-05/2.719e-05, allocations: 12.16 kB / 444.7 MB, free: 15.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1439, allocations: 61.92 MB / 0.4948 GB, free: 1.145 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3928/0.5367, allocations: 88.37 MB / 0.5811 GB, free: 7.98 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002391/0.5371, allocations: 82.42 kB / 0.5811 GB, free: 7.902 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01455/0.5516, allocations: 5.373 MB / 0.5864 GB, free: 2.539 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.5517, allocations: 4 kB / 0.5864 GB, free: 2.535 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.214e-05/0.5517, allocations: 0 / 0.5864 GB, free: 2.535 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005041/0.5522, allocations: 385.2 kB / 0.5868 GB, free: 2.117 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.4e-05/0.5523, allocations: 19.98 kB / 0.5868 GB, free: 2.098 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.751e-05/0.5523, allocations: 7.906 kB / 0.5868 GB, free: 2.09 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003331/0.5527, allocations: 218.7 kB / 0.587 GB, free: 1.836 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.5527, allocations: 0 / 0.587 GB, free: 1.836 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.862e-05/0.5527, allocations: 3.953 kB / 0.587 GB, free: 1.832 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.829e-05/0.5528, allocations: 19.92 kB / 0.587 GB, free: 1.812 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.189e-05/0.5529, allocations: 45.69 kB / 0.5871 GB, free: 1.762 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.5529, allocations: 0 / 0.5871 GB, free: 1.762 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.5529, allocations: 0 / 0.5871 GB, free: 1.762 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.553, allocations: 0 / 0.5871 GB, free: 1.762 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000207/0.5532, allocations: 162.2 kB / 0.5872 GB, free: 1.566 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001039/0.5533, allocations: 50.56 kB / 0.5873 GB, free: 1.508 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.553e-05/0.5533, allocations: 16.86 kB / 0.5873 GB, free: 1.488 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/0.5534, allocations: 0 / 0.5873 GB, free: 1.488 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001367/0.5535, allocations: 75.38 kB / 0.5874 GB, free: 1.402 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.5535, allocations: 0 / 0.5874 GB, free: 1.402 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002331/0.5538, allocations: 77.58 kB / 0.5874 GB, free: 1.32 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.447e-05/0.5538, allocations: 51.41 kB / 0.5875 GB, free: 1.258 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001653/0.554, allocations: 157.4 kB / 0.5876 GB, free: 1.098 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.554, allocations: 29.7 kB / 0.5877 GB, free: 1.062 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.279e-05/0.5541, allocations: 100.1 kB / 0.5878 GB, free: 0.9609 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.49e-05/0.5541, allocations: 15.75 kB / 0.5878 GB, free: 0.9453 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.419e-06/0.5541, allocations: 3.938 kB / 0.5878 GB, free: 0.9414 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.5542, allocations: 326.8 kB / 0.5881 GB, free: 0.6133 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.59e-05/0.5543, allocations: 12 kB / 0.5881 GB, free: 0.6016 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.15e-05/0.5543, allocations: 25.72 kB / 0.5881 GB, free: 0.5703 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.939e-05/0.5544, allocations: 15.98 kB / 0.5881 GB, free: 0.5547 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.5544, allocations: 0 / 0.5881 GB, free: 0.5547 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001218/0.5545, allocations: 73.66 kB / 0.5882 GB, free: 488 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.5545, allocations: 4 kB / 0.5882 GB, free: 484 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.5545, allocations: 32 / 0.5882 GB, free: 484 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.5546, allocations: 11.95 kB / 0.5882 GB, free: 472 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.911e-05/0.5546, allocations: 15.92 kB / 0.5882 GB, free: 456 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.5547, allocations: 0 / 0.5882 GB, free: 456 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.556e-05/0.5547, allocations: 4 kB / 0.5882 GB, free: 452 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.5547, allocations: 0 / 0.5882 GB, free: 452 kB / 394.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 8.779e-05/0.5548, allocations: 109 kB / 0.5883 GB, free: 336 kB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001125/0.5549, allocations: 77.64 kB / 0.5884 GB, free: 252 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.966e-05/0.555, allocations: 19.84 kB / 0.5884 GB, free: 232 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001444/0.5551, allocations: 94 kB / 0.5885 GB, free: 132 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.5551, allocations: 4 kB / 0.5885 GB, free: 128 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.5551, allocations: 0 / 0.5885 GB, free: 128 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.5551, allocations: 0 / 0.5885 GB, free: 128 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001365/0.5553, allocations: 170.2 kB / 0.5887 GB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.5553, allocations: 0 / 0.5887 GB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.746e-05/0.5553, allocations: 4 kB / 0.5887 GB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.5553, allocations: 0 / 0.5887 GB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.315e-06/0.5553, allocations: 3.938 kB / 0.5887 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.5554, allocations: 7.953 kB / 0.5887 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.5554, allocations: 0 / 0.5887 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001385/0.5555, allocations: 117 kB / 0.5888 GB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.774e-05/0.5556, allocations: 96.94 kB / 0.5889 GB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.52e-05/0.5556, allocations: 8 kB / 0.5889 GB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.158e-05/0.5557, allocations: 0 / 0.5889 GB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.889e-05/0.5557, allocations: 11.94 kB / 0.5889 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.822e-06/0.5557, allocations: 0 / 0.5889 GB, free: 15.64 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001022/0.5558, allocations: 137 kB / 0.5891 GB, free: 15.51 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5558, allocations: 4 kB / 0.5891 GB, free: 15.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000215/0.5561, allocations: 23.98 kB / 0.5891 GB, free: 15.48 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001061/0.5571, allocations: 0.8703 MB / 0.5899 GB, free: 14.66 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001187/0.5572, allocations: 43.98 kB / 0.59 GB, free: 14.61 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.5573, allocations: 0 / 0.59 GB, free: 14.61 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.163e-05/0.5573, allocations: 19.94 kB / 0.59 GB, free: 14.59 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002334/0.5575, allocations: 27.92 kB / 0.59 GB, free: 14.57 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004814/0.558, allocations: 189.6 kB / 0.5902 GB, free: 14.34 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002315/0.5583, allocations: 0.7119 MB / 0.5909 GB, free: 13.61 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.02e-05/0.5583, allocations: 20.41 kB / 0.5909 GB, free: 13.59 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.525e-05/0.5584, allocations: 23.44 kB / 0.5909 GB, free: 13.56 MB / 410.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5584, allocations: 0 / 0.5909 GB, free: 13.56 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02469/0.5831, allocations: 2.363 MB / 0.5933 GB, free: 11.21 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002915/0.5835, allocations: 160.8 kB / 0.5934 GB, free: 11.02 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.574/2.157, allocations: 0 / 0.5934 GB, free: 11.02 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test37_fmu --startTime=0 --stopTime=3.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test37.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat does not exist to compare? outputFormat=mat