Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.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.Test79,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test79,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test79",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.0008521/0.0008521, allocations: 99.61 kB / 17.01 MB, free: 6.066 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.000957/0.000957, allocations: 180.4 kB / 17.89 MB, free: 5.668 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.364/1.364, allocations: 223.3 MB / 241.9 MB, free: 224 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.2287/0.2287, allocations: 44.22 MB / 337.2 MB, free: 2.805 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003295/0.0003296, allocations: 8.75 kB / 409.7 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1326, allocations: 61.93 MB / 471.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.002502/0.1351, allocations: 1.566 MB / 473.2 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001529/0.1367, allocations: 0.9011 MB / 474.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.893e-05/0.1368, allocations: 0 / 474.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004284/0.1372, allocations: 219.5 kB / 474.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002661/0.1375, allocations: 143.5 kB / 474.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003711/0.1379, allocations: 155.2 kB / 474.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003128/0.1382, allocations: 203.3 kB / 474.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.1383, allocations: 21.69 kB / 474.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001526/0.1385, allocations: 103.6 kB / 475 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001635/0.1387, allocations: 127.5 kB / 475.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.253e-05/0.1387, allocations: 4 kB / 475.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001309/0.1388, allocations: 55.97 kB / 475.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.063e-05/0.1389, allocations: 51.83 kB / 475.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.053e-05/0.139, allocations: 61.52 kB / 475.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002243/0.1392, allocations: 168 kB / 475.4 MB, free: 9.859 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.1392, allocations: 3.938 kB / 475.4 MB, free: 9.855 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1392, allocations: 0 / 475.4 MB, free: 9.855 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.1393, allocations: 0 / 475.4 MB, free: 9.855 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007362/0.14, allocations: 0.5197 MB / 475.9 MB, free: 9.289 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.14, allocations: 12.03 kB / 475.9 MB, free: 9.277 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.802e-05/0.1401, allocations: 34.56 kB / 476 MB, free: 9.234 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.836e-05/0.1402, allocations: 23.72 kB / 476 MB, free: 9.211 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003084/0.1405, allocations: 271 kB / 476.3 MB, free: 8.906 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.1405, allocations: 8 kB / 476.3 MB, free: 8.898 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.518e-05/0.1405, allocations: 11.86 kB / 476.3 MB, free: 8.887 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002312/0.1408, allocations: 111.3 kB / 476.4 MB, free: 8.766 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.1408, allocations: 4 kB / 476.4 MB, free: 8.762 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.1408, allocations: 0 / 476.4 MB, free: 8.762 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.1408, allocations: 3.938 kB / 476.4 MB, free: 8.758 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001369/0.141, allocations: 51.95 kB / 476.5 MB, free: 8.707 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005271/0.1415, allocations: 480.6 kB / 476.9 MB, free: 8.184 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003305/0.1419, allocations: 125.2 kB / 477 MB, free: 8.043 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.696e-05/0.142, allocations: 37.83 kB / 477.1 MB, free: 8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.709e-05/0.142, allocations: 7.938 kB / 477.1 MB, free: 7.992 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002432/0.1422, allocations: 117.1 kB / 477.2 MB, free: 7.859 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.302e-06/0.1422, allocations: 4 kB / 477.2 MB, free: 7.855 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001199/0.1435, allocations: 0.4924 MB / 477.7 MB, free: 7.355 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.974e-05/0.1435, allocations: 81.05 kB / 477.8 MB, free: 7.258 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004088/0.1439, allocations: 424.5 kB / 478.2 MB, free: 6.828 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.144, allocations: 33.7 kB / 478.2 MB, free: 6.789 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.1441, allocations: 164.4 kB / 478.4 MB, free: 6.625 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.26e-05/0.1441, allocations: 71.03 kB / 478.5 MB, free: 6.555 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.689e-06/0.1442, allocations: 4 kB / 478.5 MB, free: 6.551 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.1443, allocations: 342.8 kB / 478.8 MB, free: 6.207 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001196/0.1444, allocations: 55.97 kB / 478.9 MB, free: 6.152 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001274/0.1446, allocations: 95.33 kB / 478.9 MB, free: 6.047 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001274/0.1447, allocations: 68.16 kB / 479 MB, free: 5.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1447, allocations: 0 / 479 MB, free: 5.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003615/0.1451, allocations: 233.1 kB / 479.2 MB, free: 5.746 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.1451, allocations: 4 kB / 479.2 MB, free: 5.742 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.1451, allocations: 4 kB / 479.2 MB, free: 5.738 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.1451, allocations: 0 / 479.2 MB, free: 5.738 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001445/0.1453, allocations: 39.98 kB / 479.3 MB, free: 5.699 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.188e-06/0.1453, allocations: 7.891 kB / 479.3 MB, free: 5.691 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.081e-05/0.1454, allocations: 20.05 kB / 479.3 MB, free: 5.672 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/0.1454, allocations: 4 kB / 479.3 MB, free: 5.668 MB / 350.1 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 () * Number of clocked 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 0.0001516/0.1456, allocations: 170.3 kB / 479.5 MB, free: 5.492 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.841e-05/0.1456, allocations: 35.56 kB / 479.5 MB, free: 5.457 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.564e-05/0.1457, allocations: 38.62 kB / 479.6 MB, free: 5.418 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.1457, allocations: 0 / 479.6 MB, free: 5.418 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.1457, allocations: 4 kB / 479.6 MB, free: 5.414 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.1457, allocations: 3.953 kB / 479.6 MB, free: 5.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008291/0.1465, allocations: 0.731 MB / 480.3 MB, free: 4.609 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.1466, allocations: 3.938 kB / 480.3 MB, free: 4.605 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.428e-05/0.1467, allocations: 35.92 kB / 480.3 MB, free: 4.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/0.1467, allocations: 8.125 kB / 480.3 MB, free: 4.562 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.505e-05/0.1467, allocations: 4 kB / 480.3 MB, free: 4.559 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.588e-06/0.1467, allocations: 4 kB / 480.4 MB, free: 4.555 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.1467, allocations: 0 / 480.4 MB, free: 4.555 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004252/0.1471, allocations: 428.7 kB / 480.8 MB, free: 4.109 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.432e-05/0.1472, allocations: 116.7 kB / 480.9 MB, free: 3.977 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.873e-05/0.1473, allocations: 8 kB / 480.9 MB, free: 3.969 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.1474, allocations: 8 kB / 480.9 MB, free: 3.961 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.881e-05/0.1475, allocations: 15.97 kB / 480.9 MB, free: 3.945 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.548e-05/0.1475, allocations: 12 kB / 480.9 MB, free: 3.934 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002988/0.1478, allocations: 323 kB / 481.2 MB, free: 3.621 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1478, allocations: 0 / 481.2 MB, free: 3.621 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003858/0.1482, allocations: 51.98 kB / 481.3 MB, free: 3.57 MB / 350.1 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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.001787/0.15, allocations: 1.371 MB / 482.7 MB, free: 2.383 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003262/0.1503, allocations: 155.8 kB / 482.8 MB, free: 2.23 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.1503, allocations: 0 / 482.8 MB, free: 2.23 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001476/0.1505, allocations: 87.97 kB / 482.9 MB, free: 2.145 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005218/0.151, allocations: 49.48 kB / 483 MB, free: 2.09 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002373/0.1534, allocations: 1.653 MB / 484.6 MB, free: 364 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003123/0.1537, allocations: 0.7677 MB / 485.4 MB, free: 15.56 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001134/0.1539, allocations: 33.94 kB / 485.4 MB, free: 15.53 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001333/0.154, allocations: 99.39 kB / 485.5 MB, free: 15.43 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.154, allocations: 0 / 485.5 MB, free: 15.43 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01637/0.1704, allocations: 5.641 MB / 491.1 MB, free: 9.941 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000191/0.1706, allocations: 220.8 kB / 491.4 MB, free: 9.703 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.991/2.162, allocations: 3.75 kB / 491.4 MB, free: 9.703 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test79_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test79.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat does not exist to compare? outputFormat=mat