Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20.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.001018/0.001018, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001204/0.001204, allocations: 167.9 kB / 25.61 MB, free: 8.582 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.9492/0.9492, allocations: 177.1 MB / 206 MB, free: 4.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.1699/0.1699, allocations: 34.26 MB / 296.9 MB, free: 13.91 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D1D.y.[0-9,]+.|combiTable2D1DT.y.[0-9,]+.|clock1.y|combiTable1D.y.[0-9,]+.|combiTable2D.y.[0-9,]+.|combiTable2DT.y.[0-9,]+.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D1D.y.[0-9,]+.|combiTable2D1DT.y.[0-9,]+.|clock1.y|combiTable1D.y.[0-9,]+.|combiTable2D.y.[0-9,]+.|combiTable2DT.y.[0-9,]+.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 379.3 MB, free: 23.38 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.111e-05/1.227e-05, allocations: 10.19 kB / 379.3 MB, free: 23.37 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.001905/0.001918, allocations: 2 MB / 381.3 MB, free: 21.35 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001218/0.003135, allocations: 1.101 MB / 382.4 MB, free: 20.24 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001003/0.003235, allocations: 4 kB / 382.4 MB, free: 20.24 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003459/0.003581, allocations: 274.8 kB / 382.7 MB, free: 19.97 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003275/0.003909, allocations: 259 kB / 382.9 MB, free: 19.71 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007343/0.004643, allocations: 0.6469 MB / 383.6 MB, free: 19.07 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002531/0.004896, allocations: 359 kB / 383.9 MB, free: 18.71 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/0.005027, allocations: 52.89 kB / 384 MB, free: 18.66 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001316/0.005159, allocations: 183.4 kB / 384.2 MB, free: 18.48 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001403/0.005299, allocations: 207.5 kB / 384.4 MB, free: 18.28 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.123e-05/0.00532, allocations: 15.98 kB / 384.4 MB, free: 18.27 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.052e-05/0.005411, allocations: 71.86 kB / 384.5 MB, free: 18.2 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 8.15e-05/0.005492, allocations: 99.61 kB / 384.6 MB, free: 18.1 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.972e-05/0.005532, allocations: 59.72 kB / 384.6 MB, free: 18.04 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002129/0.005745, allocations: 262.9 kB / 384.9 MB, free: 17.78 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.005747, allocations: 3.938 kB / 384.9 MB, free: 17.78 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.005747, allocations: 0 / 384.9 MB, free: 17.78 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.005754, allocations: 4 kB / 384.9 MB, free: 17.77 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0004462/0.0062, allocations: 0.697 MB / 385.6 MB, free: 17.04 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.041e-05/0.006231, allocations: 16.02 kB / 385.6 MB, free: 17.02 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.141e-05/0.006282, allocations: 52.66 kB / 385.6 MB, free: 16.97 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001814/0.006464, allocations: 266.7 kB / 385.9 MB, free: 16.68 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.006474, allocations: 12.38 kB / 385.9 MB, free: 16.67 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.88e-05/0.006493, allocations: 12.33 kB / 385.9 MB, free: 16.66 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001068/0.0066, allocations: 98.89 kB / 386 MB, free: 16.55 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.006609, allocations: 192 / 386 MB, free: 16.55 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.966e-06/0.006618, allocations: 8.125 kB / 386 MB, free: 16.55 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.006624, allocations: 4 kB / 386 MB, free: 16.54 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.016e-05/0.006664, allocations: 27.97 kB / 386.1 MB, free: 16.52 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003167/0.006981, allocations: 423.8 kB / 386.5 MB, free: 16.07 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.061e-05/0.007051, allocations: 74.88 kB / 386.5 MB, free: 15.99 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.17e-05/0.007073, allocations: 23.67 kB / 386.6 MB, free: 15.96 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/0.007091, allocations: 4 kB / 386.6 MB, free: 15.96 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.195e-05/0.007103, allocations: 33.39 kB / 386.6 MB, free: 15.91 MB / 314.7 MB Notification: Performance of pre-optimization done (n=11): time 9.32e-07/0.007104, allocations: 0 / 386.6 MB, free: 15.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003835/0.007487, allocations: 269 kB / 386.9 MB, free: 15.64 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.73e-05/0.007505, allocations: 51.41 kB / 386.9 MB, free: 15.58 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002068/0.007711, allocations: 478.5 kB / 387.4 MB, free: 15.1 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.815e-06/0.007719, allocations: 25.7 kB / 387.4 MB, free: 15.07 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.491e-05/0.007804, allocations: 279.1 kB / 387.7 MB, free: 14.79 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.458e-05/0.007839, allocations: 59.47 kB / 387.7 MB, free: 14.73 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.543e-05/0.007874, allocations: 35.38 kB / 387.8 MB, free: 14.69 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.874e-05/0.007943, allocations: 0.5429 MB / 388.3 MB, free: 14.14 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.359e-05/0.007966, allocations: 19.98 kB / 388.3 MB, free: 14.12 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.544e-05/0.007992, allocations: 19.98 kB / 388.4 MB, free: 14.1 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.922e-05/0.008051, allocations: 61.33 kB / 388.4 MB, free: 14.04 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.008052, allocations: 4 kB / 388.4 MB, free: 14.03 MB / 314.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001194/0.008172, allocations: 147.5 kB / 388.6 MB, free: 13.88 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.008183, allocations: 4 kB / 388.6 MB, free: 13.88 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.008187, allocations: 0 / 388.6 MB, free: 13.88 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.929e-06/0.008197, allocations: 11.94 kB / 388.6 MB, free: 13.87 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.024e-05/0.008277, allocations: 31.92 kB / 388.6 MB, free: 13.84 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.494e-06/0.008279, allocations: 0 / 388.6 MB, free: 13.84 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.125e-05/0.008311, allocations: 11.98 kB / 388.6 MB, free: 13.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.156e-06/0.008319, allocations: 4 kB / 388.6 MB, free: 13.82 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 (17): * Single equations (assignments): 17 * 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 5.737e-05/0.008376, allocations: 164.6 kB / 388.8 MB, free: 13.65 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.066e-05/0.008417, allocations: 47.72 kB / 388.8 MB, free: 13.6 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001726/0.008589, allocations: 181.5 kB / 389 MB, free: 13.41 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.008592, allocations: 3.938 kB / 389 MB, free: 13.41 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/0.008593, allocations: 11.94 kB / 389 MB, free: 13.39 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.008598, allocations: 3.984 kB / 389 MB, free: 13.39 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003111/0.008909, allocations: 499.6 kB / 389.5 MB, free: 12.87 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.00891, allocations: 3.938 kB / 389.5 MB, free: 12.87 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.342e-05/0.008964, allocations: 27.98 kB / 389.6 MB, free: 12.84 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.008966, allocations: 3.984 kB / 389.6 MB, free: 12.84 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.008972, allocations: 4 kB / 389.6 MB, free: 12.83 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.008973, allocations: 0 / 389.6 MB, free: 12.83 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.008974, allocations: 3.984 kB / 389.6 MB, free: 12.83 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001251/0.009099, allocations: 307.5 kB / 389.9 MB, free: 12.51 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.762e-05/0.009116, allocations: 39.7 kB / 389.9 MB, free: 12.47 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.716e-05/0.009134, allocations: 0 / 389.9 MB, free: 12.47 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.395e-05/0.009177, allocations: 11.98 kB / 389.9 MB, free: 12.46 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.65e-05/0.009204, allocations: 7.984 kB / 389.9 MB, free: 12.45 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.101e-06/0.00921, allocations: 4 kB / 389.9 MB, free: 12.45 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001155/0.009326, allocations: 311 kB / 390.2 MB, free: 12.14 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009326, allocations: 0 / 390.2 MB, free: 12.14 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001869/0.009513, allocations: 51.92 kB / 390.3 MB, free: 12.09 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 (17): * Single equations (assignments): 17 * 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.00128/0.01079, allocations: 0.6528 MB / 390.9 MB, free: 11.72 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001107/0.0109, allocations: 83.42 kB / 391 MB, free: 11.64 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.0109, allocations: 0 / 391 MB, free: 11.64 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.846e-05/0.01094, allocations: 54.41 kB / 391.1 MB, free: 11.58 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002867/0.01123, allocations: 91.58 kB / 391.2 MB, free: 11.5 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004661/0.0117, allocations: 0.5941 MB / 391.8 MB, free: 10.88 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.886e-05/0.01174, allocations: 120.2 kB / 391.9 MB, free: 10.75 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.009e-05/0.01181, allocations: 49.91 kB / 391.9 MB, free: 10.7 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.175e-05/0.01191, allocations: 122.2 kB / 392 MB, free: 10.57 MB / 314.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01191, allocations: 3.938 kB / 392 MB, free: 10.57 MB / 314.7 MB Notification: Performance of Templates: time 0.004688/0.01659, allocations: 3.842 MB / 395.9 MB, free: 6.781 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.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: 3.131841154769063]