Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.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.Test75,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test75,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test75",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.001285/0.001285, allocations: 179.8 kB / 14.15 MB, free: 1.176 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.546/1.546, allocations: 221.4 MB / 236 MB, free: 2.98 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.0008945/0.0008948, allocations: 91.69 kB / 287 MB, free: 268 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2341/0.2341, allocations: 44.16 MB / 382 MB, free: 14.7 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.398e-05/3.402e-05, allocations: 4.219 kB / 451.9 MB, free: 9.359 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1491, allocations: 61.92 MB / 0.5018 GB, free: 11.38 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.468/0.6172, allocations: 89.47 MB / 0.5892 GB, free: 15.81 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002382/0.6175, allocations: 71.97 kB / 0.5893 GB, free: 15.74 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02097/0.6385, allocations: 8.244 MB / 0.5973 GB, free: 7.512 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.6385, allocations: 4 kB / 0.5973 GB, free: 7.508 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.77e-05/0.6385, allocations: 7.938 kB / 0.5973 GB, free: 7.5 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006315/0.6392, allocations: 0.4976 MB / 0.5978 GB, free: 6.957 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.6392, allocations: 12.03 kB / 0.5978 GB, free: 6.945 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.459e-05/0.6393, allocations: 38.55 kB / 0.5978 GB, free: 6.898 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.312e-05/0.6394, allocations: 27.62 kB / 0.5979 GB, free: 6.871 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004769/0.6398, allocations: 291.9 kB / 0.5982 GB, free: 6.543 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.6399, allocations: 15.98 kB / 0.5982 GB, free: 6.527 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.836e-05/0.6399, allocations: 4 kB / 0.5982 GB, free: 6.523 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001937/0.6401, allocations: 111.3 kB / 0.5983 GB, free: 6.402 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.6401, allocations: 0 / 0.5983 GB, free: 6.402 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.6402, allocations: 4 kB / 0.5983 GB, free: 6.398 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.6402, allocations: 4 kB / 0.5983 GB, free: 6.395 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.57e-05/0.6403, allocations: 43.92 kB / 0.5983 GB, free: 6.352 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006239/0.6409, allocations: 0.4891 MB / 0.5988 GB, free: 5.809 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002835/0.6412, allocations: 113.2 kB / 0.5989 GB, free: 5.68 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.234e-05/0.6413, allocations: 53.78 kB / 0.599 GB, free: 5.621 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.705e-05/0.6413, allocations: 0 / 0.599 GB, free: 5.621 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001788/0.6415, allocations: 116.9 kB / 0.5991 GB, free: 5.488 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.312e-06/0.6415, allocations: 0 / 0.5991 GB, free: 5.488 MB / 410.7 MB Notification: Performance of matching and sorting (n=22): time 0.0008572/0.6424, allocations: 443.7 kB / 0.5995 GB, free: 5.047 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.343e-05/0.6424, allocations: 81.11 kB / 0.5996 GB, free: 4.949 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004017/0.6428, allocations: 386.6 kB / 0.5999 GB, free: 4.566 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.298e-05/0.6429, allocations: 33.7 kB / 0.6 GB, free: 4.527 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.421e-05/0.643, allocations: 152.5 kB / 0.6001 GB, free: 4.375 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.94e-05/0.643, allocations: 74.98 kB / 0.6002 GB, free: 4.301 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.498e-06/0.6431, allocations: 7.938 kB / 0.6002 GB, free: 4.293 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.6432, allocations: 346.8 kB / 0.6005 GB, free: 3.945 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.848e-05/0.6433, allocations: 55.94 kB / 0.6006 GB, free: 3.891 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/0.6434, allocations: 88.73 kB / 0.6007 GB, free: 3.793 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001027/0.6435, allocations: 58.72 kB / 0.6007 GB, free: 3.738 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.6435, allocations: 0 / 0.6007 GB, free: 3.738 MB / 410.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003095/0.6438, allocations: 233.1 kB / 0.6009 GB, free: 3.504 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.6438, allocations: 4.938 kB / 0.601 GB, free: 3.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.6439, allocations: 0 / 0.601 GB, free: 3.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.6439, allocations: 4.062 kB / 0.601 GB, free: 3.496 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001425/0.644, allocations: 47.92 kB / 0.601 GB, free: 3.449 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.644, allocations: 0 / 0.601 GB, free: 3.449 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.693e-05/0.6441, allocations: 15.98 kB / 0.601 GB, free: 3.434 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.604e-05/0.6442, allocations: 8 kB / 0.601 GB, free: 3.426 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.58e-05/0.6442, allocations: 120.9 kB / 0.6011 GB, free: 3.301 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.513e-05/0.6443, allocations: 35.58 kB / 0.6012 GB, free: 3.266 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004274/0.6447, allocations: 274.2 kB / 0.6014 GB, free: 2.992 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.6448, allocations: 11.92 kB / 0.6014 GB, free: 2.98 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.6448, allocations: 3.984 kB / 0.6015 GB, free: 2.977 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.6448, allocations: 0 / 0.6015 GB, free: 2.977 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009173/0.6457, allocations: 0.7896 MB / 0.6022 GB, free: 2.117 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.6457, allocations: 0 / 0.6022 GB, free: 2.117 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.492e-05/0.6458, allocations: 39.92 kB / 0.6023 GB, free: 2.078 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.239e-06/0.6458, allocations: 0 / 0.6023 GB, free: 2.078 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/0.6459, allocations: 11.94 kB / 0.6023 GB, free: 2.066 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.6459, allocations: 0 / 0.6023 GB, free: 2.066 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.6459, allocations: 4 kB / 0.6023 GB, free: 2.062 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004429/0.6463, allocations: 489.9 kB / 0.6027 GB, free: 1.523 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001183/0.6465, allocations: 128.7 kB / 0.6029 GB, free: 1.379 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.744e-05/0.6465, allocations: 15.98 kB / 0.6029 GB, free: 1.363 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001436/0.6467, allocations: 8 kB / 0.6029 GB, free: 1.355 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.019e-05/0.6467, allocations: 19.97 kB / 0.6029 GB, free: 1.336 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-05/0.6467, allocations: 8 kB / 0.6029 GB, free: 1.328 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003159/0.6471, allocations: 314.1 kB / 0.6032 GB, free: 1.02 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6471, allocations: 0 / 0.6032 GB, free: 1.02 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003561/0.6474, allocations: 71.92 kB / 0.6033 GB, free: 0.9492 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * 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.00183/0.6493, allocations: 1.734 MB / 0.605 GB, free: 15.29 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000269/0.6496, allocations: 155.7 kB / 0.6051 GB, free: 15.14 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.6496, allocations: 0 / 0.6051 GB, free: 15.14 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001241/0.6497, allocations: 91.92 kB / 0.6052 GB, free: 15.05 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003975/0.6501, allocations: 55.98 kB / 0.6053 GB, free: 14.99 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009512/0.6511, allocations: 0.5354 MB / 0.6058 GB, free: 14.41 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003214/0.6514, allocations: 0.7834 MB / 0.6066 GB, free: 13.6 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001256/0.6515, allocations: 54.05 kB / 0.6066 GB, free: 13.55 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001438/0.6517, allocations: 95.39 kB / 0.6067 GB, free: 13.46 MB / 426.7 MB Notification: Performance of SimCode: time 3.21e-07/0.6517, allocations: 0 / 0.6067 GB, free: 13.46 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01842/0.6701, allocations: 6.057 MB / 0.6126 GB, free: 7.492 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00019/0.6704, allocations: 190.5 kB / 0.6128 GB, free: 7.266 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.055/2.726, allocations: 3.938 kB / 0.6128 GB, free: 7.262 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test75_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test75.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat does not exist to compare? outputFormat=mat