Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test51,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test51,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008508/0.0008505, allocations: 93.62 kB / 17 MB, free: 6.121 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008595/0.0008596, allocations: 183 kB / 17.89 MB, free: 5.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.508/1.508, allocations: 223.2 MB / 241.9 MB, free: 312 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2376/0.2376, allocations: 44.22 MB / 337.2 MB, free: 2.789 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003485/0.0003486, allocations: 16 kB / 409.7 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1327, allocations: 61.93 MB / 471.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.001902/0.1347, allocations: 1.39 MB / 473.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001147/0.1358, allocations: 0.8075 MB / 473.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.778e-05/0.1359, allocations: 0 / 473.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002842/0.1362, allocations: 47.8 kB / 473.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001642/0.1364, allocations: 47.83 kB / 474 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002483/0.1366, allocations: 94.83 kB / 474 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001547/0.1368, allocations: 79.7 kB / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.395e-05/0.1369, allocations: 16.2 kB / 474.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.234e-05/0.137, allocations: 35.8 kB / 474.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.156e-05/0.1371, allocations: 31.83 kB / 474.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.1371, allocations: 8 kB / 474.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.365e-05/0.1372, allocations: 36 kB / 474.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.28e-05/0.1372, allocations: 15.92 kB / 474.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.248e-05/0.1373, allocations: 45.62 kB / 474.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000148/0.1374, allocations: 84.09 kB / 474.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.1375, allocations: 0 / 474.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.1375, allocations: 0 / 474.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.1375, allocations: 4 kB / 474.4 MB, free: 10.86 MB / 350.1 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.000532/0.138, allocations: 410.8 kB / 474.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.1381, allocations: 12.03 kB / 474.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.255e-05/0.1381, allocations: 38.5 kB / 474.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.344e-05/0.1381, allocations: 15.81 kB / 474.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000227/0.1384, allocations: 207.4 kB / 475.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.1384, allocations: 0 / 475.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.058e-05/0.1384, allocations: 11.95 kB / 475.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/0.1386, allocations: 49.67 kB / 475.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.1386, allocations: 0 / 475.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.1386, allocations: 7.938 kB / 475.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.1386, allocations: 0 / 475.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.271e-05/0.1387, allocations: 23.98 kB / 475.2 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003589/0.1391, allocations: 300.8 kB / 475.5 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001494/0.1392, allocations: 50.69 kB / 475.5 MB, free: 9.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.5e-05/0.1393, allocations: 20.84 kB / 475.5 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.585e-05/0.1393, allocations: 8 kB / 475.5 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000174/0.1395, allocations: 67.33 kB / 475.6 MB, free: 9.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.1395, allocations: 0 / 475.6 MB, free: 9.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004963/0.14, allocations: 177.1 kB / 475.8 MB, free: 9.301 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.756e-05/0.1401, allocations: 55.41 kB / 475.8 MB, free: 9.234 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001863/0.1403, allocations: 222.7 kB / 476 MB, free: 9 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/0.1403, allocations: 29.7 kB / 476.1 MB, free: 8.965 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.15e-05/0.1404, allocations: 108.1 kB / 476.2 MB, free: 8.855 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.798e-05/0.1404, allocations: 23.66 kB / 476.2 MB, free: 8.832 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.669e-06/0.1404, allocations: 0 / 476.2 MB, free: 8.832 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.1405, allocations: 330.8 kB / 476.5 MB, free: 8.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.032e-05/0.1406, allocations: 23.92 kB / 476.5 MB, free: 8.477 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.751e-05/0.1406, allocations: 33.7 kB / 476.6 MB, free: 8.438 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.726e-05/0.1407, allocations: 32 kB / 476.6 MB, free: 8.406 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.1407, allocations: 0 / 476.6 MB, free: 8.406 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001692/0.1409, allocations: 101.4 kB / 476.7 MB, free: 8.301 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.1409, allocations: 4 kB / 476.7 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.1409, allocations: 4.375 kB / 476.7 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.1409, allocations: 0 / 476.7 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.223e-05/0.141, allocations: 15.98 kB / 476.7 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.141, allocations: 0 / 476.7 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.599e-05/0.1411, allocations: 12 kB / 476.7 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.338e-06/0.1411, allocations: 4 kB / 476.7 MB, free: 8.262 MB / 350.1 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 9.668e-05/0.1412, allocations: 141.8 kB / 476.9 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.563e-05/0.1412, allocations: 7.906 kB / 476.9 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.948e-05/0.1413, allocations: 17.41 kB / 476.9 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.1413, allocations: 0 / 476.9 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.1413, allocations: 0 / 476.9 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.1413, allocations: 3.984 kB / 476.9 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003836/0.1417, allocations: 403.2 kB / 477.3 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1417, allocations: 4.188 kB / 477.3 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.024e-05/0.1417, allocations: 11.98 kB / 477.3 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.1417, allocations: 3.938 kB / 477.3 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.1418, allocations: 3.984 kB / 477.3 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1418, allocations: 240 / 477.3 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1418, allocations: 4 kB / 477.3 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002024/0.142, allocations: 216.2 kB / 477.5 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.178e-05/0.142, allocations: 88.92 kB / 477.6 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.272e-05/0.1421, allocations: 4 kB / 477.6 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.75e-05/0.1421, allocations: 7.984 kB / 477.6 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.984e-05/0.1422, allocations: 4 kB / 477.6 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.241e-05/0.1422, allocations: 0 / 477.6 MB, free: 7.254 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001287/0.1423, allocations: 176.3 kB / 477.8 MB, free: 7.082 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1423, allocations: 0 / 477.8 MB, free: 7.082 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002546/0.1426, allocations: 20 kB / 477.8 MB, free: 7.062 MB / 350.1 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 (8): * Single equations (assignments): 6 * 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.001386/0.144, allocations: 1.106 MB / 478.9 MB, free: 6.113 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001576/0.1441, allocations: 47.98 kB / 479 MB, free: 6.066 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1442, allocations: 7.938 kB / 479 MB, free: 6.059 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.741e-05/0.1442, allocations: 27.98 kB / 479 MB, free: 6.031 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003135/0.1445, allocations: 24.16 kB / 479.1 MB, free: 6.008 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001099/0.1457, allocations: 0.8067 MB / 479.9 MB, free: 5.156 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002593/0.1459, allocations: 0.7121 MB / 480.6 MB, free: 4.418 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.278e-05/0.146, allocations: 21.17 kB / 480.6 MB, free: 4.398 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.983e-05/0.1461, allocations: 39.36 kB / 480.6 MB, free: 4.359 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1461, allocations: 0 / 480.6 MB, free: 4.359 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01321/0.1593, allocations: 3.076 MB / 483.7 MB, free: 1.418 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001733/0.1595, allocations: 217.9 kB / 483.9 MB, free: 1.176 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.823/1.982, allocations: 0 / 483.9 MB, free: 1.176 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test51_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test51.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat does not exist to compare? outputFormat=mat