Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.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 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 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 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.Test47,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test47,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test47",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.0009858/0.0009858, allocations: 97.14 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 178.1 kB / 16.57 MB, free: 6.852 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.789/1.789, allocations: 205.4 MB / 222.7 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4688/0.4688, allocations: 43.54 MB / 314.5 MB, free: 9.027 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006539/0.0006542, allocations: 12 kB / 384 MB, free: 8.168 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1747, allocations: 58.85 MB / 442.9 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.002701/0.1775, allocations: 1.384 MB / 444.2 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00154/0.1791, allocations: 0.7306 MB / 445 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001237/0.1793, allocations: 4 kB / 445 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003423/0.1796, allocations: 31.83 kB / 445 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003067/0.1799, allocations: 59.8 kB / 445.1 MB, free: 10.98 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003412/0.1803, allocations: 59.86 kB / 445.1 MB, free: 10.92 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002237/0.1805, allocations: 63.84 kB / 445.2 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.1806, allocations: 16.22 kB / 445.2 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001369/0.1808, allocations: 47.77 kB / 445.3 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.84e-05/0.1809, allocations: 27.84 kB / 445.3 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.1809, allocations: 4 kB / 445.3 MB, free: 10.76 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001262/0.1811, allocations: 31.88 kB / 445.3 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.674e-05/0.1811, allocations: 27.91 kB / 445.3 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.012e-05/0.1812, allocations: 41.64 kB / 445.4 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002565/0.1815, allocations: 92.08 kB / 445.5 MB, free: 10.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1815, allocations: 0 / 445.5 MB, free: 10.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.1815, allocations: 0 / 445.5 MB, free: 10.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.603e-06/0.1815, allocations: 0 / 445.5 MB, free: 10.57 MB / 382.1 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.0006928/0.1822, allocations: 430.6 kB / 445.9 MB, free: 10.1 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.1823, allocations: 12.03 kB / 445.9 MB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.517e-05/0.1823, allocations: 34.56 kB / 445.9 MB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.18e-05/0.1824, allocations: 11.81 kB / 445.9 MB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003485/0.1827, allocations: 218.7 kB / 446.2 MB, free: 9.777 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.1828, allocations: 4 kB / 446.2 MB, free: 9.773 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.48e-05/0.1828, allocations: 4 kB / 446.2 MB, free: 9.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.183, allocations: 53.67 kB / 446.2 MB, free: 9.711 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.183, allocations: 0 / 446.2 MB, free: 9.711 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.183, allocations: 3.953 kB / 446.2 MB, free: 9.707 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.183, allocations: 4 kB / 446.2 MB, free: 9.703 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.909e-05/0.1831, allocations: 19.98 kB / 446.2 MB, free: 9.684 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004763/0.1836, allocations: 288.9 kB / 446.5 MB, free: 9.352 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001749/0.1838, allocations: 58.61 kB / 446.6 MB, free: 9.285 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.697e-05/0.1838, allocations: 128 / 446.6 MB, free: 9.285 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002324/0.1841, allocations: 75.34 kB / 446.7 MB, free: 9.199 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.894e-06/0.1841, allocations: 0 / 446.7 MB, free: 9.199 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006546/0.1847, allocations: 181 kB / 446.8 MB, free: 9.016 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.602e-05/0.1848, allocations: 59.39 kB / 446.9 MB, free: 8.945 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002714/0.1851, allocations: 254.5 kB / 447.1 MB, free: 8.684 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.1851, allocations: 29.7 kB / 447.2 MB, free: 8.648 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.693e-05/0.1852, allocations: 112 kB / 447.3 MB, free: 8.535 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.157e-05/0.1852, allocations: 27.66 kB / 447.3 MB, free: 8.508 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.623e-06/0.1852, allocations: 4 kB / 447.3 MB, free: 8.504 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.1854, allocations: 330.8 kB / 447.6 MB, free: 8.172 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.968e-05/0.1855, allocations: 19.94 kB / 447.7 MB, free: 8.152 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.602e-05/0.1856, allocations: 41.64 kB / 447.7 MB, free: 8.105 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.092e-05/0.1856, allocations: 28.05 kB / 447.7 MB, free: 8.078 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1856, allocations: 0 / 447.7 MB, free: 8.078 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000187/0.1858, allocations: 109.4 kB / 447.8 MB, free: 7.965 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.1859, allocations: 8 kB / 447.8 MB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.1859, allocations: 0 / 447.8 MB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.1859, allocations: 0 / 447.8 MB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.186, allocations: 16.36 kB / 447.9 MB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.186, allocations: 4 kB / 447.9 MB, free: 7.938 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.675e-05/0.1861, allocations: 0 / 447.9 MB, free: 7.938 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.1861, allocations: 8 kB / 447.9 MB, free: 7.93 MB / 382.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 (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.0001312/0.1862, allocations: 141.8 kB / 448 MB, free: 7.781 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.502e-05/0.1863, allocations: 23.7 kB / 448 MB, free: 7.758 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.497e-05/0.1863, allocations: 21.39 kB / 448.1 MB, free: 7.738 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.1863, allocations: 4 kB / 448.1 MB, free: 7.734 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.1863, allocations: 0 / 448.1 MB, free: 7.734 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.1863, allocations: 0 / 448.1 MB, free: 7.734 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004887/0.1868, allocations: 407.2 kB / 448.5 MB, free: 7.277 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1869, allocations: 0 / 448.5 MB, free: 7.277 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.207e-05/0.1869, allocations: 12.03 kB / 448.5 MB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.1869, allocations: 0 / 448.5 MB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.1869, allocations: 8 kB / 448.5 MB, free: 7.258 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1869, allocations: 0 / 448.5 MB, free: 7.258 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.1869, allocations: 0 / 448.5 MB, free: 7.258 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002456/0.1872, allocations: 217.8 kB / 448.7 MB, free: 7.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.497e-05/0.1873, allocations: 93.02 kB / 448.8 MB, free: 6.91 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.897e-05/0.1873, allocations: 4 kB / 448.8 MB, free: 6.906 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.134e-05/0.1874, allocations: 7.922 kB / 448.8 MB, free: 6.898 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.202e-05/0.1874, allocations: 8 kB / 448.8 MB, free: 6.891 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.736e-05/0.1875, allocations: 4 kB / 448.8 MB, free: 6.887 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001889/0.1877, allocations: 204 kB / 449 MB, free: 6.688 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1877, allocations: 0 / 449 MB, free: 6.688 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002601/0.1879, allocations: 24 kB / 449 MB, free: 6.664 MB / 382.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: 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.001635/0.1896, allocations: 1.188 MB / 450.2 MB, free: 5.48 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001831/0.1898, allocations: 55.92 kB / 450.3 MB, free: 5.426 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1898, allocations: 0 / 450.3 MB, free: 5.426 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.833e-05/0.1899, allocations: 31.92 kB / 450.3 MB, free: 5.395 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002774/0.1901, allocations: 23.98 kB / 450.3 MB, free: 5.371 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001438/0.1916, allocations: 1.014 MB / 451.3 MB, free: 4.301 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000309/0.1919, allocations: 0.7199 MB / 452.1 MB, free: 3.555 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.008e-05/0.192, allocations: 12.89 kB / 452.1 MB, free: 3.543 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.897e-05/0.1921, allocations: 47.41 kB / 452.1 MB, free: 3.496 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1921, allocations: 0 / 452.1 MB, free: 3.496 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01584/0.2079, allocations: 3.235 MB / 455.3 MB, free: 264 kB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001919/0.2082, allocations: 208.5 kB / 455.6 MB, free: 24 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.801/2.009, allocations: 3.938 kB / 455.6 MB, free: 20 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test47_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test47.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat does not exist to compare? outputFormat=mat