Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.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.001086/0.001086, 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.00101/0.00101, 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.8257/0.8257, 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.171/0.171, allocations: 32.38 MB / 270.7 MB, free: 14.61 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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6") translateModel(ModelicaTest.Tables.CombiTable2D.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 299.1 MB, free: 2.203 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.725e-05/1.86e-05, allocations: 2.312 kB / 299.1 MB, free: 2.199 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test6): time 0.002613/0.002632, allocations: 1.643 MB / 300.7 MB, free: 0.543 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005174/0.003149, allocations: 347.2 kB / 301.1 MB, free: 204 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.011e-05/0.003189, allocations: 0 / 301.1 MB, free: 204 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1206/0.1238, allocations: 441.5 kB / 301.5 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004443/0.1243, allocations: 253.6 kB / 301.7 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002793/0.1245, allocations: 106.4 kB / 301.8 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003453/0.1249, allocations: 169.5 kB / 302 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.141e-05/0.125, allocations: 15.11 kB / 302 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001841/0.1252, allocations: 115.4 kB / 302.1 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002467/0.1254, allocations: 196.3 kB / 302.3 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.861e-05/0.1254, allocations: 4.281 kB / 302.3 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.335e-05/0.1255, allocations: 34.39 kB / 302.4 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.706e-05/0.1256, allocations: 88.69 kB / 302.4 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.43e-05/0.1256, allocations: 33.78 kB / 302.5 MB, free: 19.19 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002403/0.1259, allocations: 198.2 kB / 302.7 MB, free: 19.15 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1259, allocations: 0 / 302.7 MB, free: 19.15 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1259, allocations: 1.078 kB / 302.7 MB, free: 19.15 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.1259, allocations: 1.156 kB / 302.7 MB, free: 19.15 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.000476/0.1264, allocations: 0.5369 MB / 303.2 MB, free: 18.74 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.1264, allocations: 9.875 kB / 303.2 MB, free: 18.74 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.135e-05/0.1265, allocations: 27.56 kB / 303.2 MB, free: 18.74 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001543/0.1266, allocations: 239.9 kB / 303.5 MB, free: 18.54 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.238e-06/0.1266, allocations: 3.125 kB / 303.5 MB, free: 18.54 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.022e-05/0.1266, allocations: 4.969 kB / 303.5 MB, free: 18.54 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.605e-05/0.1267, allocations: 63.25 kB / 303.6 MB, free: 18.49 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.1268, allocations: 384 / 303.6 MB, free: 18.49 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.632e-06/0.1268, allocations: 4.594 kB / 303.6 MB, free: 18.48 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.526e-06/0.1268, allocations: 1.094 kB / 303.6 MB, free: 18.48 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.656e-05/0.1268, allocations: 10.02 kB / 303.6 MB, free: 18.48 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001882/0.127, allocations: 170.2 kB / 303.7 MB, free: 18.34 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.742e-05/0.127, allocations: 31.91 kB / 303.8 MB, free: 18.31 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.39e-05/0.127, allocations: 9.703 kB / 303.8 MB, free: 18.3 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.1271, allocations: 1.375 kB / 303.8 MB, free: 18.3 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.604e-05/0.1271, allocations: 36.19 kB / 303.8 MB, free: 18.26 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.563e-06/0.1271, allocations: 0 / 303.8 MB, free: 18.26 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003282/0.1274, allocations: 121.2 kB / 303.9 MB, free: 18.23 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.145e-05/0.1274, allocations: 53.09 kB / 304 MB, free: 18.16 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004055/0.1278, allocations: 0.5259 MB / 304.5 MB, free: 18.03 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.017e-05/0.1278, allocations: 27.2 kB / 304.5 MB, free: 18 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.951e-05/0.1279, allocations: 138.9 kB / 304.7 MB, free: 17.92 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.337e-05/0.1279, allocations: 23.58 kB / 304.7 MB, free: 17.9 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.771e-05/0.128, allocations: 24.3 kB / 304.7 MB, free: 17.89 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.618e-05/0.128, allocations: 356.3 kB / 305.1 MB, free: 17.57 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.435e-05/0.128, allocations: 4.625 kB / 305.1 MB, free: 17.57 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.304e-05/0.128, allocations: 8.672 kB / 305.1 MB, free: 17.57 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.55e-05/0.1281, allocations: 32.38 kB / 305.1 MB, free: 17.57 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.1281, allocations: 0 / 305.1 MB, free: 17.57 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.88e-05/0.1282, allocations: 72.72 kB / 305.2 MB, free: 17.53 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.1282, allocations: 6.031 kB / 305.2 MB, free: 17.53 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.1282, allocations: 1 kB / 305.2 MB, free: 17.53 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.1282, allocations: 0 / 305.2 MB, free: 17.53 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.294e-05/0.1283, allocations: 16.67 kB / 305.2 MB, free: 17.53 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.1283, allocations: 7.641 kB / 305.2 MB, free: 17.53 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.94e-05/0.1283, allocations: 5.828 kB / 305.2 MB, free: 17.53 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-06/0.1283, allocations: 0.5938 kB / 305.2 MB, free: 17.53 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 5.452e-05/0.1284, allocations: 118 kB / 305.3 MB, free: 17.41 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.24e-05/0.1284, allocations: 25.95 kB / 305.4 MB, free: 17.41 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001154/0.1285, allocations: 92.55 kB / 305.4 MB, free: 17.37 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.1285, allocations: 2.062 kB / 305.5 MB, free: 17.37 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.1285, allocations: 8.953 kB / 305.5 MB, free: 17.37 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.1285, allocations: 0 / 305.5 MB, free: 17.37 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002464/0.1288, allocations: 280.4 kB / 305.7 MB, free: 17.18 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.1288, allocations: 0 / 305.7 MB, free: 17.18 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.239e-05/0.1288, allocations: 18.58 kB / 305.8 MB, free: 17.18 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.1288, allocations: 3.938 kB / 305.8 MB, free: 17.18 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.169e-06/0.1288, allocations: 1.406 kB / 305.8 MB, free: 17.18 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.1288, allocations: 1.578 kB / 305.8 MB, free: 17.18 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1288, allocations: 0 / 305.8 MB, free: 17.18 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.338e-05/0.1289, allocations: 171.8 kB / 305.9 MB, free: 17.04 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.339e-05/0.1289, allocations: 35.17 kB / 306 MB, free: 17.02 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.355e-05/0.1289, allocations: 5.625 kB / 306 MB, free: 17.02 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.094e-05/0.129, allocations: 4.984 kB / 306 MB, free: 17.02 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.907e-05/0.129, allocations: 12.38 kB / 306 MB, free: 17.02 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-06/0.129, allocations: 1.125 kB / 306 MB, free: 17.02 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002255/0.1292, allocations: 281.2 kB / 306.3 MB, free: 16.99 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1292, allocations: 0 / 306.3 MB, free: 16.99 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.00015/0.1294, allocations: 28.39 kB / 306.3 MB, free: 16.99 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.0009895/0.1304, allocations: 0.4915 MB / 306.8 MB, free: 16.72 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.919e-05/0.1304, allocations: 34.84 kB / 306.8 MB, free: 16.71 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.187e-06/0.1305, allocations: 3.938 kB / 306.8 MB, free: 16.71 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.222e-05/0.1305, allocations: 24.98 kB / 306.8 MB, free: 16.7 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000184/0.1307, allocations: 37.53 kB / 306.9 MB, free: 16.7 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005956/0.1313, allocations: 0.5771 MB / 307.5 MB, free: 16.37 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.801e-05/0.1313, allocations: 118.5 kB / 307.6 MB, free: 16.3 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.501e-05/0.1314, allocations: 10.94 kB / 307.6 MB, free: 16.3 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.646e-05/0.1314, allocations: 60.31 kB / 307.6 MB, free: 16.25 MB / 282.7 MB Notification: Performance of SimCode: time 6.11e-07/0.1314, allocations: 0 / 307.6 MB, free: 16.25 MB / 282.7 MB Notification: Performance of Templates: time 0.004022/0.1354, allocations: 1.527 MB / 309.2 MB, free: 16.05 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test6/Test6.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.8613740601576865]