Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.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.Test60,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test60,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test60",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.0009448/0.0009448, allocations: 173 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.468/1.468, 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.0009795/0.0009794, allocations: 104.7 kB / 281.6 MB, free: 5.324 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.2114/0.2114, allocations: 44.15 MB / 376.5 MB, free: 3.055 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.215e-05/2.217e-05, allocations: 4.219 kB / 444.7 MB, free: 15.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1438, allocations: 61.91 MB / 0.4948 GB, free: 1.152 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4825/0.6264, allocations: 88.78 MB / 0.5815 GB, free: 7.594 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003126/0.6268, allocations: 75.95 kB / 0.5815 GB, free: 7.52 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02112/0.6479, allocations: 5.841 MB / 0.5872 GB, free: 1.695 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.648, allocations: 0 / 0.5872 GB, free: 1.695 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.94e-05/0.648, allocations: 8 kB / 0.5873 GB, free: 1.688 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005721/0.6486, allocations: 394.2 kB / 0.5876 GB, free: 1.258 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.991e-05/0.6487, allocations: 11.98 kB / 0.5876 GB, free: 1.246 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.146e-05/0.6487, allocations: 7.906 kB / 0.5876 GB, free: 1.238 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003807/0.6491, allocations: 213.3 kB / 0.5879 GB, free: 0.9922 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.629e-05/0.6492, allocations: 7.984 kB / 0.5879 GB, free: 0.9844 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.071e-05/0.6492, allocations: 0 / 0.5879 GB, free: 0.9844 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.414e-05/0.6493, allocations: 16 kB / 0.5879 GB, free: 0.9688 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/0.6495, allocations: 75.33 kB / 0.5879 GB, free: 0.8828 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.6495, allocations: 0 / 0.5879 GB, free: 0.8828 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.6495, allocations: 0 / 0.5879 GB, free: 0.8828 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.6495, allocations: 4 kB / 0.588 GB, free: 0.8789 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004352/0.65, allocations: 257.5 kB / 0.5882 GB, free: 0.5898 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.6501, allocations: 54.62 kB / 0.5882 GB, free: 0.5273 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.259e-05/0.6502, allocations: 20.98 kB / 0.5883 GB, free: 0.5039 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.305e-05/0.6502, allocations: 0 / 0.5883 GB, free: 0.5039 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001624/0.6504, allocations: 63.39 kB / 0.5883 GB, free: 440 kB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.6504, allocations: 0 / 0.5883 GB, free: 440 kB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005354/0.6509, allocations: 145.2 kB / 0.5885 GB, free: 288 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.094e-05/0.651, allocations: 81.09 kB / 0.5885 GB, free: 188 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001801/0.6512, allocations: 136.8 kB / 0.5887 GB, free: 44 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.484e-05/0.6513, allocations: 33.7 kB / 0.5887 GB, free: 4 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.834e-05/0.6514, allocations: 92.12 kB / 0.5888 GB, free: 15.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.268e-05/0.6514, allocations: 27.64 kB / 0.5888 GB, free: 15.88 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.252e-06/0.6514, allocations: 0 / 0.5888 GB, free: 15.88 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.6516, allocations: 326.8 kB / 0.5891 GB, free: 15.55 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.948e-05/0.6517, allocations: 20 kB / 0.5892 GB, free: 15.54 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.932e-05/0.6517, allocations: 42.5 kB / 0.5892 GB, free: 15.48 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.119e-05/0.6518, allocations: 24.03 kB / 0.5892 GB, free: 15.46 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.6518, allocations: 0 / 0.5892 GB, free: 15.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001977/0.652, allocations: 85.58 kB / 0.5893 GB, free: 15.37 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.6521, allocations: 5.406 kB / 0.5893 GB, free: 15.37 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.435e-06/0.6521, allocations: 4.188 kB / 0.5893 GB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.6521, allocations: 0 / 0.5893 GB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.6522, allocations: 19.88 kB / 0.5893 GB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.6522, allocations: 0 / 0.5893 GB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.042e-05/0.6523, allocations: 7.984 kB / 0.5893 GB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.249e-05/0.6524, allocations: 8.031 kB / 0.5893 GB, free: 15.33 MB / 410.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 (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.0001064/0.6525, allocations: 108.9 kB / 0.5894 GB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001871/0.6527, allocations: 89.58 kB / 0.5895 GB, free: 15.12 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.921e-05/0.6527, allocations: 11.91 kB / 0.5895 GB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002683/0.653, allocations: 110.1 kB / 0.5896 GB, free: 15 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/0.653, allocations: 4 kB / 0.5897 GB, free: 15 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.653, allocations: 0 / 0.5897 GB, free: 15 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.315e-06/0.653, allocations: 11.88 kB / 0.5897 GB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005149/0.6536, allocations: 367.9 kB / 0.59 GB, free: 14.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.6536, allocations: 0 / 0.59 GB, free: 14.58 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.891e-05/0.6536, allocations: 8 kB / 0.59 GB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.6537, allocations: 0 / 0.59 GB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.756e-05/0.6537, allocations: 8.172 kB / 0.59 GB, free: 14.56 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.6537, allocations: 11.89 kB / 0.59 GB, free: 14.55 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.6537, allocations: 0 / 0.59 GB, free: 14.55 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002555/0.654, allocations: 206.2 kB / 0.5902 GB, free: 14.32 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.289e-05/0.654, allocations: 92.95 kB / 0.5903 GB, free: 14.21 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.735e-05/0.6541, allocations: 11.94 kB / 0.5903 GB, free: 14.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.6542, allocations: 0 / 0.5903 GB, free: 14.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.391e-05/0.6543, allocations: 4 kB / 0.5903 GB, free: 14.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.6543, allocations: 7.984 kB / 0.5903 GB, free: 14.19 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001346/0.6544, allocations: 117.2 kB / 0.5905 GB, free: 14.08 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.6544, allocations: 4 kB / 0.5905 GB, free: 14.07 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004512/0.6549, allocations: 35.94 kB / 0.5905 GB, free: 14.04 MB / 410.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) * 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.001844/0.6568, allocations: 1.146 MB / 0.5916 GB, free: 12.95 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001734/0.657, allocations: 51.94 kB / 0.5917 GB, free: 12.89 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.657, allocations: 0 / 0.5917 GB, free: 12.89 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.709e-05/0.657, allocations: 35.92 kB / 0.5917 GB, free: 12.86 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003464/0.6574, allocations: 23.92 kB / 0.5917 GB, free: 12.84 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006715/0.6581, allocations: 191.5 kB / 0.5919 GB, free: 12.61 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003331/0.6584, allocations: 0.7079 MB / 0.5926 GB, free: 11.87 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.665e-05/0.6585, allocations: 20.84 kB / 0.5926 GB, free: 11.85 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.576e-05/0.6586, allocations: 39.36 kB / 0.5927 GB, free: 11.81 MB / 410.7 MB Notification: Performance of SimCode: time 3.9e-07/0.6586, allocations: 0 / 0.5927 GB, free: 11.81 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02281/0.6815, allocations: 2.743 MB / 0.5953 GB, free: 9.09 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001861/0.6817, allocations: 170.7 kB / 0.5955 GB, free: 8.895 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.669/2.351, allocations: 0 / 0.5955 GB, free: 8.895 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test60_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test60.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat does not exist to compare? outputFormat=mat