Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.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.Test65,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test65,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test65",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.001055/0.001055, allocations: 93.52 kB / 16.99 MB, free: 5.938 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.001009/0.001009, allocations: 180.9 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.361/1.361, allocations: 223.2 MB / 241.8 MB, free: 380 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.2123/0.2123, allocations: 44.23 MB / 337.1 MB, free: 2.891 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005224/0.0005226, allocations: 12 kB / 409.6 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1603, allocations: 61.92 MB / 471.6 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.002357/0.1628, allocations: 1.351 MB / 472.9 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001251/0.164, allocations: 0.7724 MB / 473.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.821e-05/0.1641, allocations: 7.938 kB / 473.7 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003311/0.1645, allocations: 79.75 kB / 473.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001856/0.1647, allocations: 63.84 kB / 473.8 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002324/0.1649, allocations: 83.77 kB / 473.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001437/0.1651, allocations: 67.84 kB / 474 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.43e-05/0.1651, allocations: 7.984 kB / 474 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.727e-05/0.1652, allocations: 43.83 kB / 474 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.573e-05/0.1653, allocations: 43.83 kB / 474.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.627e-05/0.1653, allocations: 4 kB / 474.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.616e-05/0.1654, allocations: 19.92 kB / 474.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.195e-05/0.1655, allocations: 23.92 kB / 474.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.908e-05/0.1656, allocations: 37.64 kB / 474.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000172/0.1657, allocations: 80.09 kB / 474.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1658, allocations: 0 / 474.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1658, allocations: 0 / 474.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.656e-06/0.1658, allocations: 0 / 474.2 MB, free: 10.96 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.0006132/0.1664, allocations: 398.9 kB / 474.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.907e-05/0.1665, allocations: 8.031 kB / 474.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.842e-05/0.1665, allocations: 34.5 kB / 474.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.667e-05/0.1666, allocations: 11.91 kB / 474.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003206/0.1669, allocations: 202.9 kB / 474.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.065e-05/0.1669, allocations: 4 kB / 474.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.755e-05/0.167, allocations: 7.891 kB / 474.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001723/0.1671, allocations: 45.67 kB / 474.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.1672, allocations: 0 / 474.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.688e-05/0.1672, allocations: 4 kB / 474.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.1672, allocations: 0 / 474.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.185e-05/0.1673, allocations: 15.98 kB / 474.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002909/0.1676, allocations: 189.7 kB / 475.1 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002105/0.1678, allocations: 58.55 kB / 475.2 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.474e-05/0.1679, allocations: 4 kB / 475.2 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002652/0.1682, allocations: 71.34 kB / 475.3 MB, free: 9.754 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 7.284e-06/0.1682, allocations: 4 kB / 475.3 MB, free: 9.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003783/0.1686, allocations: 85.58 kB / 475.3 MB, free: 9.66 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.191e-05/0.1687, allocations: 63.28 kB / 475.4 MB, free: 9.586 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002859/0.169, allocations: 215.5 kB / 475.6 MB, free: 9.363 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.389e-05/0.169, allocations: 29.7 kB / 475.6 MB, free: 9.328 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.438e-05/0.1691, allocations: 100.1 kB / 475.7 MB, free: 9.227 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.309e-05/0.1692, allocations: 19.73 kB / 475.8 MB, free: 9.207 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.35e-06/0.1692, allocations: 0 / 475.8 MB, free: 9.207 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001711/0.1694, allocations: 330.8 kB / 476.1 MB, free: 8.875 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.346e-05/0.1694, allocations: 12 kB / 476.1 MB, free: 8.863 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.007e-05/0.1695, allocations: 25.7 kB / 476.1 MB, free: 8.832 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.676e-05/0.1696, allocations: 16 kB / 476.1 MB, free: 8.816 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.1696, allocations: 0 / 476.1 MB, free: 8.816 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002089/0.1698, allocations: 85.52 kB / 476.2 MB, free: 8.727 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.545e-05/0.1699, allocations: 7.953 kB / 476.2 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.1699, allocations: 4.031 kB / 476.2 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.1699, allocations: 0 / 476.2 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.17, allocations: 12 kB / 476.2 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.136e-06/0.17, allocations: 0 / 476.2 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.568e-05/0.1701, allocations: 4 kB / 476.3 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.1701, allocations: 3.938 kB / 476.3 MB, free: 8.695 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.0001588/0.1703, allocations: 130.4 kB / 476.4 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.429e-05/0.1703, allocations: 11.81 kB / 476.4 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.532e-05/0.1704, allocations: 16.94 kB / 476.4 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.1704, allocations: 11.94 kB / 476.4 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.1704, allocations: 0 / 476.4 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.1704, allocations: 3.984 kB / 476.4 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001995/0.1707, allocations: 185.6 kB / 476.6 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.1707, allocations: 3.984 kB / 476.6 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.587e-05/0.1707, allocations: 4 kB / 476.6 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1707, allocations: 0 / 476.6 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.301e-05/0.1707, allocations: 0 / 476.6 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.641e-06/0.1707, allocations: 4.266 kB / 476.6 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.1708, allocations: 0 / 476.6 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002301/0.171, allocations: 113 kB / 476.7 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.3e-05/0.1711, allocations: 88.92 kB / 476.8 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.675e-05/0.1711, allocations: 4 kB / 476.8 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.408e-05/0.1712, allocations: 3.984 kB / 476.8 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.072e-05/0.1712, allocations: 7.953 kB / 476.8 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.685e-05/0.1712, allocations: 0 / 476.8 MB, free: 8.023 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001846/0.1714, allocations: 167.2 kB / 477 MB, free: 7.859 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1714, allocations: 0 / 477 MB, free: 7.859 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003088/0.1718, allocations: 20 kB / 477 MB, free: 7.84 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.001724/0.1735, allocations: 0.9399 MB / 478 MB, free: 7.035 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001931/0.1737, allocations: 43.92 kB / 478 MB, free: 6.992 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1737, allocations: 4.062 kB / 478 MB, free: 6.988 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.742e-05/0.1738, allocations: 19.98 kB / 478 MB, free: 6.969 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002959/0.1741, allocations: 27.88 kB / 478 MB, free: 6.941 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00148/0.1756, allocations: 0.8311 MB / 478.9 MB, free: 6.051 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003507/0.176, allocations: 0.7082 MB / 479.6 MB, free: 5.316 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.849e-05/0.1761, allocations: 20.53 kB / 479.6 MB, free: 5.297 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.268e-05/0.1762, allocations: 27.42 kB / 479.6 MB, free: 5.27 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1762, allocations: 0 / 479.6 MB, free: 5.27 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01904/0.1952, allocations: 2.733 MB / 482.4 MB, free: 2.664 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002822/0.1956, allocations: 220.9 kB / 482.6 MB, free: 2.418 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.724/1.92, allocations: 7.688 kB / 482.6 MB, free: 2.414 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test65_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test65.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat does not exist to compare? outputFormat=mat