Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.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.001358/0.001358, allocations: 79.92 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.001593/0.001593, 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.8781/0.8781, allocations: 158.6 MB / 186 MB, free: 2.773 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.1393/0.1393, 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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17") translateModel(ModelicaTest.Tables.CombiTable2D.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 299.1 MB, free: 2.207 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.565e-05/1.69e-05, allocations: 2.312 kB / 299.1 MB, free: 2.203 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test17): time 0.002178/0.002195, allocations: 1.665 MB / 300.7 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1222/0.1244, allocations: 0.806 MB / 301.5 MB, free: 19.31 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.828e-05/0.1245, allocations: 1.469 kB / 301.5 MB, free: 19.31 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002334/0.1247, allocations: 29.05 kB / 301.6 MB, free: 19.31 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001945/0.1249, allocations: 42.62 kB / 301.6 MB, free: 19.3 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.136e-06/0.1249, allocations: 0 / 301.6 MB, free: 19.3 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001273/0.125, allocations: 38.41 kB / 301.7 MB, free: 19.3 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.353e-05/0.125, allocations: 2.906 kB / 301.7 MB, free: 19.3 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.163e-05/0.1251, allocations: 18.34 kB / 301.7 MB, free: 19.3 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.297e-05/0.1251, allocations: 15 kB / 301.7 MB, free: 19.3 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.286e-06/0.1252, allocations: 0 / 301.7 MB, free: 19.3 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.698e-05/0.1252, allocations: 8.141 kB / 301.7 MB, free: 19.3 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.514e-05/0.1252, allocations: 17.69 kB / 301.7 MB, free: 19.3 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.565e-05/0.1252, allocations: 10.47 kB / 301.7 MB, free: 19.29 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001088/0.1253, allocations: 54.7 kB / 301.8 MB, free: 19.28 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.1254, allocations: 0.6562 kB / 301.8 MB, free: 19.28 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1254, allocations: 0 / 301.8 MB, free: 19.28 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.806e-06/0.1254, allocations: 3.469 kB / 301.8 MB, free: 19.28 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0001966/0.1256, allocations: 258 kB / 302 MB, free: 19.03 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.864e-05/0.1256, allocations: 9.219 kB / 302 MB, free: 19.03 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.349e-05/0.1256, allocations: 7.75 kB / 302 MB, free: 19.03 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.839e-05/0.1257, allocations: 126.9 kB / 302.2 MB, free: 18.89 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.542e-06/0.1257, allocations: 2.469 kB / 302.2 MB, free: 18.89 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.695e-06/0.1257, allocations: 1.594 kB / 302.2 MB, free: 18.89 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.577e-05/0.1258, allocations: 95.44 kB / 302.3 MB, free: 18.81 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.851e-06/0.1258, allocations: 5.375 kB / 302.3 MB, free: 18.81 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.071e-06/0.1258, allocations: 2.641 kB / 302.3 MB, free: 18.81 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.638e-05/0.1258, allocations: 23.17 kB / 302.3 MB, free: 18.81 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.756e-05/0.1259, allocations: 30.75 kB / 302.3 MB, free: 18.8 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002252/0.1261, allocations: 0.7704 MB / 303.1 MB, free: 18.07 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.027e-05/0.1261, allocations: 169 kB / 303.3 MB, free: 17.9 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.104e-05/0.1261, allocations: 88.42 kB / 303.4 MB, free: 17.82 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.352e-06/0.1261, allocations: 75.81 kB / 303.4 MB, free: 17.74 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.557e-05/0.1262, allocations: 109.6 kB / 303.5 MB, free: 17.63 MB / 282.7 MB Notification: Performance of pre-optimization done (n=0): time 1.513e-06/0.1262, allocations: 0.8906 kB / 303.5 MB, free: 17.63 MB / 282.7 MB Notification: Performance of matching and sorting (n=0): time 3.92e-05/0.1262, allocations: 32.56 kB / 303.6 MB, free: 17.6 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.214e-05/0.1262, allocations: 126.7 kB / 303.7 MB, free: 17.46 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.579e-05/0.1263, allocations: 178.1 kB / 303.9 MB, free: 17.34 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.555e-06/0.1263, allocations: 27.38 kB / 303.9 MB, free: 17.31 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.829e-05/0.1264, allocations: 146.9 kB / 304 MB, free: 17.18 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.467e-06/0.1264, allocations: 2.406 kB / 304 MB, free: 17.18 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-05/0.1264, allocations: 41.42 kB / 304.1 MB, free: 17.16 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 2.881e-05/0.1264, allocations: 321.8 kB / 304.4 MB, free: 16.85 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.341e-05/0.1264, allocations: 14.75 kB / 304.4 MB, free: 16.85 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.496e-05/0.1265, allocations: 139.9 kB / 304.5 MB, free: 16.69 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.7e-05/0.1266, allocations: 177.4 kB / 304.7 MB, free: 16.51 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.1266, allocations: 1.125 kB / 304.7 MB, free: 16.51 MB / 282.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001448/0.1267, allocations: 151.7 kB / 304.9 MB, free: 16.45 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.1267, allocations: 6.828 kB / 304.9 MB, free: 16.45 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.1267, allocations: 4.375 kB / 304.9 MB, free: 16.45 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.1267, allocations: 6.578 kB / 304.9 MB, free: 16.45 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.141e-05/0.1268, allocations: 37.91 kB / 304.9 MB, free: 16.44 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/0.1268, allocations: 11 kB / 304.9 MB, free: 16.44 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.176e-05/0.1269, allocations: 22.61 kB / 305 MB, free: 16.43 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.766e-06/0.1269, allocations: 8.344 kB / 305 MB, free: 16.43 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.627e-05/0.1269, allocations: 205.1 kB / 305.2 MB, free: 16.23 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.347e-05/0.127, allocations: 114.9 kB / 305.3 MB, free: 16.11 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.452e-05/0.127, allocations: 114 kB / 305.4 MB, free: 16 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.341e-05/0.127, allocations: 180.1 kB / 305.6 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.597e-05/0.127, allocations: 185.7 kB / 305.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.492e-05/0.127, allocations: 182.1 kB / 305.9 MB, free: 15.45 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.439e-05/0.1271, allocations: 333.1 kB / 306.2 MB, free: 15.12 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.378e-06/0.1271, allocations: 102.9 kB / 306.3 MB, free: 15.02 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.919e-06/0.1271, allocations: 103.6 kB / 306.4 MB, free: 14.91 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.79e-05/0.1272, allocations: 182.4 kB / 306.6 MB, free: 14.73 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.1272, allocations: 179.9 kB / 306.8 MB, free: 14.55 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.516e-05/0.1272, allocations: 187.3 kB / 307 MB, free: 14.36 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.505e-05/0.1272, allocations: 183.3 kB / 307.2 MB, free: 14.18 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.781e-05/0.1273, allocations: 314 kB / 307.5 MB, free: 13.86 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.775e-05/0.1273, allocations: 110.9 kB / 307.6 MB, free: 13.75 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.103e-05/0.1273, allocations: 182.7 kB / 307.8 MB, free: 13.57 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.14e-05/0.1273, allocations: 103.7 kB / 307.9 MB, free: 13.46 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.764e-05/0.1274, allocations: 180.9 kB / 308 MB, free: 13.28 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.1274, allocations: 105.6 kB / 308.1 MB, free: 13.17 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.593e-05/0.1274, allocations: 39.34 kB / 308.2 MB, free: 13.16 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1274, allocations: 0 / 308.2 MB, free: 13.16 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001529/0.1276, allocations: 12.19 kB / 308.2 MB, free: 13.16 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 (0): * Single equations (assignments): 0 * 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.000452/0.128, allocations: 310.1 kB / 308.5 MB, free: 13 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.389e-05/0.1281, allocations: 56.42 kB / 308.5 MB, free: 12.98 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/0.1281, allocations: 2.219 kB / 308.5 MB, free: 12.98 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.252e-06/0.1281, allocations: 1.25 kB / 308.5 MB, free: 12.98 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001396/0.1282, allocations: 465.6 kB / 309 MB, free: 12.54 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002962/0.1285, allocations: 253.9 kB / 309.2 MB, free: 12.32 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.784e-05/0.1286, allocations: 71.59 kB / 309.3 MB, free: 12.25 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.476e-05/0.1286, allocations: 16 kB / 309.3 MB, free: 12.25 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.318e-05/0.1286, allocations: 59.73 kB / 309.4 MB, free: 12.2 MB / 282.7 MB Notification: Performance of SimCode: time 4.01e-07/0.1286, allocations: 0 / 309.4 MB, free: 12.2 MB / 282.7 MB Notification: Performance of Templates: time 0.002401/0.131, allocations: 0.7536 MB / 310.1 MB, free: 12.13 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test17/Test17.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.8467937731184065]