Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.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.00131/0.00131, 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.0009946/0.0009946, allocations: 173 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.9529/0.9529, allocations: 158.6 MB / 186 MB, free: 2.523 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.1618/0.1618, allocations: 32.37 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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 299.1 MB, free: 2.184 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.816e-05/1.932e-05, allocations: 6.312 kB / 299.1 MB, free: 2.176 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.00224/0.002259, allocations: 1.643 MB / 300.7 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005183/0.002777, allocations: 371 kB / 301.1 MB, free: 156 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.154e-05/0.002829, allocations: 0 / 301.1 MB, free: 156 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.127/0.1298, allocations: 447.9 kB / 301.5 MB, free: 19.27 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004688/0.1303, allocations: 256.5 kB / 301.8 MB, free: 19.27 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003697/0.1307, allocations: 147.5 kB / 301.9 MB, free: 19.27 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003728/0.131, allocations: 173.6 kB / 302.1 MB, free: 19.27 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.1311, allocations: 12 kB / 302.1 MB, free: 19.27 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002363/0.1314, allocations: 124 kB / 302.2 MB, free: 19.27 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002934/0.1317, allocations: 195.4 kB / 302.4 MB, free: 19.26 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.284e-05/0.1317, allocations: 3.906 kB / 302.4 MB, free: 19.26 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.463e-05/0.1318, allocations: 34.12 kB / 302.4 MB, free: 19.26 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.951e-05/0.1319, allocations: 86.69 kB / 302.5 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.991e-05/0.1319, allocations: 36.2 kB / 302.6 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002785/0.1322, allocations: 199.5 kB / 302.8 MB, free: 19.2 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.1322, allocations: 0.6094 kB / 302.8 MB, free: 19.2 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1322, allocations: 3.438 kB / 302.8 MB, free: 19.2 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.376e-06/0.1322, allocations: 5.031 kB / 302.8 MB, free: 19.19 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.0005391/0.1328, allocations: 0.5419 MB / 303.3 MB, free: 18.77 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.1328, allocations: 9.406 kB / 303.3 MB, free: 18.77 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.78e-05/0.1328, allocations: 23.52 kB / 303.3 MB, free: 18.77 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001813/0.133, allocations: 241.6 kB / 303.6 MB, free: 18.57 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-06/0.133, allocations: 1.562 kB / 303.6 MB, free: 18.57 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.474e-05/0.1331, allocations: 8.906 kB / 303.6 MB, free: 18.57 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001037/0.1332, allocations: 56.75 kB / 303.6 MB, free: 18.53 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.1332, allocations: 1.281 kB / 303.6 MB, free: 18.53 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.275e-06/0.1332, allocations: 4 kB / 303.6 MB, free: 18.53 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.1332, allocations: 7.453 kB / 303.7 MB, free: 18.52 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.527e-05/0.1332, allocations: 7.188 kB / 303.7 MB, free: 18.52 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002865/0.1335, allocations: 206.6 kB / 303.9 MB, free: 18.38 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.298e-05/0.1336, allocations: 33.97 kB / 303.9 MB, free: 18.35 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.582e-05/0.1336, allocations: 10.58 kB / 303.9 MB, free: 18.34 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.781e-05/0.1336, allocations: 0 / 303.9 MB, free: 18.34 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.713e-05/0.1336, allocations: 33.61 kB / 303.9 MB, free: 18.3 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 6.82e-07/0.1336, allocations: 0 / 303.9 MB, free: 18.3 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003701/0.134, allocations: 131.7 kB / 304.1 MB, free: 18.26 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.282e-05/0.134, allocations: 53.27 kB / 304.1 MB, free: 18.2 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004128/0.1344, allocations: 0.5243 MB / 304.6 MB, free: 18.07 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/0.1344, allocations: 26.89 kB / 304.7 MB, free: 18.04 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.81e-05/0.1345, allocations: 139.1 kB / 304.8 MB, free: 17.96 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.611e-05/0.1345, allocations: 27.7 kB / 304.8 MB, free: 17.94 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.971e-05/0.1345, allocations: 19.28 kB / 304.8 MB, free: 17.92 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.166e-05/0.1346, allocations: 356.8 kB / 305.2 MB, free: 17.61 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.023e-05/0.1346, allocations: 11.23 kB / 305.2 MB, free: 17.61 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.574e-05/0.1347, allocations: 6.016 kB / 305.2 MB, free: 17.61 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.245e-05/0.1347, allocations: 32.36 kB / 305.2 MB, free: 17.59 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.1347, allocations: 5.031 kB / 305.3 MB, free: 17.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.227e-05/0.1348, allocations: 74 kB / 305.3 MB, free: 17.55 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.1348, allocations: 6.109 kB / 305.3 MB, free: 17.55 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.1348, allocations: 0 / 305.3 MB, free: 17.55 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.1348, allocations: 1.281 kB / 305.3 MB, free: 17.55 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.626e-05/0.1349, allocations: 20.52 kB / 305.4 MB, free: 17.55 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.1349, allocations: 2.578 kB / 305.4 MB, free: 17.55 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.561e-05/0.1349, allocations: 4.891 kB / 305.4 MB, free: 17.55 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-06/0.1349, allocations: 1.688 kB / 305.4 MB, free: 17.55 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 (7): * Single equations (assignments): 7 * 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 6.656e-05/0.135, allocations: 119.9 kB / 305.5 MB, free: 17.43 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.695e-05/0.135, allocations: 26.22 kB / 305.5 MB, free: 17.43 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001369/0.1352, allocations: 97.52 kB / 305.6 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.1352, allocations: 1.719 kB / 305.6 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.1352, allocations: 1.219 kB / 305.6 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.1352, allocations: 0.6562 kB / 305.6 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003208/0.1355, allocations: 279.1 kB / 305.9 MB, free: 17.21 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.1355, allocations: 0 / 305.9 MB, free: 17.21 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.516e-05/0.1356, allocations: 17.81 kB / 305.9 MB, free: 17.21 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.1356, allocations: 1.844 kB / 305.9 MB, free: 17.21 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.1356, allocations: 5.078 kB / 305.9 MB, free: 17.2 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.1356, allocations: 2.469 kB / 305.9 MB, free: 17.2 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.1356, allocations: 0.6562 kB / 305.9 MB, free: 17.2 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001145/0.1357, allocations: 171.2 kB / 306.1 MB, free: 17.07 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.544e-05/0.1357, allocations: 37.12 kB / 306.1 MB, free: 17.05 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.548e-05/0.1357, allocations: 1.125 kB / 306.1 MB, free: 17.05 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.289e-05/0.1358, allocations: 8.625 kB / 306.1 MB, free: 17.05 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.228e-05/0.1358, allocations: 6.031 kB / 306.1 MB, free: 17.05 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-06/0.1358, allocations: 1.156 kB / 306.1 MB, free: 17.05 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004046/0.1362, allocations: 276.4 kB / 306.4 MB, free: 17.02 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1362, allocations: 1.062 kB / 306.4 MB, free: 17.02 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002367/0.1365, allocations: 37.34 kB / 306.4 MB, free: 17.01 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 (7): * Single equations (assignments): 7 * 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.00101/0.1375, allocations: 0.492 MB / 306.9 MB, free: 16.75 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001015/0.1376, allocations: 36.3 kB / 307 MB, free: 16.74 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.158e-06/0.1376, allocations: 4.688 kB / 307 MB, free: 16.74 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.661e-05/0.1376, allocations: 20.33 kB / 307 MB, free: 16.73 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002155/0.1378, allocations: 37.03 kB / 307 MB, free: 16.72 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007446/0.1386, allocations: 0.5886 MB / 307.6 MB, free: 16.39 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001039/0.1387, allocations: 125 kB / 307.7 MB, free: 16.32 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.333e-05/0.1387, allocations: 10.77 kB / 307.7 MB, free: 16.32 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.917e-05/0.1388, allocations: 59.55 kB / 307.8 MB, free: 16.27 MB / 282.7 MB Notification: Performance of SimCode: time 1.052e-06/0.1388, allocations: 0 / 307.8 MB, free: 16.27 MB / 282.7 MB Notification: Performance of Templates: time 0.005125/0.1439, allocations: 1.56 MB / 309.4 MB, free: 16.07 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.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.180354201234877]