Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.Test80,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test80",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.000827/0.0008272, allocations: 101.1 kB / 17.01 MB, free: 6.391 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.0009034/0.0009035, allocations: 182.2 kB / 17.89 MB, free: 5.922 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.357/1.357, allocations: 223.2 MB / 241.9 MB, free: 348 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.2268/0.2268, allocations: 44.22 MB / 337.2 MB, free: 2.82 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005159/0.000516, allocations: 16.84 kB / 409.7 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1382, allocations: 61.93 MB / 471.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.002223/0.1405, allocations: 1.472 MB / 473.1 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002036/0.1425, allocations: 1.445 MB / 474.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.971e-05/0.1426, allocations: 3.938 kB / 474.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003019/0.143, allocations: 47.83 kB / 474.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002392/0.1432, allocations: 71.69 kB / 474.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003691/0.1436, allocations: 142.6 kB / 474.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002139/0.1438, allocations: 163.4 kB / 475 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.121e-05/0.1439, allocations: 9.547 kB / 475 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001162/0.144, allocations: 71.64 kB / 475.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001939/0.1442, allocations: 67.62 kB / 475.2 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.22e-05/0.1443, allocations: 4 kB / 475.2 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001299/0.1444, allocations: 51.97 kB / 475.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.198e-05/0.1445, allocations: 27.91 kB / 475.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.077e-05/0.1445, allocations: 53.52 kB / 475.3 MB, free: 9.992 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000199/0.1447, allocations: 124 kB / 475.4 MB, free: 9.871 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.1448, allocations: 4 kB / 475.4 MB, free: 9.867 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.1448, allocations: 0 / 475.4 MB, free: 9.867 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.1448, allocations: 0 / 475.4 MB, free: 9.867 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.000672/0.1455, allocations: 448.9 kB / 475.8 MB, free: 9.383 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.1455, allocations: 8.031 kB / 475.9 MB, free: 9.375 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.085e-05/0.1456, allocations: 38.56 kB / 475.9 MB, free: 9.328 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.344e-05/0.1456, allocations: 11.81 kB / 475.9 MB, free: 9.316 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002976/0.1459, allocations: 238.7 kB / 476.1 MB, free: 9.043 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.1459, allocations: 4 kB / 476.1 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.647e-05/0.146, allocations: 7.953 kB / 476.2 MB, free: 9.031 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002197/0.1462, allocations: 93.08 kB / 476.2 MB, free: 8.922 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.1462, allocations: 11.97 kB / 476.3 MB, free: 8.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/0.1462, allocations: 4 kB / 476.3 MB, free: 8.906 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.1462, allocations: 3.938 kB / 476.3 MB, free: 8.902 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001072/0.1464, allocations: 27.98 kB / 476.3 MB, free: 8.875 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002411/0.1466, allocations: 214.5 kB / 476.5 MB, free: 8.613 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002457/0.1469, allocations: 105.2 kB / 476.6 MB, free: 8.492 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.58e-05/0.147, allocations: 37.7 kB / 476.6 MB, free: 8.449 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.877e-05/0.147, allocations: 4 kB / 476.6 MB, free: 8.445 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002653/0.1473, allocations: 113 kB / 476.8 MB, free: 8.316 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.412e-06/0.1473, allocations: 0 / 476.8 MB, free: 8.316 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004365/0.1477, allocations: 165.4 kB / 476.9 MB, free: 8.148 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.975e-05/0.1478, allocations: 132.5 kB / 477 MB, free: 7.988 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002566/0.1481, allocations: 211.8 kB / 477.2 MB, free: 7.77 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/0.1481, allocations: 29.7 kB / 477.3 MB, free: 7.734 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.191e-05/0.1482, allocations: 108.1 kB / 477.4 MB, free: 7.625 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.297e-05/0.1483, allocations: 27.66 kB / 477.4 MB, free: 7.598 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.933e-06/0.1483, allocations: 8 kB / 477.4 MB, free: 7.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.1484, allocations: 334.8 kB / 477.7 MB, free: 7.254 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.268e-05/0.1485, allocations: 23.98 kB / 477.8 MB, free: 7.23 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.929e-05/0.1486, allocations: 69.08 kB / 477.8 MB, free: 7.145 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.896e-05/0.1487, allocations: 48.45 kB / 477.9 MB, free: 7.098 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1487, allocations: 0 / 477.9 MB, free: 7.098 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002538/0.149, allocations: 137.3 kB / 478 MB, free: 6.957 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.149, allocations: 7.984 kB / 478 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.149, allocations: 0 / 478 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.149, allocations: 4 kB / 478 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.1492, allocations: 16 kB / 478 MB, free: 6.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.836e-06/0.1492, allocations: 3.938 kB / 478 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.5e-05/0.1493, allocations: 20.05 kB / 478.1 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.1493, allocations: 4 kB / 478.1 MB, free: 6.902 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_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$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 (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.0001301/0.1494, allocations: 134.3 kB / 478.2 MB, free: 6.762 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.983e-05/0.1495, allocations: 19.77 kB / 478.2 MB, free: 6.742 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.659e-05/0.1495, allocations: 17 kB / 478.2 MB, free: 6.723 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.1495, allocations: 4 kB / 478.2 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1495, allocations: 0 / 478.2 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.1495, allocations: 3.984 kB / 478.2 MB, free: 6.715 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001803/0.1497, allocations: 221.5 kB / 478.5 MB, free: 6.449 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1497, allocations: 0 / 478.5 MB, free: 6.449 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.112e-05/0.1498, allocations: 8 kB / 478.5 MB, free: 6.441 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1498, allocations: 0 / 478.5 MB, free: 6.441 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.697e-05/0.1498, allocations: 11.94 kB / 478.5 MB, free: 6.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1498, allocations: 3.938 kB / 478.5 MB, free: 6.426 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1498, allocations: 0 / 478.5 MB, free: 6.426 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002745/0.1501, allocations: 165.7 kB / 478.6 MB, free: 6.242 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.384e-05/0.1502, allocations: 100.8 kB / 478.7 MB, free: 6.125 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.426e-05/0.1502, allocations: 8 kB / 478.8 MB, free: 6.117 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.666e-05/0.1503, allocations: 12.06 kB / 478.8 MB, free: 6.105 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.386e-05/0.1503, allocations: 11.97 kB / 478.8 MB, free: 6.094 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.812e-05/0.1503, allocations: 8 kB / 478.8 MB, free: 6.086 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001534/0.1505, allocations: 156.2 kB / 478.9 MB, free: 5.934 MB / 350.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1505, allocations: 0 / 478.9 MB, free: 5.934 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002617/0.1508, allocations: 43.98 kB / 479 MB, free: 5.891 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,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.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.001537/0.1523, allocations: 1.051 MB / 480 MB, free: 4.984 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002419/0.1526, allocations: 75.91 kB / 480.1 MB, free: 4.91 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.1526, allocations: 4 kB / 480.1 MB, free: 4.906 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001155/0.1527, allocations: 35.92 kB / 480.1 MB, free: 4.871 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003525/0.1531, allocations: 51.91 kB / 480.2 MB, free: 4.82 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001531/0.1546, allocations: 0.8896 MB / 481.1 MB, free: 3.867 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003317/0.155, allocations: 0.7167 MB / 481.8 MB, free: 3.121 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001108/0.1551, allocations: 37.5 kB / 481.8 MB, free: 3.082 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.286e-05/0.1552, allocations: 47.41 kB / 481.9 MB, free: 3.035 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1552, allocations: 0 / 481.9 MB, free: 3.035 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01701/0.1722, allocations: 4.13 MB / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001945/0.1725, allocations: 232.2 kB / 486.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.966/2.139, allocations: 0 / 486.2 MB, free: 14.81 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test80_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test80.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat does not exist to compare? outputFormat=mat