Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test37,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test37",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.0008691/0.0008692, allocations: 96.41 kB / 16.99 MB, free: 5.941 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.0008582/0.0008583, allocations: 181.1 kB / 17.87 MB, free: 5.609 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.456/1.456, allocations: 223.2 MB / 241.8 MB, free: 14.64 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.2318/0.2318, allocations: 44.22 MB / 337.1 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005034/0.0005036, allocations: 9.625 kB / 409.6 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1629, allocations: 61.93 MB / 471.6 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.002094/0.165, allocations: 1.348 MB / 472.9 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001318/0.1664, allocations: 0.7803 MB / 473.7 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.144e-05/0.1665, allocations: 3.938 kB / 473.7 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000337/0.1668, allocations: 59.78 kB / 473.7 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001988/0.167, allocations: 51.88 kB / 473.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002814/0.1673, allocations: 83.77 kB / 473.9 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001588/0.1675, allocations: 63.84 kB / 473.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.773e-05/0.1676, allocations: 8 kB / 473.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.386e-05/0.1677, allocations: 39.84 kB / 474 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.331e-05/0.1678, allocations: 35.83 kB / 474 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.304e-05/0.1678, allocations: 0 / 474 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.956e-05/0.1679, allocations: 19.94 kB / 474 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.223e-05/0.1679, allocations: 23.91 kB / 474.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.389e-05/0.168, allocations: 37.64 kB / 474.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001506/0.1682, allocations: 76.11 kB / 474.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.1682, allocations: 0 / 474.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1682, allocations: 0 / 474.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.1682, allocations: 4 kB / 474.2 MB, free: 10.97 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.0005499/0.1687, allocations: 387 kB / 474.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.1688, allocations: 11.97 kB / 474.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.125e-05/0.1688, allocations: 30.56 kB / 474.6 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.515e-05/0.1689, allocations: 7.906 kB / 474.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002415/0.1691, allocations: 202.9 kB / 474.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.1691, allocations: 0 / 474.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/0.1692, allocations: 11.95 kB / 474.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.1693, allocations: 53.61 kB / 474.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.1693, allocations: 0 / 474.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.1694, allocations: 0 / 474.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.1694, allocations: 0 / 474.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.416e-05/0.1694, allocations: 15.98 kB / 474.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002386/0.1697, allocations: 189.6 kB / 475.1 MB, free: 9.926 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001522/0.1698, allocations: 50.62 kB / 475.1 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.623e-05/0.1699, allocations: 0 / 475.1 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001982/0.1701, allocations: 71.38 kB / 475.2 MB, free: 9.785 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.233e-06/0.1701, allocations: 0 / 475.2 MB, free: 9.785 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002862/0.1704, allocations: 97.55 kB / 475.3 MB, free: 9.684 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.74e-05/0.1704, allocations: 55.41 kB / 475.3 MB, free: 9.617 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001954/0.1707, allocations: 186.1 kB / 475.5 MB, free: 9.426 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/0.1707, allocations: 29.7 kB / 475.5 MB, free: 9.391 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.881e-05/0.1707, allocations: 100.1 kB / 475.6 MB, free: 9.289 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.593e-05/0.1708, allocations: 15.75 kB / 475.7 MB, free: 9.273 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.853e-06/0.1708, allocations: 4 kB / 475.7 MB, free: 9.27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002111/0.171, allocations: 322.8 kB / 476 MB, free: 8.945 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.434e-05/0.1711, allocations: 15.92 kB / 476 MB, free: 8.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.592e-05/0.1711, allocations: 29.7 kB / 476 MB, free: 8.895 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.941e-05/0.1712, allocations: 20 kB / 476 MB, free: 8.875 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1712, allocations: 0 / 476 MB, free: 8.875 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001454/0.1713, allocations: 77.53 kB / 476.1 MB, free: 8.793 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.1714, allocations: 11.95 kB / 476.1 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.1714, allocations: 0 / 476.1 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.1714, allocations: 0 / 476.1 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.913e-05/0.1715, allocations: 11.98 kB / 476.1 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.737e-06/0.1715, allocations: 4 kB / 476.1 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.469e-05/0.1716, allocations: 3.938 kB / 476.2 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.759e-05/0.1716, allocations: 8.031 kB / 476.2 MB, free: 8.754 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.0001112/0.1717, allocations: 126.4 kB / 476.3 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.773e-05/0.1717, allocations: 11.81 kB / 476.3 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.272e-05/0.1718, allocations: 16.27 kB / 476.3 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.1718, allocations: 0 / 476.3 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.1718, allocations: 4 kB / 476.3 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1718, allocations: 0 / 476.3 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001492/0.172, allocations: 181.6 kB / 476.5 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.172, allocations: 0 / 476.5 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.001e-05/0.172, allocations: 11.94 kB / 476.5 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.172, allocations: 0 / 476.5 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.172, allocations: 8 kB / 476.5 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.172, allocations: 4.266 kB / 476.5 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.172, allocations: 0 / 476.5 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001738/0.1722, allocations: 105 kB / 476.6 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.762e-05/0.1723, allocations: 93 kB / 476.7 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.27e-05/0.1723, allocations: 0 / 476.7 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.769e-05/0.1724, allocations: 8 kB / 476.7 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.814e-05/0.1724, allocations: 3.953 kB / 476.7 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.732e-05/0.1724, allocations: 7.984 kB / 476.7 MB, free: 8.086 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000123/0.1725, allocations: 135.2 kB / 476.9 MB, free: 7.953 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1726, allocations: 0 / 476.9 MB, free: 7.953 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002322/0.1728, allocations: 20 kB / 476.9 MB, free: 7.934 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.00143/0.1742, allocations: 0.9527 MB / 477.8 MB, free: 7.109 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001688/0.1744, allocations: 47.91 kB / 477.9 MB, free: 7.062 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1744, allocations: 0 / 477.9 MB, free: 7.062 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.146e-05/0.1745, allocations: 16 kB / 477.9 MB, free: 7.047 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002389/0.1747, allocations: 27.92 kB / 477.9 MB, free: 7.02 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001104/0.1759, allocations: 0.7856 MB / 478.7 MB, free: 6.18 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002741/0.1761, allocations: 0.7082 MB / 479.4 MB, free: 5.445 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.805e-05/0.1762, allocations: 16.53 kB / 479.4 MB, free: 5.43 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.334e-05/0.1763, allocations: 27.44 kB / 479.5 MB, free: 5.402 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1763, allocations: 0 / 479.5 MB, free: 5.402 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01342/0.1897, allocations: 2.622 MB / 482.1 MB, free: 2.91 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001673/0.1899, allocations: 223.4 kB / 482.3 MB, free: 2.664 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.732/1.922, allocations: 0 / 482.3 MB, free: 2.664 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test37_fmu --startTime=0 --stopTime=3.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test37.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat does not exist to compare? outputFormat=mat