Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test36,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test36",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.0009404/0.0009403, allocations: 97.48 kB / 17 MB, free: 6.477 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.001052/0.001052, allocations: 181.7 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.411/1.411, allocations: 223.3 MB / 241.9 MB, free: 328 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.2092/0.2092, allocations: 44.22 MB / 337.2 MB, free: 2.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004151/0.0004152, allocations: 8 kB / 409.7 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1494, allocations: 61.92 MB / 471.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.002755/0.1523, allocations: 1.414 MB / 473.1 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00153/0.1538, allocations: 0.7997 MB / 473.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000114/0.154, allocations: 8 kB / 473.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003587/0.1543, allocations: 91.73 kB / 474 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002637/0.1546, allocations: 71.73 kB / 474 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003714/0.155, allocations: 87.33 kB / 474.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002251/0.1552, allocations: 103.7 kB / 474.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.1554, allocations: 11.98 kB / 474.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001319/0.1555, allocations: 43.78 kB / 474.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001257/0.1556, allocations: 55.81 kB / 474.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.841e-05/0.1557, allocations: 4 kB / 474.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001597/0.1558, allocations: 51.97 kB / 474.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.716e-05/0.1559, allocations: 23.86 kB / 474.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.863e-05/0.1559, allocations: 41.64 kB / 474.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002106/0.1562, allocations: 96.08 kB / 474.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/0.1562, allocations: 3.984 kB / 474.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.1562, allocations: 0 / 474.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.1562, allocations: 3.938 kB / 474.6 MB, free: 10.7 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.0005513/0.1568, allocations: 418.8 kB / 475 MB, free: 10.24 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.1568, allocations: 8.031 kB / 475 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.016e-05/0.1569, allocations: 34.55 kB / 475 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.642e-05/0.1569, allocations: 15.81 kB / 475 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002313/0.1572, allocations: 215.3 kB / 475.2 MB, free: 9.922 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.1572, allocations: 0 / 475.2 MB, free: 9.922 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.487e-05/0.1572, allocations: 11.89 kB / 475.2 MB, free: 9.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.1574, allocations: 61.67 kB / 475.3 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.1574, allocations: 4 kB / 475.3 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.1574, allocations: 0 / 475.3 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.1574, allocations: 0 / 475.3 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.745e-05/0.1575, allocations: 19.98 kB / 475.3 MB, free: 9.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004359/0.1579, allocations: 304.7 kB / 475.6 MB, free: 9.473 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002452/0.1582, allocations: 66.48 kB / 475.7 MB, free: 9.398 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.941e-05/0.1583, allocations: 24.97 kB / 475.7 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.706e-05/0.1583, allocations: 8.062 kB / 475.7 MB, free: 9.363 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002045/0.1585, allocations: 63.39 kB / 475.8 MB, free: 9.289 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.814e-06/0.1585, allocations: 0 / 475.8 MB, free: 9.289 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007803/0.1593, allocations: 241.5 kB / 476 MB, free: 9.047 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.777e-05/0.1594, allocations: 63.28 kB / 476.1 MB, free: 8.973 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002275/0.1596, allocations: 226.6 kB / 476.3 MB, free: 8.734 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.1596, allocations: 25.7 kB / 476.3 MB, free: 8.703 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.32e-05/0.1597, allocations: 108.1 kB / 476.4 MB, free: 8.594 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.04e-05/0.1598, allocations: 43.44 kB / 476.5 MB, free: 8.551 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.31e-06/0.1598, allocations: 0 / 476.5 MB, free: 8.551 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.1599, allocations: 330.8 kB / 476.8 MB, free: 8.219 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.456e-05/0.16, allocations: 27.98 kB / 476.8 MB, free: 8.191 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.4e-05/0.16, allocations: 45.7 kB / 476.9 MB, free: 8.141 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.642e-05/0.1601, allocations: 32 kB / 476.9 MB, free: 8.109 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1601, allocations: 4 kB / 476.9 MB, free: 8.105 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002072/0.1604, allocations: 121.6 kB / 477 MB, free: 7.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.1604, allocations: 11.94 kB / 477 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.1604, allocations: 0 / 477 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.1604, allocations: 0 / 477 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.182e-05/0.1605, allocations: 23.98 kB / 477.1 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.1605, allocations: 4.031 kB / 477.1 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.232e-05/0.1606, allocations: 8 kB / 477.1 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.1606, allocations: 0 / 477.1 MB, free: 7.934 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 (13): * Single equations (assignments): 13 * 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.0001158/0.1607, allocations: 145.7 kB / 477.2 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.109e-05/0.1607, allocations: 11.81 kB / 477.2 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.017e-05/0.1608, allocations: 21.39 kB / 477.2 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1608, allocations: 3.938 kB / 477.2 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/0.1608, allocations: 0 / 477.2 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.1608, allocations: 4 kB / 477.3 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005194/0.1613, allocations: 456 kB / 477.7 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.1614, allocations: 0 / 477.7 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.549e-05/0.1614, allocations: 12 kB / 477.7 MB, free: 7.223 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.197e-06/0.1614, allocations: 0 / 477.7 MB, free: 7.223 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/0.1614, allocations: 4 kB / 477.7 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.1614, allocations: 0 / 477.7 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.1615, allocations: 12.02 kB / 477.7 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002722/0.1617, allocations: 233 kB / 478 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.899e-05/0.1618, allocations: 92.91 kB / 478 MB, free: 6.848 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.567e-05/0.1618, allocations: 4 kB / 478 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.485e-05/0.1619, allocations: 8 kB / 478.1 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.439e-05/0.162, allocations: 15.94 kB / 478.1 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.859e-05/0.162, allocations: 4 kB / 478.1 MB, free: 6.816 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001361/0.1621, allocations: 172.3 kB / 478.2 MB, free: 6.648 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1621, allocations: 0 / 478.2 MB, free: 6.648 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002804/0.1624, allocations: 31.98 kB / 478.3 MB, free: 6.617 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * 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.001554/0.164, allocations: 1.17 MB / 479.4 MB, free: 5.625 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002001/0.1642, allocations: 75.91 kB / 479.5 MB, free: 5.551 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1642, allocations: 0 / 479.5 MB, free: 5.551 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.495e-05/0.1643, allocations: 43.92 kB / 479.6 MB, free: 5.508 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000358/0.1647, allocations: 32.31 kB / 479.6 MB, free: 5.477 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001357/0.166, allocations: 0.8623 MB / 480.5 MB, free: 4.562 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002819/0.1663, allocations: 0.7199 MB / 481.2 MB, free: 3.816 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.242e-05/0.1664, allocations: 20.64 kB / 481.2 MB, free: 3.797 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.662e-05/0.1665, allocations: 43.41 kB / 481.2 MB, free: 3.754 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1665, allocations: 0 / 481.2 MB, free: 3.754 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01505/0.1816, allocations: 3.384 MB / 484.6 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003425/0.182, allocations: 224.3 kB / 484.8 MB, free: 276 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.912/2.094, allocations: 0 / 484.8 MB, free: 276 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test36_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test36.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat does not exist to compare? outputFormat=mat