Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008936/0.0008941, allocations: 97.48 kB / 16.02 MB, free: 84 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.0008727/0.0008728, allocations: 185.9 kB / 16.92 MB, free: 6.891 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.953/1.953, allocations: 205.4 MB / 223.1 MB, free: 5.527 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.5201/0.5201, allocations: 43.57 MB / 315 MB, free: 9.105 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.00064/0.0006405, allocations: 16 kB / 384.6 MB, free: 7.883 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1751/0.1758, allocations: 58.87 MB / 443.5 MB, free: 12.91 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.001959/0.1778, allocations: 1.414 MB / 444.9 MB, free: 11.49 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001303/0.1791, allocations: 0.7807 MB / 445.6 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.455e-05/0.1792, allocations: 0 / 445.6 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000173/0.1794, allocations: 39.83 kB / 445.7 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001688/0.1795, allocations: 47.83 kB / 445.7 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002315/0.1798, allocations: 75.84 kB / 445.8 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001502/0.1799, allocations: 91.7 kB / 445.9 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.18, allocations: 16.2 kB / 445.9 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.604e-05/0.1801, allocations: 35.8 kB / 445.9 MB, free: 10.4 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.283e-05/0.1802, allocations: 31.84 kB / 446 MB, free: 10.37 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.51e-05/0.1802, allocations: 0 / 446 MB, free: 10.37 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.1803, allocations: 35.98 kB / 446 MB, free: 10.33 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.477e-05/0.1804, allocations: 19.86 kB / 446 MB, free: 10.31 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.843e-05/0.1805, allocations: 65.42 kB / 446.1 MB, free: 10.24 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001754/0.1806, allocations: 111.9 kB / 446.2 MB, free: 10.13 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1807, allocations: 0 / 446.2 MB, free: 10.13 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1807, allocations: 0 / 446.2 MB, free: 10.13 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.1807, allocations: 0 / 446.2 MB, free: 10.13 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.0005525/0.1812, allocations: 399.1 kB / 446.6 MB, free: 9.695 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.1813, allocations: 8.031 kB / 446.6 MB, free: 9.688 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.096e-05/0.1813, allocations: 16.83 kB / 446.6 MB, free: 9.672 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002456/0.1816, allocations: 208 kB / 446.8 MB, free: 9.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.9e-05/0.1816, allocations: 4.375 kB / 446.8 MB, free: 9.426 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.968e-05/0.1816, allocations: 4.125 kB / 446.8 MB, free: 9.422 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001551/0.1818, allocations: 53.67 kB / 446.9 MB, free: 9.363 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.1818, allocations: 3.984 kB / 446.9 MB, free: 9.359 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.843e-06/0.1818, allocations: 8 kB / 446.9 MB, free: 9.352 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.1818, allocations: 3.984 kB / 446.9 MB, free: 9.348 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.161e-05/0.1819, allocations: 19.92 kB / 446.9 MB, free: 9.328 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003701/0.1823, allocations: 284.9 kB / 447.2 MB, free: 9 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001632/0.1825, allocations: 58.62 kB / 447.3 MB, free: 8.934 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.247e-05/0.1825, allocations: 24.84 kB / 447.3 MB, free: 8.906 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.1826, allocations: 0 / 447.3 MB, free: 8.906 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001848/0.1828, allocations: 71.28 kB / 447.3 MB, free: 8.824 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.263e-06/0.1828, allocations: 4 kB / 447.3 MB, free: 8.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005117/0.1833, allocations: 165.5 kB / 447.5 MB, free: 8.652 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.76e-05/0.1833, allocations: 55.34 kB / 447.6 MB, free: 8.586 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001818/0.1835, allocations: 190.1 kB / 447.8 MB, free: 8.387 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.1836, allocations: 29.7 kB / 447.8 MB, free: 8.352 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.799e-05/0.1836, allocations: 104.1 kB / 447.9 MB, free: 8.246 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.316e-05/0.1837, allocations: 23.7 kB / 447.9 MB, free: 8.223 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.803e-05/0.1837, allocations: 9.719 kB / 447.9 MB, free: 8.207 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.1838, allocations: 326.8 kB / 448.2 MB, free: 7.879 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.403e-05/0.1839, allocations: 27.92 kB / 448.3 MB, free: 7.852 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.129e-05/0.184, allocations: 33.7 kB / 448.3 MB, free: 7.812 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001096/0.1841, allocations: 61.72 kB / 448.4 MB, free: 7.746 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1841, allocations: 0 / 448.4 MB, free: 7.746 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000172/0.1843, allocations: 101.7 kB / 448.5 MB, free: 7.641 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.1843, allocations: 8 kB / 448.5 MB, free: 7.633 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.745e-06/0.1843, allocations: 0 / 448.5 MB, free: 7.633 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.1843, allocations: 4 kB / 448.5 MB, free: 7.629 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.55e-05/0.1844, allocations: 15.98 kB / 448.5 MB, free: 7.613 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.1844, allocations: 0 / 448.5 MB, free: 7.613 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.086e-05/0.1845, allocations: 15.97 kB / 448.5 MB, free: 7.598 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.1845, allocations: 7.938 kB / 448.5 MB, free: 7.59 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001034/0.1846, allocations: 121.8 kB / 448.6 MB, free: 7.461 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.765e-05/0.1846, allocations: 7.906 kB / 448.6 MB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.267e-05/0.1847, allocations: 20.88 kB / 448.7 MB, free: 7.438 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.1847, allocations: 0 / 448.7 MB, free: 7.438 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.1847, allocations: 0 / 448.7 MB, free: 7.438 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.1847, allocations: 3.938 kB / 448.7 MB, free: 7.434 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004366/0.1852, allocations: 403.2 kB / 449 MB, free: 6.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1852, allocations: 0 / 449 MB, free: 6.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.234e-05/0.1852, allocations: 8 kB / 449.1 MB, free: 6.973 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1852, allocations: 3.938 kB / 449.1 MB, free: 6.969 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.1852, allocations: 7.938 kB / 449.1 MB, free: 6.961 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.307e-06/0.1852, allocations: 4 kB / 449.1 MB, free: 6.957 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1852, allocations: 0 / 449.1 MB, free: 6.957 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002288/0.1855, allocations: 200.3 kB / 449.3 MB, free: 6.742 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.053e-05/0.1856, allocations: 96.91 kB / 449.4 MB, free: 6.629 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.34e-05/0.1856, allocations: 3.938 kB / 449.4 MB, free: 6.625 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.81e-05/0.1857, allocations: 4 kB / 449.4 MB, free: 6.621 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.814e-05/0.1857, allocations: 12.17 kB / 449.4 MB, free: 6.609 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.1857, allocations: 0 / 449.4 MB, free: 6.609 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001168/0.1858, allocations: 152 kB / 449.5 MB, free: 6.461 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1858, allocations: 4 kB / 449.5 MB, free: 6.457 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002347/0.1861, allocations: 20 kB / 449.6 MB, free: 6.438 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001069/0.1872, allocations: 465.1 kB / 450 MB, free: 6.012 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001692/0.1873, allocations: 63.91 kB / 450.1 MB, free: 5.949 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.1874, allocations: 3.938 kB / 450.1 MB, free: 5.945 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.868e-05/0.1874, allocations: 31.92 kB / 450.1 MB, free: 5.914 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000333/0.1878, allocations: 23.98 kB / 450.1 MB, free: 5.891 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004407/0.1882, allocations: 238.8 kB / 450.4 MB, free: 5.629 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003678/0.1886, allocations: 0.7083 MB / 451.1 MB, free: 4.895 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.006e-05/0.1887, allocations: 25.16 kB / 451.1 MB, free: 4.867 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.605e-05/0.1887, allocations: 19.44 kB / 451.1 MB, free: 4.848 MB / 382.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1887, allocations: 0 / 451.1 MB, free: 4.848 MB / 382.1 MB Notification: Performance of Templates: time 0.004542/0.1933, allocations: 1.604 MB / 452.7 MB, free: 3.246 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches