Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009467/0.0009467, allocations: 80.05 kB / 20.72 MB, free: 3.77 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009451/0.0009451, allocations: 169 kB / 24.14 MB, free: 360 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8634/0.8634, allocations: 158.6 MB / 186 MB, free: 2.477 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1255/0.1255, allocations: 32.38 MB / 270.7 MB, free: 14.57 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 299.1 MB, free: 2.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.015e-05/2.171e-05, allocations: 2.312 kB / 299.1 MB, free: 2.176 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.002437/0.002459, allocations: 1.643 MB / 300.7 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005635/0.003022, allocations: 363.1 kB / 301.1 MB, free: 164 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.395e-05/0.003086, allocations: 0 / 301.1 MB, free: 164 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1775/0.1806, allocations: 449.5 kB / 301.5 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004252/0.181, allocations: 252.5 kB / 301.8 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003645/0.1814, allocations: 148.4 kB / 301.9 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000324/0.1817, allocations: 168.5 kB / 302.1 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.635e-05/0.1818, allocations: 12.06 kB / 302.1 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001908/0.182, allocations: 117.5 kB / 302.2 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003017/0.1823, allocations: 193 kB / 302.4 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.074e-05/0.1823, allocations: 3.531 kB / 302.4 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.503e-05/0.1824, allocations: 36.45 kB / 302.4 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.404e-05/0.1825, allocations: 86.03 kB / 302.5 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.064e-05/0.1825, allocations: 36.73 kB / 302.5 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002546/0.1828, allocations: 192.6 kB / 302.7 MB, free: 19.16 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.1828, allocations: 0.7812 kB / 302.7 MB, free: 19.16 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1828, allocations: 0 / 302.7 MB, free: 19.16 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.1828, allocations: 1.594 kB / 302.7 MB, free: 19.16 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.00053/0.1833, allocations: 0.5414 MB / 303.3 MB, free: 18.75 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.1833, allocations: 9.469 kB / 303.3 MB, free: 18.75 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.823e-05/0.1834, allocations: 22.48 kB / 303.3 MB, free: 18.75 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001801/0.1836, allocations: 246.9 kB / 303.5 MB, free: 18.55 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.799e-06/0.1836, allocations: 2.391 kB / 303.5 MB, free: 18.55 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.946e-05/0.1836, allocations: 6.469 kB / 303.5 MB, free: 18.54 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.629e-05/0.1837, allocations: 58.17 kB / 303.6 MB, free: 18.5 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.1837, allocations: 3.375 kB / 303.6 MB, free: 18.5 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-06/0.1837, allocations: 8.469 kB / 303.6 MB, free: 18.49 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.1837, allocations: 1.125 kB / 303.6 MB, free: 18.49 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.873e-05/0.1838, allocations: 7.656 kB / 303.6 MB, free: 18.49 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002626/0.184, allocations: 198.3 kB / 303.8 MB, free: 18.34 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/0.1842, allocations: 39.8 kB / 303.9 MB, free: 18.32 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.482e-05/0.1842, allocations: 8.828 kB / 303.9 MB, free: 18.31 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.616e-05/0.1842, allocations: 1.781 kB / 303.9 MB, free: 18.31 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.462e-05/0.1842, allocations: 36.23 kB / 303.9 MB, free: 18.27 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.123e-06/0.1842, allocations: 0 / 303.9 MB, free: 18.27 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002894/0.1845, allocations: 95.98 kB / 304 MB, free: 18.23 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.338e-05/0.1845, allocations: 57.05 kB / 304.1 MB, free: 18.17 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003671/0.1849, allocations: 0.5197 MB / 304.6 MB, free: 18.04 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.743e-06/0.1849, allocations: 27.33 kB / 304.6 MB, free: 18.01 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.382e-05/0.1849, allocations: 147.4 kB / 304.7 MB, free: 17.92 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.127e-05/0.185, allocations: 14.31 kB / 304.8 MB, free: 17.91 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.832e-05/0.185, allocations: 23.33 kB / 304.8 MB, free: 17.89 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.454e-05/0.185, allocations: 356.9 kB / 305.1 MB, free: 17.58 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.207e-05/0.1851, allocations: 2.797 kB / 305.1 MB, free: 17.58 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.138e-05/0.1851, allocations: 3.766 kB / 305.1 MB, free: 17.58 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.821e-05/0.1851, allocations: 25.48 kB / 305.2 MB, free: 17.57 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.1851, allocations: 1.281 kB / 305.2 MB, free: 17.57 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.848e-05/0.1852, allocations: 67.47 kB / 305.2 MB, free: 17.54 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.1852, allocations: 5.562 kB / 305.2 MB, free: 17.54 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.1852, allocations: 1.609 kB / 305.2 MB, free: 17.54 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.1852, allocations: 0 / 305.2 MB, free: 17.54 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.381e-05/0.1852, allocations: 10.33 kB / 305.2 MB, free: 17.54 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.077e-06/0.1853, allocations: 1.188 kB / 305.2 MB, free: 17.54 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.532e-05/0.1853, allocations: 7.438 kB / 305.3 MB, free: 17.54 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.1853, allocations: 1.812 kB / 305.3 MB, free: 17.54 MB / 282.7 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 5.884e-05/0.1853, allocations: 111.7 kB / 305.4 MB, free: 17.42 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.346e-05/0.1854, allocations: 27.73 kB / 305.4 MB, free: 17.41 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001295/0.1855, allocations: 90.55 kB / 305.5 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.1855, allocations: 2.062 kB / 305.5 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.1855, allocations: 9.781 kB / 305.5 MB, free: 17.37 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.1855, allocations: 0 / 305.5 MB, free: 17.37 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002634/0.1858, allocations: 277.3 kB / 305.8 MB, free: 17.18 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.1858, allocations: 0 / 305.8 MB, free: 17.18 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.056e-05/0.1858, allocations: 10.17 kB / 305.8 MB, free: 17.18 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.1858, allocations: 0 / 305.8 MB, free: 17.18 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.46e-06/0.1858, allocations: 1.828 kB / 305.8 MB, free: 17.18 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.1858, allocations: 0 / 305.8 MB, free: 17.18 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1858, allocations: 1.312 kB / 305.8 MB, free: 17.18 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001035/0.1859, allocations: 168.7 kB / 305.9 MB, free: 17.05 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.469e-05/0.1859, allocations: 33.22 kB / 306 MB, free: 17.02 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/0.186, allocations: 5.797 kB / 306 MB, free: 17.02 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.525e-05/0.186, allocations: 2.531 kB / 306 MB, free: 17.02 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.643e-05/0.186, allocations: 8.562 kB / 306 MB, free: 17.02 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.017e-06/0.186, allocations: 1.125 kB / 306 MB, free: 17.02 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002732/0.1863, allocations: 277.1 kB / 306.3 MB, free: 17 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.1863, allocations: 0 / 306.3 MB, free: 17 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001532/0.1865, allocations: 19.5 kB / 306.3 MB, free: 17 MB / 282.7 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.00105/0.1875, allocations: 0.4974 MB / 306.8 MB, free: 16.73 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.296e-05/0.1876, allocations: 22.28 kB / 306.8 MB, free: 16.73 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.448e-06/0.1876, allocations: 5.219 kB / 306.8 MB, free: 16.73 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.934e-05/0.1876, allocations: 20.75 kB / 306.8 MB, free: 16.72 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001914/0.1878, allocations: 34.67 kB / 306.9 MB, free: 16.71 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006061/0.1884, allocations: 0.5649 MB / 307.4 MB, free: 16.39 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.953e-05/0.1885, allocations: 121.6 kB / 307.5 MB, free: 16.32 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.27e-05/0.1885, allocations: 13.08 kB / 307.6 MB, free: 16.31 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.621e-05/0.1886, allocations: 66.3 kB / 307.6 MB, free: 16.26 MB / 282.7 MB Notification: Performance of SimCode: time 7.11e-07/0.1886, allocations: 3.656 kB / 307.6 MB, free: 16.26 MB / 282.7 MB Notification: Performance of Templates: time 0.00391/0.1925, allocations: 1.435 MB / 309.1 MB, free: 16.07 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0704189939424396]