Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33.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.CombiTable1Ds.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 103 kB / 16.02 MB, free: 76 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.0009374/0.0009377, allocations: 185.4 kB / 16.92 MB, free: 6.676 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.943/1.943, allocations: 205.4 MB / 223.1 MB, free: 5.484 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.5037/0.5037, allocations: 43.58 MB / 315 MB, free: 8.766 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.0006112/0.0006115, allocations: 12 kB / 384.6 MB, free: 7.641 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1711/0.1717, allocations: 58.86 MB / 443.4 MB, free: 12.67 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test33): time 0.002165/0.174, allocations: 1.275 MB / 444.7 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001519/0.1755, allocations: 0.9103 MB / 445.6 MB, free: 10.47 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.518e-05/0.1756, allocations: 0 / 445.6 MB, free: 10.47 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002205/0.1758, allocations: 27.91 kB / 445.7 MB, free: 10.44 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000158/0.176, allocations: 35.91 kB / 445.7 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002276/0.1762, allocations: 59.86 kB / 445.7 MB, free: 10.35 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001548/0.1764, allocations: 47.91 kB / 445.8 MB, free: 10.3 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.1765, allocations: 19.97 kB / 445.8 MB, free: 10.28 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.765e-05/0.1765, allocations: 27.8 kB / 445.8 MB, free: 10.25 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001566/0.1767, allocations: 19.92 kB / 445.9 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.902e-05/0.1767, allocations: 4 kB / 445.9 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001236/0.1769, allocations: 43.97 kB / 445.9 MB, free: 10.19 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.704e-05/0.1769, allocations: 11.92 kB / 445.9 MB, free: 10.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.71e-05/0.177, allocations: 41.58 kB / 446 MB, free: 10.13 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002351/0.1772, allocations: 87.98 kB / 446 MB, free: 10.04 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1772, allocations: 0 / 446 MB, free: 10.04 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.457e-06/0.1773, allocations: 0 / 446 MB, free: 10.04 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.1773, allocations: 4 kB / 446 MB, free: 10.04 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007797/0.1781, allocations: 379.3 kB / 446.4 MB, free: 9.621 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.1781, allocations: 8.031 kB / 446.4 MB, free: 9.613 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.546e-05/0.1782, allocations: 8.844 kB / 446.4 MB, free: 9.605 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002942/0.1785, allocations: 188.2 kB / 446.6 MB, free: 9.383 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.1785, allocations: 384 / 446.6 MB, free: 9.383 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.32e-05/0.1785, allocations: 4.375 kB / 446.6 MB, free: 9.379 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001714/0.1787, allocations: 67.53 kB / 446.7 MB, free: 9.301 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.1787, allocations: 0 / 446.7 MB, free: 9.301 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.1787, allocations: 3.938 kB / 446.7 MB, free: 9.297 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.1787, allocations: 3.938 kB / 446.7 MB, free: 9.293 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.333e-05/0.1788, allocations: 31.97 kB / 446.7 MB, free: 9.262 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003784/0.1792, allocations: 268.9 kB / 447 MB, free: 8.949 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002195/0.1795, allocations: 46.55 kB / 447 MB, free: 8.895 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.278e-05/0.1795, allocations: 20.8 kB / 447.1 MB, free: 8.871 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.887e-05/0.1796, allocations: 3.984 kB / 447.1 MB, free: 8.867 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.44e-05/0.1796, allocations: 34.56 kB / 447.1 MB, free: 8.824 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.1796, allocations: 0 / 447.1 MB, free: 8.824 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005916/0.1802, allocations: 161.4 kB / 447.2 MB, free: 8.66 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.415e-05/0.1803, allocations: 77.11 kB / 447.3 MB, free: 8.566 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001703/0.1805, allocations: 129.8 kB / 447.5 MB, free: 8.43 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.105e-05/0.1805, allocations: 29.7 kB / 447.5 MB, free: 8.395 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.014e-05/0.1806, allocations: 96.06 kB / 447.6 MB, free: 8.297 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.315e-05/0.1806, allocations: 11.81 kB / 447.6 MB, free: 8.285 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.366e-05/0.1806, allocations: 13.72 kB / 447.6 MB, free: 8.266 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.1808, allocations: 322.8 kB / 447.9 MB, free: 7.941 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.081e-05/0.1809, allocations: 23.98 kB / 447.9 MB, free: 7.918 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.501e-05/0.1809, allocations: 33.7 kB / 448 MB, free: 7.879 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001393/0.1811, allocations: 60.86 kB / 448 MB, free: 7.816 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.1811, allocations: 0 / 448 MB, free: 7.816 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001885/0.1813, allocations: 85.52 kB / 448.1 MB, free: 7.727 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/0.1813, allocations: 8 kB / 448.1 MB, free: 7.719 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.824e-06/0.1813, allocations: 0 / 448.1 MB, free: 7.719 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.1814, allocations: 3.938 kB / 448.1 MB, free: 7.715 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.168e-05/0.1814, allocations: 19.98 kB / 448.1 MB, free: 7.695 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.1814, allocations: 0 / 448.1 MB, free: 7.695 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.066e-05/0.1815, allocations: 4.25 kB / 448.1 MB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.1815, allocations: 4 kB / 448.2 MB, free: 7.688 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001101/0.1816, allocations: 125.8 kB / 448.3 MB, free: 7.555 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.663e-05/0.1817, allocations: 3.906 kB / 448.3 MB, free: 7.551 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000248/0.1819, allocations: 109.6 kB / 448.4 MB, free: 7.441 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.093e-06/0.1819, allocations: 0 / 448.4 MB, free: 7.441 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.1819, allocations: 0 / 448.4 MB, free: 7.441 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.1819, allocations: 0 / 448.4 MB, free: 7.441 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005212/0.1825, allocations: 354.5 kB / 448.7 MB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1825, allocations: 0 / 448.7 MB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.338e-05/0.1825, allocations: 15.94 kB / 448.7 MB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1826, allocations: 0 / 448.7 MB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.1826, allocations: 4 kB / 448.8 MB, free: 7.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.1826, allocations: 3.938 kB / 448.8 MB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1826, allocations: 0 / 448.8 MB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002639/0.1828, allocations: 187.4 kB / 448.9 MB, free: 6.816 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.724e-05/0.1829, allocations: 84.95 kB / 449 MB, free: 6.715 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.993e-05/0.1829, allocations: 7.984 kB / 449 MB, free: 6.707 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.065e-05/0.183, allocations: 11.94 kB / 449 MB, free: 6.695 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.613e-05/0.1831, allocations: 8 kB / 449 MB, free: 6.688 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.1831, allocations: 3.984 kB / 449.1 MB, free: 6.684 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001472/0.1832, allocations: 103.3 kB / 449.2 MB, free: 6.582 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1832, allocations: 0 / 449.2 MB, free: 6.582 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002442/0.1835, allocations: 16 kB / 449.2 MB, free: 6.566 MB / 382.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.001072/0.1845, allocations: 461.9 kB / 449.6 MB, free: 6.148 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000216/0.1848, allocations: 51.97 kB / 449.7 MB, free: 6.098 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1848, allocations: 0 / 449.7 MB, free: 6.098 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.938e-05/0.1849, allocations: 32.11 kB / 449.7 MB, free: 6.066 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003298/0.1852, allocations: 23.67 kB / 449.7 MB, free: 6.047 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004543/0.1857, allocations: 176.8 kB / 449.9 MB, free: 5.844 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004153/0.1861, allocations: 0.6926 MB / 450.6 MB, free: 5.125 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.583e-05/0.1862, allocations: 4 kB / 450.6 MB, free: 5.121 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.987e-05/0.1862, allocations: 23.42 kB / 450.6 MB, free: 5.098 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1862, allocations: 0 / 450.6 MB, free: 5.098 MB / 382.1 MB Notification: Performance of Templates: time 0.004142/0.1904, allocations: 1.272 MB / 451.9 MB, free: 3.824 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test33/Test33.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches