Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test30,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test30,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test30",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001626/0.00163, allocations: 183.1 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.087/2.087, allocations: 205.4 MB / 222.5 MB, free: 9.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001118/0.001117, allocations: 101.6 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5431/0.5431, allocations: 43.55 MB / 362.7 MB, free: 52.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005006/0.0005007, allocations: 16 kB / 431.5 MB, free: 6.074 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1667/0.1672, allocations: 58.85 MB / 490.3 MB, free: 11.14 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.002651/0.1699, allocations: 1.386 MB / 491.7 MB, free: 9.742 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00183/0.1718, allocations: 0.7305 MB / 492.4 MB, free: 9.004 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001163/0.172, allocations: 7.938 kB / 492.4 MB, free: 8.996 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003128/0.1723, allocations: 35.83 kB / 492.5 MB, free: 8.961 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002549/0.1726, allocations: 39.89 kB / 492.5 MB, free: 8.922 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003956/0.173, allocations: 79.77 kB / 492.6 MB, free: 8.844 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001863/0.1732, allocations: 59.86 kB / 492.7 MB, free: 8.785 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.1733, allocations: 16.2 kB / 492.7 MB, free: 8.77 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.1734, allocations: 31.86 kB / 492.7 MB, free: 8.738 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.178e-05/0.1735, allocations: 31.84 kB / 492.7 MB, free: 8.707 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.169e-05/0.1736, allocations: 4 kB / 492.7 MB, free: 8.703 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001408/0.1737, allocations: 27.92 kB / 492.8 MB, free: 8.676 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.203e-05/0.1738, allocations: 15.92 kB / 492.8 MB, free: 8.66 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.255e-05/0.1738, allocations: 37.64 kB / 492.8 MB, free: 8.617 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002182/0.1741, allocations: 88.09 kB / 492.9 MB, free: 8.531 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.1741, allocations: 0 / 492.9 MB, free: 8.531 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1741, allocations: 0 / 492.9 MB, free: 8.531 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.1741, allocations: 0 / 492.9 MB, free: 8.531 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006954/0.1748, allocations: 406.8 kB / 493.3 MB, free: 8.086 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.435e-05/0.1749, allocations: 8.031 kB / 493.3 MB, free: 8.078 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.529e-05/0.1749, allocations: 34.56 kB / 493.3 MB, free: 8.035 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.413e-05/0.175, allocations: 11.89 kB / 493.4 MB, free: 8.023 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000323/0.1753, allocations: 206.8 kB / 493.6 MB, free: 7.781 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/0.1754, allocations: 0 / 493.6 MB, free: 7.781 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.261e-05/0.1754, allocations: 7.984 kB / 493.6 MB, free: 7.773 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002029/0.1757, allocations: 57.61 kB / 493.6 MB, free: 7.711 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/0.1757, allocations: 3.984 kB / 493.6 MB, free: 7.707 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.1757, allocations: 3.953 kB / 493.6 MB, free: 7.703 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.1757, allocations: 4 kB / 493.6 MB, free: 7.699 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001094/0.1758, allocations: 19.98 kB / 493.6 MB, free: 7.68 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004895/0.1763, allocations: 280.9 kB / 493.9 MB, free: 7.355 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002417/0.1766, allocations: 58.62 kB / 494 MB, free: 7.289 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.795e-05/0.1767, allocations: 0 / 494 MB, free: 7.289 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002584/0.1769, allocations: 71.47 kB / 494.1 MB, free: 7.207 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.184e-06/0.1769, allocations: 0 / 494.1 MB, free: 7.207 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008143/0.1778, allocations: 173.2 kB / 494.2 MB, free: 7.031 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.805e-05/0.1778, allocations: 51.41 kB / 494.3 MB, free: 6.969 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002774/0.1781, allocations: 190.2 kB / 494.5 MB, free: 6.77 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.1782, allocations: 25.7 kB / 494.5 MB, free: 6.738 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.829e-05/0.1783, allocations: 166.6 kB / 494.6 MB, free: 6.574 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.74e-05/0.1783, allocations: 31.62 kB / 494.7 MB, free: 6.543 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.024e-05/0.1783, allocations: 4 kB / 494.7 MB, free: 6.539 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.1785, allocations: 310.8 kB / 495 MB, free: 6.227 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.426e-05/0.1786, allocations: 19.98 kB / 495 MB, free: 6.207 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001076/0.1787, allocations: 41.64 kB / 495 MB, free: 6.16 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.893e-05/0.1788, allocations: 20 kB / 495.1 MB, free: 6.141 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1789, allocations: 4 kB / 495.1 MB, free: 6.137 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000302/0.1792, allocations: 97.56 kB / 495.2 MB, free: 6.035 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.1792, allocations: 8 kB / 495.2 MB, free: 6.027 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.829e-06/0.1792, allocations: 0 / 495.2 MB, free: 6.027 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.1792, allocations: 3.938 kB / 495.2 MB, free: 6.023 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001753/0.1794, allocations: 12 kB / 495.2 MB, free: 6.012 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.1795, allocations: 4 kB / 495.2 MB, free: 6.008 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.616e-05/0.1796, allocations: 3.984 kB / 495.2 MB, free: 6.004 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.932e-05/0.1796, allocations: 8 kB / 495.2 MB, free: 5.996 MB / 378.7 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 (10): * Single equations (assignments): 10 * 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.0001471/0.1797, allocations: 125.9 kB / 495.3 MB, free: 5.863 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.327e-05/0.1798, allocations: 19.77 kB / 495.3 MB, free: 5.844 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.738e-05/0.1799, allocations: 16.7 kB / 495.4 MB, free: 5.832 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.1799, allocations: 0 / 495.4 MB, free: 5.832 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.1799, allocations: 0 / 495.4 MB, free: 5.832 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.1799, allocations: 0 / 495.4 MB, free: 5.832 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006788/0.1806, allocations: 395.3 kB / 495.7 MB, free: 5.387 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.1806, allocations: 4.031 kB / 495.7 MB, free: 5.383 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.249e-05/0.1807, allocations: 11.94 kB / 495.8 MB, free: 5.371 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.675e-06/0.1807, allocations: 3.984 kB / 495.8 MB, free: 5.367 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.1807, allocations: 0 / 495.8 MB, free: 5.367 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.101e-06/0.1807, allocations: 4 kB / 495.8 MB, free: 5.363 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.1807, allocations: 0 / 495.8 MB, free: 5.363 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003608/0.1811, allocations: 218.2 kB / 496 MB, free: 5.125 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.596e-05/0.1812, allocations: 92.92 kB / 496.1 MB, free: 5.016 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.65e-05/0.1812, allocations: 3.984 kB / 496.1 MB, free: 5.012 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.1814, allocations: 4 kB / 496.1 MB, free: 5.008 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.012e-05/0.1814, allocations: 7.984 kB / 496.1 MB, free: 5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.519e-05/0.1815, allocations: 4.188 kB / 496.1 MB, free: 4.996 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001849/0.1817, allocations: 148 kB / 496.2 MB, free: 4.852 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.1817, allocations: 3.938 kB / 496.2 MB, free: 4.848 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003619/0.182, allocations: 23.98 kB / 496.3 MB, free: 4.824 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 6 * 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.002084/0.1841, allocations: 1.179 MB / 497.4 MB, free: 3.664 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003238/0.1845, allocations: 59.91 kB / 497.5 MB, free: 3.605 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.1845, allocations: 0 / 497.5 MB, free: 3.605 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001142/0.1847, allocations: 27.92 kB / 497.5 MB, free: 3.578 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004156/0.1851, allocations: 27.97 kB / 497.6 MB, free: 3.551 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001812/0.1869, allocations: 0.8723 MB / 498.4 MB, free: 2.617 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003704/0.1873, allocations: 0.7082 MB / 499.1 MB, free: 1.883 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001129/0.1875, allocations: 35.42 kB / 499.2 MB, free: 1.848 MB / 378.7 MB Notification: Performance of SimCode: time 1.482e-06/0.1875, allocations: 0 / 499.2 MB, free: 1.848 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.187/3.375, allocations: 2.395 MB / 0.4898 GB, free: 42.37 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test30_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test30.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat does not exist to compare? outputFormat=mat