Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.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.Test62,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test62,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test62",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.0008991/0.0008994, allocations: 100.5 kB / 17.01 MB, free: 6.059 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.001063/0.001063, allocations: 183 kB / 17.89 MB, free: 5.645 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.361/1.361, allocations: 223.2 MB / 241.9 MB, free: 14.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2081/0.2081, allocations: 44.22 MB / 337.2 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003286/0.0003286, allocations: 12.22 kB / 409.7 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1426, allocations: 61.92 MB / 471.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.002497/0.1452, allocations: 1.367 MB / 473 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001446/0.1466, allocations: 0.7765 MB / 473.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.27e-05/0.1467, allocations: 3.938 kB / 473.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002686/0.147, allocations: 51.8 kB / 473.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001666/0.1472, allocations: 55.81 kB / 473.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002452/0.1474, allocations: 86.2 kB / 474 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001522/0.1476, allocations: 79.7 kB / 474.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.376e-05/0.1477, allocations: 4 kB / 474.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.929e-05/0.1477, allocations: 47.83 kB / 474.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.33e-05/0.1478, allocations: 27.8 kB / 474.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.308e-05/0.1478, allocations: 0 / 474.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.736e-05/0.1479, allocations: 27.98 kB / 474.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.498e-05/0.148, allocations: 23.91 kB / 474.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.131e-05/0.148, allocations: 41.64 kB / 474.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001362/0.1482, allocations: 96.03 kB / 474.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.1482, allocations: 0 / 474.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1482, allocations: 0 / 474.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.1482, allocations: 0 / 474.3 MB, free: 10.93 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000541/0.1487, allocations: 414.7 kB / 474.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.1488, allocations: 12.03 kB / 474.8 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.452e-05/0.1488, allocations: 30.56 kB / 474.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.112e-05/0.1489, allocations: 11.89 kB / 474.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002416/0.1491, allocations: 210.7 kB / 475 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.1491, allocations: 4 kB / 475 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.209e-05/0.1492, allocations: 3.953 kB / 475 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.1493, allocations: 49.67 kB / 475.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.1493, allocations: 4 kB / 475.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-06/0.1493, allocations: 0 / 475.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.1493, allocations: 0 / 475.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.436e-05/0.1494, allocations: 15.98 kB / 475.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002063/0.1496, allocations: 193.7 kB / 475.3 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001374/0.1498, allocations: 50.56 kB / 475.3 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.169e-05/0.1498, allocations: 24.84 kB / 475.3 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.1499, allocations: 0 / 475.3 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001781/0.15, allocations: 67.34 kB / 475.4 MB, free: 9.688 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.242e-06/0.15, allocations: 0 / 475.4 MB, free: 9.688 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002688/0.1503, allocations: 105.4 kB / 475.5 MB, free: 9.578 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.761e-05/0.1504, allocations: 51.41 kB / 475.6 MB, free: 9.516 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002602/0.1506, allocations: 262.3 kB / 475.8 MB, free: 9.246 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.1507, allocations: 33.69 kB / 475.8 MB, free: 9.207 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.931e-05/0.1507, allocations: 108.1 kB / 476 MB, free: 9.098 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.068e-05/0.1508, allocations: 15.8 kB / 476 MB, free: 9.082 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.416e-06/0.1508, allocations: 0 / 476 MB, free: 9.082 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.1509, allocations: 326.8 kB / 476.3 MB, free: 8.754 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.762e-05/0.151, allocations: 15.97 kB / 476.3 MB, free: 8.738 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.334e-05/0.1511, allocations: 29.72 kB / 476.3 MB, free: 8.703 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.757e-05/0.1511, allocations: 19.98 kB / 476.4 MB, free: 8.684 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.1511, allocations: 0 / 476.4 MB, free: 8.684 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000147/0.1513, allocations: 81.53 kB / 476.4 MB, free: 8.598 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.1513, allocations: 7.953 kB / 476.4 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.1513, allocations: 0 / 476.4 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.1514, allocations: 3.984 kB / 476.4 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.213e-05/0.1514, allocations: 19.94 kB / 476.5 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.1515, allocations: 3.984 kB / 476.5 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.822e-05/0.1515, allocations: 11.84 kB / 476.5 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-06/0.1515, allocations: 4.031 kB / 476.5 MB, free: 8.547 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 (7): * Single equations (assignments): 7 * 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.0001328/0.1517, allocations: 146.2 kB / 476.6 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.718e-05/0.1517, allocations: 7.906 kB / 476.6 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.018e-05/0.1517, allocations: 24.94 kB / 476.7 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1518, allocations: 0 / 476.7 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.1518, allocations: 4 kB / 476.7 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.1518, allocations: 0 / 476.7 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002019/0.152, allocations: 193.5 kB / 476.9 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.152, allocations: 0 / 476.9 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.034e-05/0.152, allocations: 8 kB / 476.9 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.152, allocations: 0 / 476.9 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.807e-06/0.152, allocations: 0 / 476.9 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.1521, allocations: 3.953 kB / 476.9 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1521, allocations: 0 / 476.9 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002033/0.1523, allocations: 113 kB / 477 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.536e-05/0.1523, allocations: 89.3 kB / 477.1 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.649e-05/0.1524, allocations: 7.984 kB / 477.1 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.884e-05/0.1524, allocations: 12 kB / 477.1 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.789e-05/0.1525, allocations: 3.953 kB / 477.1 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.324e-05/0.1525, allocations: 4 kB / 477.1 MB, free: 7.844 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002009/0.1527, allocations: 192.5 kB / 477.3 MB, free: 7.656 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.91e-07/0.1527, allocations: 0 / 477.3 MB, free: 7.656 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002139/0.1529, allocations: 20 kB / 477.3 MB, free: 7.637 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 3 * 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.001442/0.1544, allocations: 0.943 MB / 478.2 MB, free: 6.828 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001563/0.1545, allocations: 47.92 kB / 478.3 MB, free: 6.781 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1545, allocations: 0 / 478.3 MB, free: 6.781 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.613e-05/0.1546, allocations: 19.98 kB / 478.3 MB, free: 6.762 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002552/0.1549, allocations: 27.94 kB / 478.3 MB, free: 6.734 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001285/0.1562, allocations: 0.812 MB / 479.1 MB, free: 5.863 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003243/0.1565, allocations: 0.7121 MB / 479.9 MB, free: 5.125 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.482e-05/0.1566, allocations: 16.53 kB / 479.9 MB, free: 5.109 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.124e-05/0.1566, allocations: 39.42 kB / 479.9 MB, free: 5.07 MB / 350.1 MB Notification: Performance of SimCode: time 2.384e-06/0.1566, allocations: 0 / 479.9 MB, free: 5.07 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01521/0.1719, allocations: 2.963 MB / 482.9 MB, free: 2.242 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002376/0.1722, allocations: 221.9 kB / 483.1 MB, free: 1.996 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.987/2.16, allocations: 0 / 483.1 MB, free: 1.996 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test62_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test62.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat does not exist to compare? outputFormat=mat