Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.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.001535/0.001535, allocations: 100.3 kB / 19.69 MB, free: 1.805 MB / 14.72 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.002241/0.002241, allocations: 213 kB / 22.99 MB, free: 4.602 MB / 14.72 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 1.564/1.564, allocations: 207.7 MB / 233.8 MB, free: 9.805 MB / 190.1 MB " [Timeout remaining time 178] 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.2594/0.2594, allocations: 44.27 MB / 330.3 MB, free: 9.316 MB / 270.1 MB " [Timeout remaining time 179] 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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002311/0.002311, allocations: 76.47 kB / 468 MB, free: 3.844 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1158, allocations: 61.04 MB / 0.5166 GB, free: 6.68 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.003024/0.1189, allocations: 1.603 MB / 0.5182 GB, free: 5.062 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007075/0.1196, allocations: 347.6 kB / 0.5185 GB, free: 4.719 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.774e-05/0.1196, allocations: 4 kB / 0.5185 GB, free: 4.715 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006125/0.1202, allocations: 455.1 kB / 0.519 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003673/0.1206, allocations: 259.4 kB / 0.5192 GB, free: 4.016 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00039/0.121, allocations: 151.7 kB / 0.5194 GB, free: 3.867 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002292/0.1212, allocations: 159.7 kB / 0.5195 GB, free: 3.711 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.1213, allocations: 16.16 kB / 0.5195 GB, free: 3.695 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001261/0.1214, allocations: 115.7 kB / 0.5197 GB, free: 3.582 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002662/0.1217, allocations: 247.5 kB / 0.5199 GB, free: 3.34 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.269e-05/0.1217, allocations: 4 kB / 0.5199 GB, free: 3.336 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.552e-05/0.1218, allocations: 35.97 kB / 0.5199 GB, free: 3.301 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001186/0.1219, allocations: 83.69 kB / 0.52 GB, free: 3.219 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.377e-05/0.122, allocations: 67.25 kB / 0.5201 GB, free: 3.152 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003254/0.1223, allocations: 262.6 kB / 0.5203 GB, free: 2.895 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.1224, allocations: 0 / 0.5203 GB, free: 2.895 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1224, allocations: 4 kB / 0.5203 GB, free: 2.891 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.959e-06/0.1224, allocations: 0 / 0.5203 GB, free: 2.891 MB / 398.1 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.0007275/0.1231, allocations: 0.5699 MB / 0.5209 GB, free: 2.289 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.1231, allocations: 12.03 kB / 0.5209 GB, free: 2.277 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.807e-05/0.1232, allocations: 40.66 kB / 0.5209 GB, free: 2.238 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002831/0.1235, allocations: 238.8 kB / 0.5212 GB, free: 1.98 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.427e-06/0.1235, allocations: 384 / 0.5212 GB, free: 1.98 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.779e-05/0.1235, allocations: 4.375 kB / 0.5212 GB, free: 1.977 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.1237, allocations: 61.55 kB / 0.5212 GB, free: 1.91 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.1237, allocations: 0 / 0.5212 GB, free: 1.91 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.844e-06/0.1237, allocations: 4 kB / 0.5212 GB, free: 1.906 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.1237, allocations: 4 kB / 0.5212 GB, free: 1.902 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.676e-05/0.1238, allocations: 31.97 kB / 0.5213 GB, free: 1.871 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004346/0.1242, allocations: 328.3 kB / 0.5216 GB, free: 1.52 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001942/0.1244, allocations: 50.5 kB / 0.5216 GB, free: 1.461 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.076e-05/0.1245, allocations: 12.94 kB / 0.5216 GB, free: 1.445 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.619e-05/0.1245, allocations: 4 kB / 0.5216 GB, free: 1.441 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.1245, allocations: 38.5 kB / 0.5217 GB, free: 1.395 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.1245, allocations: 4 kB / 0.5217 GB, free: 1.391 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.000578/0.1251, allocations: 236.9 kB / 0.5219 GB, free: 1.152 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/0.1251, allocations: 55.41 kB / 0.522 GB, free: 1.086 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008345/0.126, allocations: 0.8457 MB / 0.5228 GB, free: 232 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/0.126, allocations: 25.7 kB / 0.5228 GB, free: 200 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00019/0.1262, allocations: 220.1 kB / 0.523 GB, free: 15.97 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.831e-05/0.1262, allocations: 23.77 kB / 0.523 GB, free: 15.95 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.237e-05/0.1262, allocations: 17.72 kB / 0.5231 GB, free: 15.93 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001806/0.1264, allocations: 366.7 kB / 0.5234 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.268e-05/0.1265, allocations: 19.98 kB / 0.5234 GB, free: 15.54 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.275e-05/0.1266, allocations: 19.98 kB / 0.5234 GB, free: 15.52 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001503/0.1267, allocations: 60.95 kB / 0.5235 GB, free: 15.46 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1267, allocations: 0 / 0.5235 GB, free: 15.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002213/0.1269, allocations: 125.4 kB / 0.5236 GB, free: 15.33 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.1269, allocations: 8 kB / 0.5236 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.1269, allocations: 4 kB / 0.5236 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.127, allocations: 0 / 0.5236 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.856e-05/0.127, allocations: 8 kB / 0.5236 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.026e-06/0.127, allocations: 3.984 kB / 0.5236 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.241e-05/0.1271, allocations: 8 kB / 0.5237 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.1271, allocations: 3.938 kB / 0.5237 GB, free: 15.3 MB / 414.1 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 (5): * Single equations (assignments): 5 * 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 0.0001879/0.1273, allocations: 213.8 kB / 0.5239 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.705e-05/0.1273, allocations: 43.66 kB / 0.5239 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002819/0.1276, allocations: 149.1 kB / 0.524 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.1276, allocations: 0 / 0.524 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.1276, allocations: 0 / 0.524 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.1276, allocations: 0 / 0.524 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005295/0.1282, allocations: 410 kB / 0.5244 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1282, allocations: 0 / 0.5244 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.164e-05/0.1282, allocations: 8 kB / 0.5244 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.552e-06/0.1282, allocations: 0 / 0.5244 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.1282, allocations: 16.17 kB / 0.5245 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.1282, allocations: 4 kB / 0.5245 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.1282, allocations: 3.938 kB / 0.5245 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002599/0.1285, allocations: 211.2 kB / 0.5247 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.241e-05/0.1285, allocations: 39.64 kB / 0.5247 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.264e-05/0.1286, allocations: 0 / 0.5247 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.193e-05/0.1286, allocations: 8 kB / 0.5247 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.792e-05/0.1287, allocations: 11.86 kB / 0.5247 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.1287, allocations: 4 kB / 0.5247 GB, free: 14.12 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006438/0.1293, allocations: 0.6472 MB / 0.5254 GB, free: 13.48 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1293, allocations: 0 / 0.5254 GB, free: 13.48 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002599/0.1296, allocations: 23.94 kB / 0.5254 GB, free: 13.46 MB / 414.1 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 (5): * Single equations (assignments): 5 * 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.001655/0.1312, allocations: 425.8 kB / 0.5258 GB, free: 13.08 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002315/0.1315, allocations: 55.95 kB / 0.5258 GB, free: 13.03 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1315, allocations: 0 / 0.5258 GB, free: 13.03 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.001e-05/0.1316, allocations: 27.92 kB / 0.5259 GB, free: 13 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004171/0.132, allocations: 37.75 kB / 0.5259 GB, free: 12.96 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001133/0.1331, allocations: 0.7983 MB / 0.5267 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002472/0.1334, allocations: 216.2 kB / 0.5269 GB, free: 11.91 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.632e-05/0.1334, allocations: 11.98 kB / 0.5269 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.377e-05/0.1334, allocations: 15.44 kB / 0.5269 GB, free: 11.88 MB / 414.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1334, allocations: 0 / 0.5269 GB, free: 11.88 MB / 414.1 MB Notification: Performance of Templates: time 0.005279/0.1387, allocations: 1.656 MB / 0.5285 GB, free: 10.23 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.478168984875083]