Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.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.Test70,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test70",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.0009584/0.0009585, allocations: 97.61 kB / 17 MB, free: 6.398 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.001071/0.001071, allocations: 180.2 kB / 17.89 MB, free: 5.941 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.482/1.482, allocations: 223.2 MB / 241.9 MB, free: 260 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.24/0.24, allocations: 44.23 MB / 337.2 MB, free: 2.801 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003533/0.0003534, allocations: 8.219 kB / 409.7 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1314, allocations: 61.93 MB / 471.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.002344/0.1338, allocations: 1.472 MB / 473.1 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001518/0.1354, allocations: 0.8739 MB / 474 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001243/0.1355, allocations: 11.94 kB / 474 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005347/0.1361, allocations: 299.4 kB / 474.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003783/0.1365, allocations: 191.5 kB / 474.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004418/0.1369, allocations: 155.2 kB / 474.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003138/0.1372, allocations: 199.4 kB / 474.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.329e-05/0.1373, allocations: 9.562 kB / 474.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001754/0.1375, allocations: 115.6 kB / 475 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002126/0.1377, allocations: 167.5 kB / 475.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.632e-05/0.1377, allocations: 11.94 kB / 475.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001119/0.1379, allocations: 32 kB / 475.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000146/0.138, allocations: 139.6 kB / 475.3 MB, free: 9.973 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.741e-05/0.1381, allocations: 77.45 kB / 475.4 MB, free: 9.891 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002985/0.1384, allocations: 275.8 kB / 475.7 MB, free: 9.621 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1384, allocations: 0 / 475.7 MB, free: 9.621 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1384, allocations: 0 / 475.7 MB, free: 9.621 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.978e-06/0.1384, allocations: 0 / 475.7 MB, free: 9.621 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000908/0.1394, allocations: 0.6687 MB / 476.3 MB, free: 8.902 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.1394, allocations: 8.031 kB / 476.3 MB, free: 8.895 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.305e-05/0.1394, allocations: 38.5 kB / 476.4 MB, free: 8.848 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.906e-05/0.1395, allocations: 55.28 kB / 476.4 MB, free: 8.793 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005292/0.1401, allocations: 419.1 kB / 476.8 MB, free: 8.344 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.1401, allocations: 0 / 476.8 MB, free: 8.344 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.379e-05/0.1401, allocations: 11.95 kB / 476.8 MB, free: 8.332 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001836/0.1403, allocations: 79.36 kB / 476.9 MB, free: 8.242 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.1403, allocations: 4 kB / 476.9 MB, free: 8.238 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.1404, allocations: 8 kB / 476.9 MB, free: 8.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.1404, allocations: 0 / 476.9 MB, free: 8.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001105/0.1405, allocations: 31.91 kB / 477 MB, free: 8.199 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003885/0.1409, allocations: 374.4 kB / 477.3 MB, free: 7.781 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000244/0.1411, allocations: 113.2 kB / 477.4 MB, free: 7.652 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.674e-05/0.1412, allocations: 37.7 kB / 477.5 MB, free: 7.609 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/0.1413, allocations: 4 kB / 477.5 MB, free: 7.605 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002446/0.1415, allocations: 113 kB / 477.6 MB, free: 7.477 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.443e-06/0.1415, allocations: 0 / 477.6 MB, free: 7.477 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004473/0.142, allocations: 197.3 kB / 477.8 MB, free: 7.277 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.955e-05/0.142, allocations: 81.11 kB / 477.9 MB, free: 7.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001042/0.1431, allocations: 1.034 MB / 478.9 MB, free: 6.137 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.1431, allocations: 25.7 kB / 478.9 MB, free: 6.105 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001634/0.1433, allocations: 232.1 kB / 479.2 MB, free: 5.875 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.306e-05/0.1433, allocations: 35.64 kB / 479.2 MB, free: 5.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.113e-06/0.1433, allocations: 4 kB / 479.2 MB, free: 5.836 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.1435, allocations: 366.8 kB / 479.5 MB, free: 5.469 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.419e-05/0.1436, allocations: 23.98 kB / 479.6 MB, free: 5.445 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.267e-05/0.1436, allocations: 63.36 kB / 479.6 MB, free: 5.371 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.556e-05/0.1437, allocations: 40.05 kB / 479.7 MB, free: 5.332 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1438, allocations: 0 / 479.7 MB, free: 5.332 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002694/0.144, allocations: 172.8 kB / 479.8 MB, free: 5.156 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.144, allocations: 8 kB / 479.8 MB, free: 5.148 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.1441, allocations: 0 / 479.8 MB, free: 5.148 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.1441, allocations: 0 / 479.8 MB, free: 5.148 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.1442, allocations: 23.98 kB / 479.9 MB, free: 5.125 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.1442, allocations: 3.938 kB / 479.9 MB, free: 5.121 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.327e-05/0.1443, allocations: 19.97 kB / 479.9 MB, free: 5.102 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.1443, allocations: 4 kB / 479.9 MB, free: 5.098 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.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * 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.0002019/0.1445, allocations: 230.2 kB / 480.1 MB, free: 4.863 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.183e-05/0.1446, allocations: 47.39 kB / 480.2 MB, free: 4.816 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.572e-05/0.1447, allocations: 60 kB / 480.2 MB, free: 4.754 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1447, allocations: 0 / 480.2 MB, free: 4.754 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.1447, allocations: 0 / 480.2 MB, free: 4.754 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.1447, allocations: 4 kB / 480.2 MB, free: 4.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002717/0.145, allocations: 341.3 kB / 480.6 MB, free: 4.367 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.145, allocations: 4 kB / 480.6 MB, free: 4.363 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.324e-05/0.145, allocations: 8 kB / 480.6 MB, free: 4.355 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.145, allocations: 0 / 480.6 MB, free: 4.355 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.145, allocations: 11.94 kB / 480.6 MB, free: 4.344 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1451, allocations: 0 / 480.6 MB, free: 4.344 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1451, allocations: 0 / 480.6 MB, free: 4.344 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002981/0.1454, allocations: 197.3 kB / 480.8 MB, free: 4.129 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001257/0.1455, allocations: 148.4 kB / 480.9 MB, free: 3.965 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.333e-05/0.1456, allocations: 4.125 kB / 480.9 MB, free: 3.961 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.315e-05/0.1456, allocations: 11.95 kB / 480.9 MB, free: 3.949 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.294e-05/0.1457, allocations: 11.92 kB / 481 MB, free: 3.938 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.876e-05/0.1457, allocations: 8 kB / 481 MB, free: 3.93 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007439/0.1465, allocations: 0.7721 MB / 481.7 MB, free: 3.16 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1465, allocations: 0 / 481.7 MB, free: 3.16 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002618/0.1467, allocations: 43.98 kB / 481.8 MB, free: 3.117 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.001325/0.1481, allocations: 1.047 MB / 482.8 MB, free: 2.203 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002294/0.1483, allocations: 84.02 kB / 482.9 MB, free: 2.121 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1483, allocations: 4.125 kB / 482.9 MB, free: 2.117 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.869e-05/0.1484, allocations: 44.17 kB / 483 MB, free: 2.074 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003821/0.1488, allocations: 66.16 kB / 483 MB, free: 2.008 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003812/0.1526, allocations: 2.918 MB / 485.9 MB, free: 15.02 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003704/0.153, allocations: 0.8351 MB / 486.8 MB, free: 14.15 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001196/0.1532, allocations: 58.95 kB / 486.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001736/0.1533, allocations: 151.4 kB / 487 MB, free: 13.95 MB / 366.1 MB Notification: Performance of SimCode: time 5e-07/0.1533, allocations: 0 / 487 MB, free: 13.95 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01982/0.1732, allocations: 8.033 MB / 495 MB, free: 6.066 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002114/0.1734, allocations: 217.9 kB / 495.2 MB, free: 5.828 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.986/2.159, allocations: 7.875 kB / 495.2 MB, free: 5.82 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test70_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test70.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat does not exist to compare? outputFormat=mat