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.0009607/0.0009607, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.0009783/0.0009783, allocations: 169.1 kB / 24.91 MB, free: 9.191 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.977/0.977, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.2414/0.2414, allocations: 32.81 MB / 294.6 MB, free: 1.238 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.222e-06/1.222e-06, allocations: 0 / 323.3 MB, free: 9.656 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.819e-05/1.942e-05, allocations: 4.984 kB / 323.3 MB, free: 9.652 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test15): time 0.002316/0.002336, allocations: 1.737 MB / 325 MB, free: 7.902 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006554/0.002991, allocations: 0.8065 MB / 325.8 MB, free: 7.094 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.86e-05/0.003029, allocations: 4 kB / 325.8 MB, free: 7.09 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002341/0.003264, allocations: 27.83 kB / 325.9 MB, free: 7.062 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001755/0.003439, allocations: 51.69 kB / 325.9 MB, free: 7.012 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.476e-06/0.003442, allocations: 4 kB / 325.9 MB, free: 7.008 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000116/0.003558, allocations: 27.86 kB / 325.9 MB, free: 6.98 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.224e-05/0.003591, allocations: 3.984 kB / 325.9 MB, free: 6.977 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.194e-05/0.003663, allocations: 15.92 kB / 326 MB, free: 6.961 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.659e-05/0.003689, allocations: 11.98 kB / 326 MB, free: 6.949 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.197e-06/0.003698, allocations: 0 / 326 MB, free: 6.949 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.211e-05/0.003741, allocations: 19.98 kB / 326 MB, free: 6.93 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.973e-05/0.00378, allocations: 15.94 kB / 326 MB, free: 6.914 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.706e-05/0.003797, allocations: 12.55 kB / 326 MB, free: 6.902 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001042/0.003901, allocations: 55.7 kB / 326.1 MB, free: 6.848 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.003903, allocations: 0 / 326.1 MB, free: 6.848 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.003904, allocations: 0 / 326.1 MB, free: 6.848 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.246e-06/0.003907, allocations: 0 / 326.1 MB, free: 6.848 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.0002183/0.004125, allocations: 265.9 kB / 326.3 MB, free: 6.562 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.004158, allocations: 12.03 kB / 326.3 MB, free: 6.551 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.233e-05/0.00418, allocations: 4.922 kB / 326.3 MB, free: 6.547 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.004289, allocations: 125.7 kB / 326.5 MB, free: 6.398 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.512e-06/0.004295, allocations: 4.375 kB / 326.5 MB, free: 6.395 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.203e-06/0.004303, allocations: 4.375 kB / 326.5 MB, free: 6.391 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001038/0.004406, allocations: 98.19 kB / 326.6 MB, free: 6.27 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.004413, allocations: 4.125 kB / 326.6 MB, free: 6.266 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.33e-06/0.004418, allocations: 384 / 326.6 MB, free: 6.266 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.324e-05/0.004451, allocations: 20.36 kB / 326.6 MB, free: 6.246 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.788e-05/0.004479, allocations: 31.86 kB / 326.6 MB, free: 6.215 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003438/0.004823, allocations: 0.7678 MB / 327.4 MB, free: 5.41 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.303e-05/0.004876, allocations: 165.1 kB / 327.6 MB, free: 5.238 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.336e-05/0.004899, allocations: 84.17 kB / 327.6 MB, free: 5.152 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.499e-05/0.004914, allocations: 79.28 kB / 327.7 MB, free: 5.074 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/0.004947, allocations: 113.8 kB / 327.8 MB, free: 4.953 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 6.41e-07/0.004947, allocations: 0 / 327.8 MB, free: 4.953 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 4.809e-05/0.004995, allocations: 33.69 kB / 327.9 MB, free: 4.914 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.746e-05/0.005033, allocations: 126.7 kB / 328 MB, free: 4.777 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/0.005133, allocations: 180.9 kB / 328.2 MB, free: 4.59 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.775e-06/0.005141, allocations: 25.7 kB / 328.2 MB, free: 4.559 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.251e-05/0.005203, allocations: 147.5 kB / 328.3 MB, free: 4.41 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.073e-06/0.005205, allocations: 0 / 328.3 MB, free: 4.41 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.82e-05/0.005243, allocations: 45.66 kB / 328.4 MB, free: 4.359 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.605e-05/0.005319, allocations: 322.8 kB / 328.7 MB, free: 4.035 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.281e-05/0.005332, allocations: 15.92 kB / 328.7 MB, free: 4.02 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.195e-05/0.005404, allocations: 135.9 kB / 328.8 MB, free: 3.828 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001209/0.005525, allocations: 179.7 kB / 329 MB, free: 3.59 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.005527, allocations: 0 / 329 MB, free: 3.59 MB / 298.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001598/0.005687, allocations: 145.1 kB / 329.2 MB, free: 3.441 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.0057, allocations: 8.625 kB / 329.2 MB, free: 3.434 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.005707, allocations: 8 kB / 329.2 MB, free: 3.426 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.00572, allocations: 4 kB / 329.2 MB, free: 3.422 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.571e-05/0.005806, allocations: 43.86 kB / 329.2 MB, free: 3.379 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.739e-06/0.005816, allocations: 15.91 kB / 329.2 MB, free: 3.363 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.975e-05/0.005866, allocations: 15.89 kB / 329.2 MB, free: 3.348 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.005876, allocations: 16 kB / 329.3 MB, free: 3.332 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 7.655e-05/0.005952, allocations: 199.8 kB / 329.5 MB, free: 3.125 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.353e-05/0.005996, allocations: 108.9 kB / 329.6 MB, free: 3.012 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.125e-05/0.006037, allocations: 112.8 kB / 329.7 MB, free: 2.895 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.5e-05/0.006082, allocations: 180.3 kB / 329.9 MB, free: 2.711 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-05/0.006129, allocations: 188.3 kB / 330 MB, free: 2.52 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.069e-05/0.00617, allocations: 184.2 kB / 330.2 MB, free: 2.332 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000176/0.006346, allocations: 329.4 kB / 330.5 MB, free: 1.984 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.616e-05/0.006372, allocations: 109 kB / 330.6 MB, free: 1.871 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.492e-05/0.006397, allocations: 105 kB / 330.7 MB, free: 1.762 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.322e-05/0.00644, allocations: 180.2 kB / 330.9 MB, free: 1.578 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.533e-05/0.006525, allocations: 180.2 kB / 331.1 MB, free: 1.395 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.299e-05/0.006568, allocations: 188.2 kB / 331.3 MB, free: 1.203 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.734e-05/0.006606, allocations: 176.3 kB / 331.5 MB, free: 1.023 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.003e-05/0.006696, allocations: 311.7 kB / 331.8 MB, free: 0.6914 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.981e-05/0.006796, allocations: 116.9 kB / 331.9 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.47e-05/0.00684, allocations: 184.2 kB / 332.1 MB, free: 392 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.696e-05/0.006887, allocations: 105 kB / 332.2 MB, free: 280 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.229e-05/0.00693, allocations: 188.2 kB / 332.3 MB, free: 84 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.233e-05/0.006962, allocations: 101 kB / 332.4 MB, free: 15.98 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.076e-05/0.006993, allocations: 38.34 kB / 332.5 MB, free: 15.94 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.006993, allocations: 0 / 332.5 MB, free: 15.94 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001595/0.007152, allocations: 19.95 kB / 332.5 MB, free: 15.92 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.0004785/0.007631, allocations: 296.6 kB / 332.8 MB, free: 15.72 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.259e-05/0.007713, allocations: 64.64 kB / 332.8 MB, free: 15.65 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.977e-06/0.007722, allocations: 4 kB / 332.9 MB, free: 15.65 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.51e-07/0.007723, allocations: 0 / 332.9 MB, free: 15.65 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001861/0.007909, allocations: 459.7 kB / 333.3 MB, free: 15.2 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002198/0.008129, allocations: 234.9 kB / 333.5 MB, free: 14.94 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.325e-05/0.008162, allocations: 71.83 kB / 333.6 MB, free: 14.85 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.372e-05/0.008216, allocations: 17.14 kB / 333.6 MB, free: 14.83 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.627e-05/0.008252, allocations: 59.31 kB / 333.7 MB, free: 14.77 MB / 314.7 MB Notification: Performance of SimCode: time 5.61e-07/0.008253, allocations: 0 / 333.7 MB, free: 14.77 MB / 314.7 MB Notification: Performance of Templates: time 0.002256/0.01051, allocations: 0.7815 MB / 334.5 MB, free: 14 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 -s gbode -gbm=radauIIA3 -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.782271715346724]