Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test13",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.0008639/0.0008638, allocations: 99.59 kB / 17 MB, free: 6.117 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.0009308/0.0009308, allocations: 182.5 kB / 17.89 MB, free: 5.707 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.433/1.433, allocations: 223.2 MB / 241.9 MB, free: 308 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.2153/0.2153, allocations: 44.22 MB / 337.2 MB, free: 2.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004342/0.0004342, allocations: 8 kB / 409.7 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1266, allocations: 61.92 MB / 471.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.002322/0.129, allocations: 1.575 MB / 473.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001426/0.1304, allocations: 0.8387 MB / 474.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.042e-05/0.1305, allocations: 0 / 474.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002668/0.1308, allocations: 39.77 kB / 474.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001942/0.131, allocations: 47.77 kB / 474.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002965/0.1313, allocations: 103.8 kB / 474.3 MB, free: 11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001876/0.1315, allocations: 123.5 kB / 474.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.1316, allocations: 29.47 kB / 474.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.203e-05/0.1317, allocations: 43.78 kB / 474.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.422e-05/0.1318, allocations: 47.7 kB / 474.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.983e-05/0.1318, allocations: 4 kB / 474.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.849e-05/0.1319, allocations: 32 kB / 474.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.814e-05/0.132, allocations: 23.91 kB / 474.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.75e-05/0.1321, allocations: 41.64 kB / 474.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001682/0.1322, allocations: 100 kB / 474.7 MB, free: 10.56 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.1322, allocations: 11.94 kB / 474.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1322, allocations: 0 / 474.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.613e-06/0.1323, allocations: 0 / 474.7 MB, free: 10.55 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006179/0.1329, allocations: 456.5 kB / 475.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.1329, allocations: 15.97 kB / 475.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.942e-05/0.133, allocations: 38.55 kB / 475.2 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.733e-05/0.133, allocations: 15.81 kB / 475.2 MB, free: 9.969 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002677/0.1333, allocations: 222.7 kB / 475.4 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.1333, allocations: 8 kB / 475.5 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.424e-05/0.1333, allocations: 11.95 kB / 475.5 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002326/0.1336, allocations: 104.2 kB / 475.6 MB, free: 9.574 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.1336, allocations: 0 / 475.6 MB, free: 9.574 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.1336, allocations: 4 kB / 475.6 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/0.1336, allocations: 4 kB / 475.6 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001463/0.1338, allocations: 55.91 kB / 475.6 MB, free: 9.512 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006796/0.1345, allocations: 0.5087 MB / 476.1 MB, free: 8.945 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002991/0.1348, allocations: 90.66 kB / 476.2 MB, free: 8.848 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/0.1349, allocations: 36.84 kB / 476.3 MB, free: 8.809 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/0.1349, allocations: 4 kB / 476.3 MB, free: 8.805 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002373/0.1352, allocations: 83.31 kB / 476.3 MB, free: 8.711 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.703e-06/0.1352, allocations: 0 / 476.3 MB, free: 8.711 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003944/0.1356, allocations: 153.4 kB / 476.5 MB, free: 8.555 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.972e-05/0.1356, allocations: 55.41 kB / 476.6 MB, free: 8.488 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001935/0.1358, allocations: 191.4 kB / 476.7 MB, free: 8.285 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.1359, allocations: 29.7 kB / 476.8 MB, free: 8.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.293e-05/0.1359, allocations: 108 kB / 476.9 MB, free: 8.141 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.892e-05/0.136, allocations: 31.64 kB / 476.9 MB, free: 8.109 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.31e-06/0.136, allocations: 0 / 476.9 MB, free: 8.109 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.1361, allocations: 330.8 kB / 477.2 MB, free: 7.777 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.482e-05/0.1362, allocations: 31.98 kB / 477.3 MB, free: 7.746 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.799e-05/0.1363, allocations: 63.89 kB / 477.3 MB, free: 7.672 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.271e-05/0.1364, allocations: 39.94 kB / 477.4 MB, free: 7.633 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.1365, allocations: 4 kB / 477.4 MB, free: 7.629 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002647/0.1367, allocations: 137.3 kB / 477.5 MB, free: 7.488 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.1368, allocations: 8 kB / 477.5 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.1368, allocations: 0 / 477.5 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.1368, allocations: 4 kB / 477.5 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.85e-05/0.1369, allocations: 23.98 kB / 477.5 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.1369, allocations: 12 kB / 477.5 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.828e-05/0.137, allocations: 19.83 kB / 477.6 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.137, allocations: 8 kB / 477.6 MB, free: 7.414 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001162/0.1371, allocations: 122.3 kB / 477.7 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.075e-05/0.1371, allocations: 15.81 kB / 477.7 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.656e-05/0.1372, allocations: 21.39 kB / 477.7 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.1372, allocations: 0 / 477.7 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.1372, allocations: 0 / 477.7 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.351e-06/0.1372, allocations: 8.453 kB / 477.7 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002029/0.1374, allocations: 213.5 kB / 477.9 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1374, allocations: 0 / 477.9 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.749e-05/0.1375, allocations: 15.98 kB / 478 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.1375, allocations: 0 / 478 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.1376, allocations: 7.875 kB / 478 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.1376, allocations: 4 kB / 478 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1376, allocations: 0 / 478 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003893/0.138, allocations: 192.8 kB / 478.2 MB, free: 6.75 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.831e-05/0.1381, allocations: 92.98 kB / 478.3 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.352e-05/0.1381, allocations: 0 / 478.3 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.511e-05/0.1382, allocations: 11.98 kB / 478.3 MB, free: 6.629 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.929e-05/0.1382, allocations: 12 kB / 478.3 MB, free: 6.617 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-05/0.1382, allocations: 8.047 kB / 478.3 MB, free: 6.609 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001179/0.1384, allocations: 137.2 kB / 478.4 MB, free: 6.477 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1384, allocations: 0 / 478.4 MB, free: 6.477 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002408/0.1386, allocations: 36.02 kB / 478.5 MB, free: 6.441 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * 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.001426/0.14, allocations: 1.015 MB / 479.5 MB, free: 5.555 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002296/0.1403, allocations: 87.83 kB / 479.6 MB, free: 5.469 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1403, allocations: 0 / 479.6 MB, free: 5.469 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.539e-05/0.1404, allocations: 40.23 kB / 479.6 MB, free: 5.43 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002925/0.1407, allocations: 35.91 kB / 479.6 MB, free: 5.398 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00136/0.1421, allocations: 0.8447 MB / 480.5 MB, free: 4.492 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002995/0.1424, allocations: 0.724 MB / 481.2 MB, free: 3.742 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.343e-05/0.1425, allocations: 29.34 kB / 481.2 MB, free: 3.715 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.616e-05/0.1425, allocations: 43.41 kB / 481.3 MB, free: 3.672 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1426, allocations: 0 / 481.3 MB, free: 3.672 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01351/0.1561, allocations: 3.26 MB / 484.5 MB, free: 0.543 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001624/0.1563, allocations: 217 kB / 484.7 MB, free: 316 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.816/1.972, allocations: 4 kB / 484.7 MB, free: 312 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test13_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test13.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat does not exist to compare? outputFormat=mat