Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.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.0009819/0.0009819, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.0009083/0.0009083, allocations: 170.4 kB / 24.91 MB, free: 8.723 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9136/0.9136, allocations: 177.1 MB / 205.3 MB, free: 4.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1635/0.1635, allocations: 32.81 MB / 294.6 MB, free: 15.44 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 323.3 MB, free: 2.762 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.324e-05/2.484e-05, allocations: 6.25 kB / 323.3 MB, free: 2.754 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.003229/0.003254, allocations: 1.711 MB / 325 MB, free: 1.031 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001025/0.004279, allocations: 0.5607 MB / 325.5 MB, free: 476 kB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.992e-05/0.004339, allocations: 0 / 325.5 MB, free: 476 kB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006093/0.004948, allocations: 463 kB / 326 MB, free: 12 kB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004654/0.005413, allocations: 283.3 kB / 326.3 MB, free: 15.73 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000415/0.005828, allocations: 175.5 kB / 326.4 MB, free: 15.56 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004186/0.006247, allocations: 187.5 kB / 326.6 MB, free: 15.38 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.51e-05/0.006342, allocations: 4 kB / 326.6 MB, free: 15.38 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000169/0.006511, allocations: 119.8 kB / 326.8 MB, free: 15.26 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002094/0.006721, allocations: 195.6 kB / 326.9 MB, free: 15.07 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.934e-05/0.00674, allocations: 8 kB / 326.9 MB, free: 15.06 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.17e-05/0.006812, allocations: 23.98 kB / 327 MB, free: 15.04 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.006913, allocations: 87.7 kB / 327.1 MB, free: 14.95 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.299e-05/0.006956, allocations: 35.73 kB / 327.1 MB, free: 14.91 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000238/0.007194, allocations: 195.2 kB / 327.3 MB, free: 14.72 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.007196, allocations: 3.938 kB / 327.3 MB, free: 14.72 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.007197, allocations: 0 / 327.3 MB, free: 14.72 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.898e-06/0.007201, allocations: 0 / 327.3 MB, free: 14.72 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004565/0.007657, allocations: 0.541 MB / 327.8 MB, free: 14.15 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.007689, allocations: 15.98 kB / 327.8 MB, free: 14.14 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.439e-05/0.007723, allocations: 24.91 kB / 327.9 MB, free: 14.11 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000169/0.007892, allocations: 246 kB / 328.1 MB, free: 13.85 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.754e-06/0.0079, allocations: 4.375 kB / 328.1 MB, free: 13.84 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.232e-06/0.007906, allocations: 384 / 328.1 MB, free: 13.84 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.703e-05/0.007993, allocations: 58.94 kB / 328.2 MB, free: 13.78 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.171e-06/0.007999, allocations: 192 / 328.2 MB, free: 13.78 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.203e-06/0.008006, allocations: 4.125 kB / 328.2 MB, free: 13.77 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.00801, allocations: 3.938 kB / 328.2 MB, free: 13.77 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.857e-05/0.008029, allocations: 12 kB / 328.2 MB, free: 13.76 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002275/0.008257, allocations: 191.2 kB / 328.4 MB, free: 13.55 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.255e-05/0.008309, allocations: 26.58 kB / 328.4 MB, free: 13.52 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.561e-05/0.008325, allocations: 12.94 kB / 328.4 MB, free: 13.5 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.387e-05/0.008339, allocations: 0 / 328.4 MB, free: 13.5 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.811e-05/0.008357, allocations: 34.5 kB / 328.4 MB, free: 13.46 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 7.12e-07/0.008357, allocations: 0 / 328.4 MB, free: 13.46 MB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001104/0.008468, allocations: 61.61 kB / 328.5 MB, free: 13.39 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.563e-05/0.008493, allocations: 55.39 kB / 328.6 MB, free: 13.33 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002964/0.00879, allocations: 0.5322 MB / 329.1 MB, free: 12.78 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.051e-05/0.0088, allocations: 25.7 kB / 329.1 MB, free: 12.75 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.539e-05/0.008856, allocations: 145.3 kB / 329.3 MB, free: 12.6 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.893e-05/0.008875, allocations: 19.88 kB / 329.3 MB, free: 12.58 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.261e-05/0.008897, allocations: 13.72 kB / 329.3 MB, free: 12.56 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.485e-05/0.008982, allocations: 354.7 kB / 329.6 MB, free: 12.21 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.608e-06/0.008992, allocations: 4 kB / 329.6 MB, free: 12.2 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.827e-06/0.009001, allocations: 3.938 kB / 329.7 MB, free: 12.2 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.705e-05/0.009028, allocations: 19.95 kB / 329.7 MB, free: 12.18 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.009029, allocations: 0 / 329.7 MB, free: 12.18 MB / 314.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.682e-05/0.009086, allocations: 57.66 kB / 329.7 MB, free: 12.11 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.009099, allocations: 11.94 kB / 329.7 MB, free: 12.1 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.009104, allocations: 3.938 kB / 329.7 MB, free: 12.1 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.937e-06/0.009113, allocations: 0 / 329.7 MB, free: 12.1 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.528e-05/0.009158, allocations: 11.98 kB / 329.8 MB, free: 12.09 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.327e-06/0.009161, allocations: 4 kB / 329.8 MB, free: 12.08 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.28e-05/0.009184, allocations: 0 / 329.8 MB, free: 12.08 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.588e-06/0.009189, allocations: 0 / 329.8 MB, free: 12.08 MB / 314.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 (3): * Single equations (assignments): 3 * 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.948e-05/0.009258, allocations: 128.6 kB / 329.9 MB, free: 11.95 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.34e-05/0.009281, allocations: 15.98 kB / 329.9 MB, free: 11.93 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.884e-05/0.00938, allocations: 81.08 kB / 330 MB, free: 11.84 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.009383, allocations: 4 kB / 330 MB, free: 11.84 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.654e-06/0.009384, allocations: 0 / 330 MB, free: 11.84 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.009388, allocations: 3.984 kB / 330 MB, free: 11.84 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003871/0.009775, allocations: 137.7 kB / 330.1 MB, free: 11.68 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.009776, allocations: 0 / 330.1 MB, free: 11.68 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.382e-05/0.0098, allocations: 7.984 kB / 330.1 MB, free: 11.68 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.009802, allocations: 0 / 330.1 MB, free: 11.68 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.829e-06/0.009807, allocations: 4 kB / 330.1 MB, free: 11.67 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.009808, allocations: 0 / 330.1 MB, free: 11.67 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.009809, allocations: 3.938 kB / 330.1 MB, free: 11.67 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.065e-05/0.00989, allocations: 159.4 kB / 330.3 MB, free: 11.5 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.3e-05/0.009913, allocations: 31.72 kB / 330.3 MB, free: 11.46 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.283e-05/0.009926, allocations: 0 / 330.3 MB, free: 11.46 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.805e-05/0.009964, allocations: 16 kB / 330.3 MB, free: 11.45 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.262e-05/0.009977, allocations: 7.922 kB / 330.3 MB, free: 11.44 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.305e-06/0.009979, allocations: 0 / 330.3 MB, free: 11.44 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001676/0.01015, allocations: 283.2 kB / 330.6 MB, free: 11.16 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01015, allocations: 0 / 330.6 MB, free: 11.16 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001372/0.01028, allocations: 19.94 kB / 330.6 MB, free: 11.14 MB / 314.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 (3): * Single equations (assignments): 3 * 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.0008454/0.01113, allocations: 423.6 kB / 331.1 MB, free: 10.92 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 6.049e-05/0.01119, allocations: 20.78 kB / 331.1 MB, free: 10.89 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.543e-06/0.0112, allocations: 4 kB / 331.1 MB, free: 10.89 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.143e-05/0.01121, allocations: 20.8 kB / 331.1 MB, free: 10.87 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001791/0.01139, allocations: 24.8 kB / 331.1 MB, free: 10.85 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00053/0.01192, allocations: 0.5667 MB / 331.7 MB, free: 10.25 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.002e-05/0.01199, allocations: 119.2 kB / 331.8 MB, free: 10.11 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.987e-05/0.01202, allocations: 11.98 kB / 331.8 MB, free: 10.1 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.407e-05/0.01207, allocations: 63.36 kB / 331.9 MB, free: 10.04 MB / 314.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01207, allocations: 0 / 331.9 MB, free: 10.04 MB / 314.7 MB Notification: Performance of Templates: time 0.003357/0.01543, allocations: 1.283 MB / 333.2 MB, free: 8.766 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.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.9090964631177485]