Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.Test81,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test81",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.001242/0.001242, allocations: 101.4 kB / 16.99 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.001576/0.001576, allocations: 183.8 kB / 17.87 MB, free: 5.957 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.426/1.426, allocations: 223.2 MB / 241.8 MB, free: 356 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.212/0.212, allocations: 44.23 MB / 337.1 MB, free: 2.867 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000422/0.0004221, allocations: 8 kB / 409.6 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1607, allocations: 61.91 MB / 471.5 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.001975/0.1627, allocations: 1.461 MB / 473 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001955/0.1647, allocations: 1.441 MB / 474.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.477e-05/0.1648, allocations: 0 / 474.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002983/0.1651, allocations: 43.77 kB / 474.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002288/0.1653, allocations: 75.78 kB / 474.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003441/0.1657, allocations: 142.6 kB / 474.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002044/0.1659, allocations: 123.6 kB / 474.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.98e-05/0.1659, allocations: 13.56 kB / 474.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001146/0.1661, allocations: 67.69 kB / 474.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001788/0.1663, allocations: 55.7 kB / 475 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.043e-05/0.1663, allocations: 4 kB / 475 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001162/0.1664, allocations: 43.97 kB / 475 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.625e-05/0.1665, allocations: 15.92 kB / 475 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.682e-05/0.1665, allocations: 49.62 kB / 475.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001878/0.1667, allocations: 135.9 kB / 475.2 MB, free: 9.949 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.1667, allocations: 0 / 475.2 MB, free: 9.949 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1667, allocations: 0 / 475.2 MB, free: 9.949 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.1667, allocations: 0 / 475.2 MB, free: 9.949 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.0006416/0.1674, allocations: 446.6 kB / 475.6 MB, free: 9.465 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.1674, allocations: 8.031 kB / 475.6 MB, free: 9.457 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.581e-05/0.1675, allocations: 42.55 kB / 475.7 MB, free: 9.406 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.227e-05/0.1675, allocations: 15.81 kB / 475.7 MB, free: 9.391 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003183/0.1679, allocations: 230.7 kB / 475.9 MB, free: 9.125 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.1679, allocations: 7.984 kB / 475.9 MB, free: 9.117 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.513e-05/0.1679, allocations: 3.953 kB / 475.9 MB, free: 9.113 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002103/0.1681, allocations: 109 kB / 476 MB, free: 8.988 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.702e-06/0.1681, allocations: 0 / 476 MB, free: 8.988 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.1682, allocations: 4 kB / 476 MB, free: 8.984 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.1682, allocations: 4 kB / 476.1 MB, free: 8.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.774e-05/0.1683, allocations: 23.97 kB / 476.1 MB, free: 8.957 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002228/0.1685, allocations: 218.5 kB / 476.3 MB, free: 8.691 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002411/0.1688, allocations: 105.3 kB / 476.4 MB, free: 8.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.76e-05/0.1688, allocations: 0 / 476.4 MB, free: 8.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002559/0.1691, allocations: 121 kB / 476.5 MB, free: 8.434 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.062e-06/0.1691, allocations: 0 / 476.5 MB, free: 8.434 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004257/0.1695, allocations: 165.4 kB / 476.7 MB, free: 8.266 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.713e-05/0.1696, allocations: 128.5 kB / 476.8 MB, free: 8.109 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002179/0.1698, allocations: 211.8 kB / 477 MB, free: 7.891 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.203e-05/0.1698, allocations: 29.7 kB / 477 MB, free: 7.855 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.729e-05/0.1699, allocations: 116.1 kB / 477.1 MB, free: 7.738 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.282e-05/0.17, allocations: 27.64 kB / 477.2 MB, free: 7.711 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.502e-05/0.17, allocations: 4 kB / 477.2 MB, free: 7.707 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.1701, allocations: 326.8 kB / 477.5 MB, free: 7.379 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.198e-05/0.1702, allocations: 31.98 kB / 477.5 MB, free: 7.348 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.674e-05/0.1703, allocations: 72.31 kB / 477.6 MB, free: 7.262 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.507e-05/0.1704, allocations: 40.47 kB / 477.6 MB, free: 7.223 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.1704, allocations: 0 / 477.6 MB, free: 7.223 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002429/0.1707, allocations: 141.3 kB / 477.8 MB, free: 7.078 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.1707, allocations: 7.953 kB / 477.8 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.1707, allocations: 0 / 477.8 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.1707, allocations: 7.938 kB / 477.8 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.1708, allocations: 27.98 kB / 477.8 MB, free: 7.035 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.1708, allocations: 7.984 kB / 477.8 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.107e-05/0.1709, allocations: 8 kB / 477.8 MB, free: 7.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.828e-06/0.1709, allocations: 4 kB / 477.8 MB, free: 7.016 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.000118/0.1711, allocations: 134.3 kB / 478 MB, free: 6.875 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.626e-05/0.1711, allocations: 15.81 kB / 478 MB, free: 6.859 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.154e-05/0.1712, allocations: 20.94 kB / 478 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.1712, allocations: 4 kB / 478 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.1712, allocations: 7.938 kB / 478 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.1712, allocations: 0 / 478 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001791/0.1714, allocations: 217.5 kB / 478.2 MB, free: 6.562 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1714, allocations: 0 / 478.2 MB, free: 6.562 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.02e-05/0.1714, allocations: 8 kB / 478.2 MB, free: 6.555 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.1714, allocations: 0 / 478.2 MB, free: 6.555 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/0.1714, allocations: 11.98 kB / 478.2 MB, free: 6.543 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.1715, allocations: 3.953 kB / 478.3 MB, free: 6.539 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1715, allocations: 0 / 478.3 MB, free: 6.539 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002851/0.1717, allocations: 175.4 kB / 478.4 MB, free: 6.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.788e-05/0.1718, allocations: 108.8 kB / 478.5 MB, free: 6.215 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.366e-05/0.1719, allocations: 7.953 kB / 478.5 MB, free: 6.207 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.95e-05/0.1719, allocations: 7.984 kB / 478.5 MB, free: 6.199 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.323e-05/0.172, allocations: 7.984 kB / 478.6 MB, free: 6.191 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.719e-05/0.172, allocations: 8.125 kB / 478.6 MB, free: 6.184 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001448/0.1722, allocations: 164.2 kB / 478.7 MB, free: 6.023 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1722, allocations: 0 / 478.7 MB, free: 6.023 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002527/0.1724, allocations: 32 kB / 478.8 MB, free: 5.992 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.001508/0.1739, allocations: 1.128 MB / 479.9 MB, free: 5.004 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002319/0.1742, allocations: 87.84 kB / 480 MB, free: 4.918 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1742, allocations: 0 / 480 MB, free: 4.918 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.449e-05/0.1743, allocations: 40.11 kB / 480 MB, free: 4.879 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002945/0.1746, allocations: 43.95 kB / 480 MB, free: 4.836 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001515/0.1761, allocations: 1.323 MB / 481.4 MB, free: 3.445 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002624/0.1764, allocations: 0.7206 MB / 482.1 MB, free: 2.695 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.987e-05/0.1765, allocations: 33.52 kB / 482.1 MB, free: 2.66 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.255e-05/0.1766, allocations: 55.41 kB / 482.2 MB, free: 2.605 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1766, allocations: 0 / 482.2 MB, free: 2.605 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01726/0.1939, allocations: 4.114 MB / 486.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002159/0.1942, allocations: 216.6 kB / 486.5 MB, free: 14.4 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.798/1.992, allocations: 0 / 486.5 MB, free: 14.4 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test81_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test81.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat does not exist to compare? outputFormat=mat