Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001191/0.001192, allocations: 108.1 kB / 17.21 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 194 kB / 18.12 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 222.9 MB / 241.8 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2298/0.2298, allocations: 44.17 MB / 336.1 MB, free: 2.992 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002242/0.002242, allocations: 65.27 kB / 407.7 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1717/0.1739, allocations: 60.84 MB / 468.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test23): time 0.003169/0.1772, allocations: 1.61 MB / 470.1 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001438/0.1786, allocations: 0.9998 MB / 471.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.755e-05/0.1787, allocations: 4 kB / 471.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002131/0.1789, allocations: 15.94 kB / 471.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001364/0.1791, allocations: 35.91 kB / 471.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002213/0.1793, allocations: 75.84 kB / 471.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001385/0.1794, allocations: 55.78 kB / 471.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.1796, allocations: 11.98 kB / 471.3 MB, free: 12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.554e-05/0.1796, allocations: 19.92 kB / 471.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001473/0.1798, allocations: 27.84 kB / 471.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.724e-05/0.1798, allocations: 0 / 471.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.1799, allocations: 47.97 kB / 471.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.488e-05/0.18, allocations: 19.88 kB / 471.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.95e-05/0.18, allocations: 19.86 kB / 471.5 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001981/0.1802, allocations: 87.77 kB / 471.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.1802, allocations: 0 / 471.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1802, allocations: 0 / 471.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.319e-06/0.1802, allocations: 0 / 471.6 MB, free: 11.79 MB / 350.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.0004953/0.1807, allocations: 371.6 kB / 471.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.1808, allocations: 16.02 kB / 471.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.181e-05/0.1808, allocations: 8.844 kB / 471.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001903/0.181, allocations: 184.2 kB / 472.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.075e-06/0.1811, allocations: 4.375 kB / 472.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.195e-05/0.1811, allocations: 384 / 472.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001752/0.1813, allocations: 71.45 kB / 472.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.1813, allocations: 0 / 472.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.1813, allocations: 0 / 472.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.1813, allocations: 4 kB / 472.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.77e-05/0.1814, allocations: 23.92 kB / 472.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000346/0.1818, allocations: 272.9 kB / 472.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002188/0.182, allocations: 42.5 kB / 472.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.179e-05/0.182, allocations: 20.94 kB / 472.5 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.297e-05/0.1821, allocations: 0 / 472.5 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.1821, allocations: 34.56 kB / 472.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.1821, allocations: 0 / 472.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005489/0.1827, allocations: 137.3 kB / 472.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.338e-05/0.1827, allocations: 77.11 kB / 472.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/0.1829, allocations: 141.1 kB / 472.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.1829, allocations: 29.7 kB / 473 MB, free: 10.17 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.899e-05/0.1829, allocations: 88.14 kB / 473 MB, free: 10.08 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.659e-05/0.183, allocations: 27.72 kB / 473.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.268e-05/0.183, allocations: 13.72 kB / 473.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.1831, allocations: 322.8 kB / 473.4 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.634e-05/0.1832, allocations: 19.92 kB / 473.4 MB, free: 9.691 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.993e-05/0.1833, allocations: 33.69 kB / 473.5 MB, free: 9.652 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001214/0.1834, allocations: 48.81 kB / 473.5 MB, free: 9.602 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.1834, allocations: 0 / 473.5 MB, free: 9.602 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001711/0.1836, allocations: 85.81 kB / 473.6 MB, free: 9.512 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.1836, allocations: 4 kB / 473.6 MB, free: 9.508 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.1836, allocations: 0 / 473.6 MB, free: 9.508 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.1837, allocations: 4.281 kB / 473.6 MB, free: 9.504 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.974e-05/0.1837, allocations: 12 kB / 473.6 MB, free: 9.492 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.1837, allocations: 7.984 kB / 473.6 MB, free: 9.484 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.9e-05/0.1838, allocations: 4 kB / 473.6 MB, free: 9.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.1838, allocations: 0 / 473.6 MB, free: 9.48 MB / 350.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 9.233e-05/0.1839, allocations: 122.2 kB / 473.7 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.385e-05/0.1839, allocations: 11.89 kB / 473.7 MB, free: 9.34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002192/0.1842, allocations: 89.61 kB / 473.8 MB, free: 9.246 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.1842, allocations: 4 kB / 473.8 MB, free: 9.242 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.1842, allocations: 4 kB / 473.8 MB, free: 9.238 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.1842, allocations: 3.984 kB / 473.8 MB, free: 9.234 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004289/0.1846, allocations: 338.5 kB / 474.2 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.1846, allocations: 0 / 474.2 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.213e-05/0.1847, allocations: 19.92 kB / 474.2 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1847, allocations: 0 / 474.2 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.1847, allocations: 4 kB / 474.2 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.1847, allocations: 3.938 kB / 474.2 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1847, allocations: 4 kB / 474.2 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002161/0.185, allocations: 171.4 kB / 474.4 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.736e-05/0.185, allocations: 89.03 kB / 474.5 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.747e-05/0.185, allocations: 0 / 474.5 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.876e-05/0.1851, allocations: 7.938 kB / 474.5 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.484e-05/0.1851, allocations: 3.984 kB / 474.5 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-06/0.1852, allocations: 8.188 kB / 474.5 MB, free: 8.508 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.015e-05/0.1852, allocations: 99.27 kB / 474.6 MB, free: 8.41 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1852, allocations: 4 kB / 474.6 MB, free: 8.406 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002448/0.1855, allocations: 23.91 kB / 474.6 MB, free: 8.383 MB / 350.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.0009588/0.1865, allocations: 447.4 kB / 475 MB, free: 8.109 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001842/0.1867, allocations: 51.95 kB / 475.1 MB, free: 8.059 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.1867, allocations: 4 kB / 475.1 MB, free: 8.055 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.845e-05/0.1868, allocations: 23.92 kB / 475.1 MB, free: 8.031 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000318/0.1871, allocations: 15.98 kB / 475.1 MB, free: 8.016 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003475/0.1874, allocations: 171.3 kB / 475.3 MB, free: 7.82 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002633/0.1877, allocations: 0.6887 MB / 476 MB, free: 7.105 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.858e-05/0.1878, allocations: 15.97 kB / 476 MB, free: 7.09 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.542e-05/0.1878, allocations: 15.44 kB / 476 MB, free: 7.074 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1878, allocations: 0 / 476 MB, free: 7.074 MB / 350.1 MB Notification: Performance of Templates: time 0.003956/0.1918, allocations: 1.296 MB / 477.3 MB, free: 5.785 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches