Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.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.001089/0.001089, 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.001288/0.001288, allocations: 169 kB / 24.14 MB, free: 364 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.9249/0.9249, allocations: 158.6 MB / 186 MB, free: 2.73 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.1425/0.1425, 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.CombiTable2D.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7") translateModel(ModelicaTest.Tables.CombiTable2D.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 299.1 MB, free: 2.207 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.114e-05/2.251e-05, allocations: 2.312 kB / 299.1 MB, free: 2.203 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test7): time 0.002454/0.002476, allocations: 1.608 MB / 300.7 MB, free: 0.582 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004717/0.002948, allocations: 315.3 kB / 301 MB, free: 276 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.484e-05/0.002993, allocations: 0 / 301 MB, free: 276 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1239/0.1269, allocations: 446.5 kB / 301.4 MB, free: 19.45 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000411/0.1273, allocations: 252.9 kB / 301.7 MB, free: 19.45 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002771/0.1276, allocations: 105.2 kB / 301.8 MB, free: 19.45 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002914/0.1279, allocations: 158.7 kB / 301.9 MB, free: 19.45 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.616e-05/0.128, allocations: 8.812 kB / 301.9 MB, free: 19.45 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001637/0.1281, allocations: 113.6 kB / 302 MB, free: 19.45 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002199/0.1284, allocations: 193.3 kB / 302.2 MB, free: 19.44 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.1284, allocations: 5.25 kB / 302.2 MB, free: 19.44 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.933e-05/0.1284, allocations: 19.58 kB / 302.3 MB, free: 19.44 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.336e-05/0.1285, allocations: 83.62 kB / 302.3 MB, free: 19.43 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.045e-05/0.1286, allocations: 37.75 kB / 302.4 MB, free: 19.41 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002085/0.1288, allocations: 181.7 kB / 302.6 MB, free: 19.38 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.1288, allocations: 0 / 302.6 MB, free: 19.38 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1288, allocations: 0 / 302.6 MB, free: 19.38 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.1288, allocations: 1.062 kB / 302.6 MB, free: 19.38 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.000417/0.1292, allocations: 0.5268 MB / 303.1 MB, free: 18.97 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.1292, allocations: 10.33 kB / 303.1 MB, free: 18.97 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.881e-05/0.1293, allocations: 22.55 kB / 303.1 MB, free: 18.97 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/0.1294, allocations: 244 kB / 303.4 MB, free: 18.77 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.286e-06/0.1294, allocations: 2.125 kB / 303.4 MB, free: 18.77 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.167e-06/0.1294, allocations: 4.844 kB / 303.4 MB, free: 18.77 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.764e-05/0.1295, allocations: 51 kB / 303.4 MB, free: 18.72 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.1295, allocations: 0.8438 kB / 303.4 MB, free: 18.72 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.993e-06/0.1295, allocations: 4.656 kB / 303.4 MB, free: 18.72 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.1295, allocations: 5.875 kB / 303.4 MB, free: 18.71 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.413e-05/0.1296, allocations: 10.45 kB / 303.4 MB, free: 18.71 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001706/0.1297, allocations: 152.2 kB / 303.6 MB, free: 18.57 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.424e-05/0.1298, allocations: 20.47 kB / 303.6 MB, free: 18.55 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.079e-05/0.1298, allocations: 11.55 kB / 303.6 MB, free: 18.54 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.539e-05/0.1298, allocations: 1.891 kB / 303.6 MB, free: 18.54 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.384e-05/0.1298, allocations: 34.78 kB / 303.6 MB, free: 18.5 MB / 282.7 MB Notification: Performance of pre-optimization done (n=2): time 7.21e-07/0.1298, allocations: 1.062 kB / 303.6 MB, free: 18.5 MB / 282.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001099/0.1299, allocations: 57.7 kB / 303.7 MB, free: 18.46 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.959e-05/0.1299, allocations: 52.53 kB / 303.8 MB, free: 18.4 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003722/0.1303, allocations: 0.5201 MB / 304.3 MB, free: 18.27 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.902e-06/0.1303, allocations: 25.7 kB / 304.3 MB, free: 18.24 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.204e-05/0.1304, allocations: 147.2 kB / 304.4 MB, free: 18.16 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.549e-05/0.1304, allocations: 9.047 kB / 304.5 MB, free: 18.15 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.147e-05/0.1304, allocations: 12.92 kB / 304.5 MB, free: 18.14 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.445e-05/0.1305, allocations: 356.1 kB / 304.8 MB, free: 17.82 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.314e-06/0.1305, allocations: 1.406 kB / 304.8 MB, free: 17.82 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.804e-06/0.1305, allocations: 1.969 kB / 304.8 MB, free: 17.82 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.937e-05/0.1305, allocations: 12.45 kB / 304.8 MB, free: 17.82 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.113e-06/0.1305, allocations: 0 / 304.8 MB, free: 17.82 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.844e-05/0.1305, allocations: 61.92 kB / 304.9 MB, free: 17.79 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.1306, allocations: 8.344 kB / 304.9 MB, free: 17.78 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.1306, allocations: 1.094 kB / 304.9 MB, free: 17.78 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.1306, allocations: 0.6562 kB / 304.9 MB, free: 17.78 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.755e-05/0.1306, allocations: 5.156 kB / 304.9 MB, free: 17.78 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.384e-06/0.1306, allocations: 0 / 304.9 MB, free: 17.78 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.126e-05/0.1306, allocations: 1.734 kB / 304.9 MB, free: 17.78 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.07e-06/0.1307, allocations: 1.125 kB / 304.9 MB, free: 17.78 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 (2): * Single equations (assignments): 2 * 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.985e-05/0.1307, allocations: 115.9 kB / 305 MB, free: 17.66 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.848e-05/0.1307, allocations: 20.25 kB / 305 MB, free: 17.66 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.596e-05/0.1308, allocations: 79.48 kB / 305.1 MB, free: 17.62 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.1308, allocations: 2.328 kB / 305.1 MB, free: 17.62 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.1308, allocations: 1.938 kB / 305.1 MB, free: 17.62 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.1308, allocations: 0 / 305.1 MB, free: 17.62 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001503/0.131, allocations: 132 kB / 305.2 MB, free: 17.54 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.131, allocations: 0 / 305.2 MB, free: 17.54 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.395e-05/0.131, allocations: 11.98 kB / 305.3 MB, free: 17.54 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.131, allocations: 5.125 kB / 305.3 MB, free: 17.54 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.131, allocations: 1.812 kB / 305.3 MB, free: 17.54 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.131, allocations: 0 / 305.3 MB, free: 17.54 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.131, allocations: 5.125 kB / 305.3 MB, free: 17.53 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.047e-05/0.1311, allocations: 154 kB / 305.4 MB, free: 17.4 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.509e-05/0.1311, allocations: 33.66 kB / 305.5 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.253e-05/0.1311, allocations: 0.7969 kB / 305.5 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.123e-05/0.1312, allocations: 2.156 kB / 305.5 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.359e-05/0.1312, allocations: 6.328 kB / 305.5 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-06/0.1312, allocations: 4.031 kB / 305.5 MB, free: 17.37 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002136/0.1314, allocations: 282.5 kB / 305.7 MB, free: 17.35 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1314, allocations: 0 / 305.7 MB, free: 17.35 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001301/0.1315, allocations: 14.44 kB / 305.8 MB, free: 17.35 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 (2): * Single equations (assignments): 2 * 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.0008344/0.1324, allocations: 427.1 kB / 306.2 MB, free: 17.15 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 5.339e-05/0.1324, allocations: 18.19 kB / 306.2 MB, free: 17.14 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.275e-06/0.1324, allocations: 4.344 kB / 306.2 MB, free: 17.14 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.082e-05/0.1324, allocations: 8.875 kB / 306.2 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.0001727/0.1326, allocations: 24.86 kB / 306.2 MB, free: 17.12 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005407/0.1331, allocations: 0.5527 MB / 306.8 MB, free: 16.8 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.431e-05/0.1332, allocations: 116.1 kB / 306.9 MB, free: 16.73 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.509e-05/0.1332, allocations: 9.688 kB / 306.9 MB, free: 16.73 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.003e-05/0.1333, allocations: 63.55 kB / 307 MB, free: 16.68 MB / 282.7 MB Notification: Performance of SimCode: time 4.91e-07/0.1333, allocations: 0 / 307 MB, free: 16.68 MB / 282.7 MB Notification: Performance of Templates: time 0.003717/0.137, allocations: 1.217 MB / 308.2 MB, free: 16.53 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test7/Test7.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.958466568030417]