Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.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.001369/0.001369, allocations: 80.05 kB / 20.72 MB, free: 3.766 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.002028/0.002028, allocations: 173 kB / 24.14 MB, free: 352 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.8702/0.8702, 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.1278/0.1278, allocations: 32.39 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.CombiTable2Dv.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test24,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.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 299.1 MB, free: 2.207 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.447e-05/2.575e-05, allocations: 2.312 kB / 299.1 MB, free: 2.203 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.002727/0.002753, allocations: 1.65 MB / 300.7 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006132/0.003366, allocations: 355.1 kB / 301.1 MB, free: 192 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.713e-05/0.003423, allocations: 0 / 301.1 MB, free: 192 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002677/0.003691, allocations: 55.73 kB / 301.1 MB, free: 136 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001859/0.003876, allocations: 43.78 kB / 301.2 MB, free: 92 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1213/0.1252, allocations: 148.2 kB / 301.3 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001909/0.1254, allocations: 73.16 kB / 301.4 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.762e-05/0.1255, allocations: 16.14 kB / 301.4 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.869e-05/0.1256, allocations: 37.81 kB / 301.4 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.313e-05/0.1257, allocations: 32.17 kB / 301.5 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.678e-05/0.1257, allocations: 6.406 kB / 301.5 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.925e-05/0.1258, allocations: 37.98 kB / 301.5 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.692e-05/0.1258, allocations: 19.3 kB / 301.5 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.732e-05/0.1259, allocations: 17.62 kB / 301.5 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001696/0.126, allocations: 75.38 kB / 301.6 MB, free: 19.23 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.126, allocations: 1.031 kB / 301.6 MB, free: 19.23 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.126, allocations: 0 / 301.6 MB, free: 19.23 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.858e-06/0.126, allocations: 0 / 301.6 MB, free: 19.23 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.0003203/0.1264, allocations: 300.1 kB / 301.9 MB, free: 18.98 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.1264, allocations: 11.69 kB / 301.9 MB, free: 18.98 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.693e-05/0.1264, allocations: 10.86 kB / 301.9 MB, free: 18.98 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.1265, allocations: 129.7 kB / 302.1 MB, free: 18.85 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.1265, allocations: 4.828 kB / 302.1 MB, free: 18.85 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.981e-05/0.1266, allocations: 3.531 kB / 302.1 MB, free: 18.85 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000102/0.1267, allocations: 58.95 kB / 302.1 MB, free: 18.8 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.1267, allocations: 5.531 kB / 302.1 MB, free: 18.8 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-06/0.1267, allocations: 384 / 302.1 MB, free: 18.8 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.1267, allocations: 6.562 kB / 302.1 MB, free: 18.8 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.966e-05/0.1267, allocations: 7.938 kB / 302.1 MB, free: 18.8 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002331/0.127, allocations: 177.5 kB / 302.3 MB, free: 18.65 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.976e-05/0.127, allocations: 29.19 kB / 302.3 MB, free: 18.62 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.699e-05/0.127, allocations: 9.734 kB / 302.4 MB, free: 18.62 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/0.127, allocations: 1.938 kB / 302.4 MB, free: 18.62 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.531e-05/0.1271, allocations: 37.31 kB / 302.4 MB, free: 18.58 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.313e-06/0.1271, allocations: 0 / 302.4 MB, free: 18.58 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.000326/0.1274, allocations: 105.1 kB / 302.5 MB, free: 18.54 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.304e-05/0.1274, allocations: 57.22 kB / 302.6 MB, free: 18.48 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.223e-05/0.1275, allocations: 154.7 kB / 302.7 MB, free: 18.36 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.123e-06/0.1275, allocations: 29.45 kB / 302.7 MB, free: 18.33 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.994e-05/0.1275, allocations: 94.95 kB / 302.8 MB, free: 18.24 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.03e-05/0.1276, allocations: 24.47 kB / 302.8 MB, free: 18.23 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.402e-05/0.1276, allocations: 22.95 kB / 302.9 MB, free: 18.21 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.176e-05/0.1276, allocations: 323.1 kB / 303.2 MB, free: 17.9 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.173e-05/0.1276, allocations: 6.125 kB / 303.2 MB, free: 17.9 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.704e-05/0.1277, allocations: 6.438 kB / 303.2 MB, free: 17.9 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.102e-05/0.1277, allocations: 29.19 kB / 303.2 MB, free: 17.89 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.1277, allocations: 4.781 kB / 303.2 MB, free: 17.88 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.656e-05/0.1278, allocations: 50.33 kB / 303.3 MB, free: 17.85 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.1278, allocations: 9.094 kB / 303.3 MB, free: 17.85 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.1278, allocations: 0.5625 kB / 303.3 MB, free: 17.85 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.1278, allocations: 1.062 kB / 303.3 MB, free: 17.85 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.957e-05/0.1279, allocations: 27.27 kB / 303.3 MB, free: 17.85 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.196e-06/0.1279, allocations: 3.375 kB / 303.3 MB, free: 17.85 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.865e-05/0.1279, allocations: 5.906 kB / 303.3 MB, free: 17.85 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.1279, allocations: 2.062 kB / 303.3 MB, free: 17.85 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 4.548e-05/0.128, allocations: 116.2 kB / 303.4 MB, free: 17.73 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.799e-05/0.128, allocations: 7.953 kB / 303.4 MB, free: 17.73 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001111/0.1281, allocations: 72.03 kB / 303.5 MB, free: 17.7 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.1281, allocations: 4.078 kB / 303.5 MB, free: 17.7 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.1281, allocations: 0 / 303.5 MB, free: 17.7 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.1281, allocations: 0 / 303.5 MB, free: 17.7 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002158/0.1283, allocations: 226 kB / 303.7 MB, free: 17.51 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1283, allocations: 1.062 kB / 303.7 MB, free: 17.51 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.029e-05/0.1284, allocations: 17.97 kB / 303.8 MB, free: 17.51 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1284, allocations: 1.062 kB / 303.8 MB, free: 17.51 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/0.1284, allocations: 1.719 kB / 303.8 MB, free: 17.51 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.1284, allocations: 1.188 kB / 303.8 MB, free: 17.51 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1284, allocations: 1.609 kB / 303.8 MB, free: 17.51 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.883e-05/0.1285, allocations: 157.7 kB / 303.9 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.749e-06/0.1285, allocations: 6.625 kB / 303.9 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.1285, allocations: 1.875 kB / 303.9 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.646e-05/0.1286, allocations: 5.609 kB / 303.9 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.155e-05/0.1286, allocations: 9.344 kB / 303.9 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.84e-06/0.1286, allocations: 1.062 kB / 303.9 MB, free: 17.38 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.029e-05/0.1286, allocations: 39.2 kB / 304 MB, free: 17.36 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1286, allocations: 0 / 304 MB, free: 17.36 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002046/0.1289, allocations: 21.11 kB / 304 MB, free: 17.36 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.001193/0.13, allocations: 0.4989 MB / 304.5 MB, free: 17.1 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.927e-05/0.1301, allocations: 41.48 kB / 304.5 MB, free: 17.08 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/0.1301, allocations: 1.094 kB / 304.5 MB, free: 17.08 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.952e-05/0.1302, allocations: 25.83 kB / 304.6 MB, free: 17.07 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001956/0.1304, allocations: 20.03 kB / 304.6 MB, free: 17.07 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000332/0.1307, allocations: 200.1 kB / 304.8 MB, free: 16.92 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.452e-05/0.1307, allocations: 67.92 kB / 304.9 MB, free: 16.85 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.312e-05/0.1308, allocations: 14.05 kB / 304.9 MB, free: 16.85 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.318e-05/0.1308, allocations: 66.11 kB / 304.9 MB, free: 16.8 MB / 282.7 MB Notification: Performance of SimCode: time 9.32e-07/0.1308, allocations: 0 / 304.9 MB, free: 16.8 MB / 282.7 MB Notification: Performance of Templates: time 0.003719/0.1346, allocations: 1.373 MB / 306.3 MB, free: 16.65 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.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.8724683141335845]