Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.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.0009329/0.0009329, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.0009509/0.0009509, allocations: 174.3 kB / 24.92 MB, free: 8.715 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.9446/0.9446, allocations: 177.1 MB / 205.3 MB, free: 5.434 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.2246/0.2246, allocations: 32.81 MB / 294.6 MB, free: 1.16 MB / 266.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.CombiTable2Ds.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.664e-06/1.664e-06, allocations: 0 / 323.2 MB, free: 9.645 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.178e-05/1.345e-05, allocations: 2.312 kB / 323.2 MB, free: 9.641 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test15): time 0.002436/0.00245, allocations: 1.697 MB / 324.9 MB, free: 7.934 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006159/0.003065, allocations: 0.7988 MB / 325.7 MB, free: 7.133 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.571e-05/0.003101, allocations: 0 / 325.7 MB, free: 7.133 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002206/0.003322, allocations: 35.77 kB / 325.8 MB, free: 7.098 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001636/0.003485, allocations: 43.72 kB / 325.8 MB, free: 7.055 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.735e-06/0.003488, allocations: 0 / 325.8 MB, free: 7.055 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001115/0.0036, allocations: 39.83 kB / 325.8 MB, free: 7.016 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.747e-05/0.003637, allocations: 4 kB / 325.9 MB, free: 7.012 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.839e-05/0.003705, allocations: 19.97 kB / 325.9 MB, free: 6.992 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.178e-05/0.003727, allocations: 11.92 kB / 325.9 MB, free: 6.98 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.544e-06/0.003735, allocations: 0 / 325.9 MB, free: 6.98 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.584e-05/0.003771, allocations: 8 kB / 325.9 MB, free: 6.973 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.668e-05/0.003807, allocations: 19.92 kB / 325.9 MB, free: 6.953 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.417e-05/0.003821, allocations: 7.984 kB / 325.9 MB, free: 6.945 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.608e-05/0.003918, allocations: 55.66 kB / 326 MB, free: 6.891 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.563e-06/0.003919, allocations: 0 / 326 MB, free: 6.891 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.11e-07/0.00392, allocations: 4 kB / 326 MB, free: 6.887 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.745e-06/0.003922, allocations: 4 kB / 326 MB, free: 6.883 MB / 298.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.000222/0.004144, allocations: 269.9 kB / 326.2 MB, free: 6.594 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.873e-05/0.004173, allocations: 8.031 kB / 326.3 MB, free: 6.586 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.216e-05/0.004195, allocations: 4.938 kB / 326.3 MB, free: 6.582 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001063/0.004301, allocations: 125.8 kB / 326.4 MB, free: 6.434 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.094e-06/0.004309, allocations: 384 / 326.4 MB, free: 6.434 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.183e-05/0.00432, allocations: 4.375 kB / 326.4 MB, free: 6.43 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.455e-05/0.004415, allocations: 94.14 kB / 326.5 MB, free: 6.312 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.261e-06/0.004421, allocations: 192 / 326.5 MB, free: 6.312 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.901e-06/0.004427, allocations: 384 / 326.5 MB, free: 6.312 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.882e-05/0.004466, allocations: 32.3 kB / 326.5 MB, free: 6.281 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.702e-05/0.004493, allocations: 27.86 kB / 326.5 MB, free: 6.254 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003487/0.004842, allocations: 0.7755 MB / 327.3 MB, free: 5.441 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.805e-05/0.0049, allocations: 169.1 kB / 327.5 MB, free: 5.266 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.242e-05/0.004922, allocations: 80.14 kB / 327.6 MB, free: 5.184 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.00494, allocations: 79.28 kB / 327.6 MB, free: 5.105 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/0.004972, allocations: 109.9 kB / 327.7 MB, free: 4.988 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 7.71e-07/0.004972, allocations: 0 / 327.7 MB, free: 4.988 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 4.271e-05/0.005015, allocations: 29.7 kB / 327.8 MB, free: 4.953 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.452e-05/0.00506, allocations: 126.7 kB / 327.9 MB, free: 4.816 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.639e-05/0.005156, allocations: 188.9 kB / 328.1 MB, free: 4.621 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.426e-06/0.005164, allocations: 29.7 kB / 328.1 MB, free: 4.586 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.005e-05/0.005214, allocations: 139.6 kB / 328.2 MB, free: 4.445 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.979e-06/0.005219, allocations: 8 kB / 328.2 MB, free: 4.438 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.564e-05/0.005255, allocations: 41.64 kB / 328.3 MB, free: 4.391 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.161e-05/0.005327, allocations: 322.8 kB / 328.6 MB, free: 4.066 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.076e-05/0.005337, allocations: 8 kB / 328.6 MB, free: 4.059 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.786e-05/0.005405, allocations: 143.8 kB / 328.8 MB, free: 3.859 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001017/0.005507, allocations: 171.8 kB / 328.9 MB, free: 3.629 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/0.00551, allocations: 4 kB / 328.9 MB, free: 3.625 MB / 298.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001359/0.005646, allocations: 145.3 kB / 329.1 MB, free: 3.477 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.005657, allocations: 8 kB / 329.1 MB, free: 3.469 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.005663, allocations: 4 kB / 329.1 MB, free: 3.465 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.005677, allocations: 8 kB / 329.1 MB, free: 3.457 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.433e-05/0.005751, allocations: 35.92 kB / 329.1 MB, free: 3.422 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.005758, allocations: 11.88 kB / 329.1 MB, free: 3.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.643e-05/0.005805, allocations: 20.39 kB / 329.2 MB, free: 3.391 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.675e-06/0.005813, allocations: 12 kB / 329.2 MB, free: 3.379 MB / 298.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 6.981e-05/0.005882, allocations: 211.8 kB / 329.4 MB, free: 3.16 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.371e-05/0.005916, allocations: 105 kB / 329.5 MB, free: 3.051 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.932e-05/0.005955, allocations: 120.7 kB / 329.6 MB, free: 2.926 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.595e-05/0.005991, allocations: 176.3 kB / 329.8 MB, free: 2.746 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.774e-05/0.006029, allocations: 184.3 kB / 329.9 MB, free: 2.559 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.02e-05/0.006069, allocations: 184.2 kB / 330.1 MB, free: 2.371 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000126/0.006195, allocations: 325.4 kB / 330.4 MB, free: 2.027 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-05/0.006219, allocations: 104.9 kB / 330.5 MB, free: 1.918 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.52e-05/0.006244, allocations: 109 kB / 330.7 MB, free: 1.805 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.874e-05/0.006283, allocations: 188.2 kB / 330.8 MB, free: 1.613 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.886e-05/0.006322, allocations: 180.2 kB / 331 MB, free: 1.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.909e-05/0.006361, allocations: 188.2 kB / 331.2 MB, free: 1.238 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.849e-05/0.006399, allocations: 180.2 kB / 331.4 MB, free: 1.055 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.724e-05/0.006487, allocations: 311.7 kB / 331.7 MB, free: 0.7227 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.131e-05/0.006518, allocations: 116.9 kB / 331.8 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.156e-05/0.006559, allocations: 176.3 kB / 332 MB, free: 432 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.365e-05/0.006603, allocations: 108.9 kB / 332.1 MB, free: 316 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.921e-05/0.006642, allocations: 180.3 kB / 332.2 MB, free: 128 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.252e-05/0.006665, allocations: 104.9 kB / 332.3 MB, free: 16 kB / 298.7 MB Notification: Performance of sorting global known variables: time 3.698e-05/0.006702, allocations: 38.33 kB / 332.4 MB, free: 15.98 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006702, allocations: 8 kB / 332.4 MB, free: 15.97 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001421/0.006844, allocations: 15.95 kB / 332.4 MB, free: 15.95 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 (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.0004518/0.007296, allocations: 292.5 kB / 332.7 MB, free: 15.76 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.376e-05/0.00737, allocations: 65.56 kB / 332.8 MB, free: 15.69 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.007375, allocations: 320 / 332.8 MB, free: 15.69 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.42e-07/0.007376, allocations: 8 kB / 332.8 MB, free: 15.68 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001824/0.007559, allocations: 459.7 kB / 333.2 MB, free: 15.23 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002072/0.007766, allocations: 233.7 kB / 333.4 MB, free: 14.97 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.148e-05/0.007797, allocations: 63.84 kB / 333.5 MB, free: 14.89 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.197e-05/0.007839, allocations: 13.14 kB / 333.5 MB, free: 14.88 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.7e-05/0.007876, allocations: 67.3 kB / 333.6 MB, free: 14.81 MB / 314.7 MB Notification: Performance of SimCode: time 4.5e-07/0.007877, allocations: 0 / 333.6 MB, free: 14.81 MB / 314.7 MB Notification: Performance of Templates: time 0.002055/0.009931, allocations: 0.7811 MB / 334.4 MB, free: 14.04 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test15/Test15.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.909869486000389]