Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.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.0008651/0.0008651, 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.000916/0.000916, 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.8327/0.8327, allocations: 158.6 MB / 186 MB, free: 2.77 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.1299/0.1299, allocations: 32.38 MB / 270.7 MB, free: 14.6 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.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 299.1 MB, free: 2.203 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.038e-05/2.199e-05, allocations: 2.312 kB / 299.1 MB, free: 2.199 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.005415/0.005437, allocations: 1.608 MB / 300.7 MB, free: 0.582 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004947/0.005931, allocations: 319.4 kB / 301 MB, free: 272 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.169e-05/0.005973, allocations: 0 / 301 MB, free: 272 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002485/0.006221, allocations: 87.7 kB / 301.1 MB, free: 184 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001622/0.006384, allocations: 79.66 kB / 301.1 MB, free: 104 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001717/0.006555, allocations: 67.83 kB / 301.2 MB, free: 36 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.1368/0.1434, allocations: 64.92 kB / 301.3 MB, free: 19.31 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.1435, allocations: 10.98 kB / 301.3 MB, free: 19.31 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.1436, allocations: 39.52 kB / 301.3 MB, free: 19.31 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.1437, allocations: 41.42 kB / 301.4 MB, free: 19.31 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.061e-05/0.1437, allocations: 6 kB / 301.4 MB, free: 19.31 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.1438, allocations: 35.05 kB / 301.4 MB, free: 19.31 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.538e-05/0.1439, allocations: 24.5 kB / 301.4 MB, free: 19.31 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.541e-05/0.1439, allocations: 14.92 kB / 301.4 MB, free: 19.3 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001644/0.1441, allocations: 73.08 kB / 301.5 MB, free: 19.3 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1441, allocations: 1.5 kB / 301.5 MB, free: 19.3 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1441, allocations: 0 / 301.5 MB, free: 19.3 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.1441, allocations: 0 / 301.5 MB, free: 19.3 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002911/0.1444, allocations: 307.7 kB / 301.8 MB, free: 19.03 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.1444, allocations: 9.906 kB / 301.8 MB, free: 19.03 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.315e-05/0.1445, allocations: 9.688 kB / 301.8 MB, free: 19.03 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001154/0.1446, allocations: 148 kB / 302 MB, free: 18.89 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.535e-06/0.1446, allocations: 1.625 kB / 302 MB, free: 18.89 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.012e-05/0.1446, allocations: 2.25 kB / 302 MB, free: 18.89 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001112/0.1447, allocations: 53.42 kB / 302 MB, free: 18.84 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.1447, allocations: 3.656 kB / 302 MB, free: 18.84 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.377e-06/0.1447, allocations: 1.078 kB / 302 MB, free: 18.84 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.345e-06/0.1447, allocations: 5.594 kB / 302.1 MB, free: 18.84 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.778e-05/0.1448, allocations: 8.938 kB / 302.1 MB, free: 18.84 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002308/0.145, allocations: 159 kB / 302.2 MB, free: 18.7 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001436/0.1451, allocations: 31.77 kB / 302.2 MB, free: 18.67 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.38e-05/0.1452, allocations: 11.81 kB / 302.3 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.1452, allocations: 6.625 kB / 302.3 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.682e-05/0.1452, allocations: 32.33 kB / 302.3 MB, free: 18.62 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.683e-06/0.1452, allocations: 0.5938 kB / 302.3 MB, free: 18.62 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002994/0.1455, allocations: 86.05 kB / 302.4 MB, free: 18.58 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.494e-05/0.1455, allocations: 53.44 kB / 302.4 MB, free: 18.52 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.1456, allocations: 176.5 kB / 302.6 MB, free: 18.41 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.22e-06/0.1456, allocations: 25.7 kB / 302.6 MB, free: 18.38 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.475e-05/0.1457, allocations: 95.73 kB / 302.7 MB, free: 18.29 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.931e-05/0.1457, allocations: 19.06 kB / 302.7 MB, free: 18.29 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.903e-05/0.1457, allocations: 15.52 kB / 302.8 MB, free: 18.27 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.518e-05/0.1458, allocations: 324.8 kB / 303.1 MB, free: 17.96 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.428e-05/0.1458, allocations: 3 kB / 303.1 MB, free: 17.96 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.292e-05/0.1458, allocations: 12.42 kB / 303.1 MB, free: 17.96 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.099e-05/0.1458, allocations: 17.98 kB / 303.1 MB, free: 17.95 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1458, allocations: 0 / 303.1 MB, free: 17.95 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.956e-05/0.1459, allocations: 47.45 kB / 303.2 MB, free: 17.92 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.1459, allocations: 10.91 kB / 303.2 MB, free: 17.91 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.1459, allocations: 0 / 303.2 MB, free: 17.91 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.1459, allocations: 0.7031 kB / 303.2 MB, free: 17.91 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.881e-05/0.146, allocations: 15.59 kB / 303.2 MB, free: 17.91 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.276e-06/0.146, allocations: 5 kB / 303.2 MB, free: 17.91 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.268e-05/0.146, allocations: 6.469 kB / 303.2 MB, free: 17.91 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-06/0.146, allocations: 3.969 kB / 303.2 MB, free: 17.91 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 4.498e-05/0.146, allocations: 110.8 kB / 303.3 MB, free: 17.79 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.601e-05/0.1461, allocations: 10.86 kB / 303.3 MB, free: 17.79 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.625e-05/0.1462, allocations: 67.3 kB / 303.4 MB, free: 17.75 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.1462, allocations: 1.859 kB / 303.4 MB, free: 17.75 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.1462, allocations: 2.016 kB / 303.4 MB, free: 17.75 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.1462, allocations: 4.172 kB / 303.4 MB, free: 17.75 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002011/0.1464, allocations: 217.8 kB / 303.6 MB, free: 17.56 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.1464, allocations: 1.625 kB / 303.6 MB, free: 17.56 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.69e-05/0.1464, allocations: 13.84 kB / 303.6 MB, free: 17.56 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.1464, allocations: 1.031 kB / 303.6 MB, free: 17.56 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-06/0.1464, allocations: 0 / 303.6 MB, free: 17.56 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.1464, allocations: 4.578 kB / 303.6 MB, free: 17.56 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1464, allocations: 3.75 kB / 303.6 MB, free: 17.56 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.515e-05/0.1465, allocations: 141 kB / 303.8 MB, free: 17.43 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.621e-05/0.1465, allocations: 15.91 kB / 303.8 MB, free: 17.42 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.342e-05/0.1465, allocations: 1.641 kB / 303.8 MB, free: 17.42 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.714e-05/0.1466, allocations: 2.891 kB / 303.8 MB, free: 17.42 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.008e-05/0.1466, allocations: 4.062 kB / 303.8 MB, free: 17.42 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-06/0.1466, allocations: 4.812 kB / 303.8 MB, free: 17.42 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.447e-05/0.1467, allocations: 62.89 kB / 303.9 MB, free: 17.4 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1467, allocations: 0 / 303.9 MB, free: 17.4 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002135/0.1469, allocations: 13.2 kB / 303.9 MB, free: 17.4 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.001294/0.1482, allocations: 0.4956 MB / 304.4 MB, free: 17.15 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.21e-05/0.1483, allocations: 24.14 kB / 304.4 MB, free: 17.14 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/0.1483, allocations: 0.9062 kB / 304.4 MB, free: 17.14 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.213e-05/0.1483, allocations: 19.36 kB / 304.4 MB, free: 17.13 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000209/0.1485, allocations: 19.48 kB / 304.4 MB, free: 17.13 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003398/0.1488, allocations: 210 kB / 304.6 MB, free: 16.96 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.006e-05/0.1489, allocations: 70.94 kB / 304.7 MB, free: 16.89 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.826e-05/0.1489, allocations: 10.14 kB / 304.7 MB, free: 16.89 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.52e-05/0.149, allocations: 58.78 kB / 304.8 MB, free: 16.84 MB / 282.7 MB Notification: Performance of SimCode: time 1.212e-06/0.149, allocations: 0 / 304.8 MB, free: 16.84 MB / 282.7 MB Notification: Performance of Templates: time 0.004008/0.153, allocations: 1.234 MB / 306 MB, free: 16.7 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.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: 2.8745917789638042]