Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.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.Test31,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test31,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test31",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.002467/0.002472, allocations: 188.3 kB / 16.4 MB, free: 5.625 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.114/2.114, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.001176/0.001176, allocations: 94.8 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2989/0.2989, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004917/0.0004917, allocations: 16 kB / 431.5 MB, free: 20.17 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.1714, allocations: 58.86 MB / 490.3 MB, free: 9.238 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.003539/0.175, allocations: 1.379 MB / 491.7 MB, free: 7.844 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0023/0.1773, allocations: 0.7305 MB / 492.4 MB, free: 7.105 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001286/0.1775, allocations: 4 kB / 492.4 MB, free: 7.102 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003734/0.1779, allocations: 35.77 kB / 492.5 MB, free: 7.066 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002953/0.1782, allocations: 39.89 kB / 492.5 MB, free: 7.027 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005156/0.1788, allocations: 75.78 kB / 492.6 MB, free: 6.953 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002338/0.179, allocations: 59.86 kB / 492.6 MB, free: 6.895 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.1792, allocations: 12.22 kB / 492.7 MB, free: 6.883 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001393/0.1793, allocations: 35.84 kB / 492.7 MB, free: 6.848 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.641e-05/0.1794, allocations: 27.86 kB / 492.7 MB, free: 6.82 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.02e-05/0.1795, allocations: 0 / 492.7 MB, free: 6.82 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001837/0.1797, allocations: 35.91 kB / 492.8 MB, free: 6.785 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.881e-05/0.1798, allocations: 19.92 kB / 492.8 MB, free: 6.766 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.58e-05/0.1798, allocations: 37.64 kB / 492.8 MB, free: 6.723 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002724/0.1801, allocations: 80.09 kB / 492.9 MB, free: 6.645 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1801, allocations: 4 kB / 492.9 MB, free: 6.641 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.494e-06/0.1802, allocations: 0 / 492.9 MB, free: 6.641 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.1802, allocations: 0 / 492.9 MB, free: 6.641 MB / 330.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.00081/0.181, allocations: 394.9 kB / 493.3 MB, free: 6.207 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.387e-05/0.1811, allocations: 12.03 kB / 493.3 MB, free: 6.195 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.293e-05/0.1812, allocations: 34.55 kB / 493.3 MB, free: 6.152 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.92e-05/0.1812, allocations: 15.86 kB / 493.3 MB, free: 6.137 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003741/0.1816, allocations: 194.9 kB / 493.5 MB, free: 5.906 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.1817, allocations: 3.938 kB / 493.5 MB, free: 5.902 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.185e-05/0.1817, allocations: 11.98 kB / 493.5 MB, free: 5.891 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002527/0.182, allocations: 53.67 kB / 493.6 MB, free: 5.832 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.182, allocations: 0 / 493.6 MB, free: 5.832 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.182, allocations: 0 / 493.6 MB, free: 5.832 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.1821, allocations: 0 / 493.6 MB, free: 5.832 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001466/0.1822, allocations: 27.94 kB / 493.6 MB, free: 5.805 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006382/0.1829, allocations: 284.8 kB / 493.9 MB, free: 5.477 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003124/0.1832, allocations: 62.61 kB / 494 MB, free: 5.406 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.253e-05/0.1832, allocations: 0 / 494 MB, free: 5.406 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003109/0.1836, allocations: 75.5 kB / 494 MB, free: 5.32 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 2.715e-06/0.1836, allocations: 0 / 494 MB, free: 5.32 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009939/0.1846, allocations: 173.2 kB / 494.2 MB, free: 5.145 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.467e-05/0.1847, allocations: 55.41 kB / 494.3 MB, free: 5.078 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003504/0.185, allocations: 186.1 kB / 494.4 MB, free: 4.887 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.435e-05/0.1851, allocations: 29.7 kB / 494.5 MB, free: 4.852 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000126/0.1852, allocations: 162.6 kB / 494.6 MB, free: 4.691 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.132e-05/0.1853, allocations: 27.64 kB / 494.7 MB, free: 4.664 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.376e-06/0.1853, allocations: 0 / 494.7 MB, free: 4.664 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001788/0.1855, allocations: 314.8 kB / 495 MB, free: 4.348 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/0.1857, allocations: 23.92 kB / 495 MB, free: 4.324 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001453/0.1858, allocations: 45.64 kB / 495 MB, free: 4.273 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001348/0.186, allocations: 20 kB / 495.1 MB, free: 4.254 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.186, allocations: 3.938 kB / 495.1 MB, free: 4.25 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004099/0.1864, allocations: 97.59 kB / 495.2 MB, free: 4.148 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.791e-05/0.1865, allocations: 7.438 kB / 495.2 MB, free: 4.145 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/0.1865, allocations: 3.953 kB / 495.2 MB, free: 4.141 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.172e-05/0.1866, allocations: 4 kB / 495.2 MB, free: 4.137 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001918/0.1868, allocations: 12 kB / 495.2 MB, free: 4.125 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.1868, allocations: 4.031 kB / 495.2 MB, free: 4.121 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000128/0.1869, allocations: 11.98 kB / 495.2 MB, free: 4.109 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.469e-05/0.187, allocations: 0 / 495.2 MB, free: 4.109 MB / 330.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.000198/0.1872, allocations: 128.9 kB / 495.3 MB, free: 3.977 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.558e-05/0.1872, allocations: 15.81 kB / 495.3 MB, free: 3.961 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.383e-05/0.1873, allocations: 16.7 kB / 495.4 MB, free: 3.938 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.678e-06/0.1874, allocations: 7.891 kB / 495.4 MB, free: 3.93 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.1874, allocations: 4 kB / 495.4 MB, free: 3.926 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.1874, allocations: 4 kB / 495.4 MB, free: 3.922 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008988/0.1883, allocations: 379.5 kB / 495.7 MB, free: 3.492 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.1883, allocations: 3.938 kB / 495.7 MB, free: 3.488 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.177e-05/0.1884, allocations: 15.94 kB / 495.8 MB, free: 3.473 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.163e-06/0.1885, allocations: 0 / 495.8 MB, free: 3.473 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.517e-05/0.1885, allocations: 8 kB / 495.8 MB, free: 3.465 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.52e-06/0.1885, allocations: 0 / 495.8 MB, free: 3.465 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/0.1885, allocations: 80 / 495.8 MB, free: 3.465 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000526/0.1891, allocations: 218 kB / 496 MB, free: 3.227 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/0.1892, allocations: 92.91 kB / 496.1 MB, free: 3.117 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.751e-05/0.1893, allocations: 0 / 496.1 MB, free: 3.117 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002027/0.1895, allocations: 8 kB / 496.1 MB, free: 3.109 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.215e-05/0.1896, allocations: 11.92 kB / 496.1 MB, free: 3.098 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.211e-05/0.1897, allocations: 8.375 kB / 496.1 MB, free: 3.09 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002793/0.19, allocations: 135.2 kB / 496.2 MB, free: 2.957 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.19, allocations: 0 / 496.2 MB, free: 2.957 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006525/0.1906, allocations: 27.98 kB / 496.3 MB, free: 2.93 MB / 330.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.00308/0.1937, allocations: 1.172 MB / 497.4 MB, free: 1.781 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004386/0.1942, allocations: 59.89 kB / 497.5 MB, free: 1.723 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.1943, allocations: 4.062 kB / 497.5 MB, free: 1.719 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001729/0.1944, allocations: 35.92 kB / 497.5 MB, free: 1.684 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005853/0.1951, allocations: 19.98 kB / 497.5 MB, free: 1.664 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002501/0.1976, allocations: 0.8641 MB / 498.4 MB, free: 0.7422 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005081/0.1981, allocations: 0.7082 MB / 499.1 MB, free: 8 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001738/0.1983, allocations: 35.5 kB / 499.2 MB, free: 15.97 MB / 346.7 MB Notification: Performance of SimCode: time 1.613e-06/0.1984, allocations: 4 kB / 499.2 MB, free: 15.96 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.671/2.869, allocations: 2.417 MB / 0.4898 GB, free: 13.55 MB / 346.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test31_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test31.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat does not exist to compare? outputFormat=mat