Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.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.0009092/0.0009092, 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.001105/0.001105, allocations: 173 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.9601/0.9601, allocations: 177.1 MB / 205.3 MB, free: 5.09 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.2361/0.2361, allocations: 32.8 MB / 294.6 MB, free: 1.211 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.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D_1R.y.[0-9,]+.|der_1R.y|combiTable2D_2R.y.[0-9,]+.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.[0-9,]+.|der_1L.y|combiTable2D_2L.y.[0-9,]+.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D_1R.y.[0-9,]+.|der_1R.y|combiTable2D_2R.y.[0-9,]+.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.[0-9,]+.|der_1L.y|combiTable2D_2L.y.[0-9,]+.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 323.2 MB, free: 9.727 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.922e-05/2.066e-05, allocations: 5.578 kB / 323.2 MB, free: 9.723 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.002408/0.002429, allocations: 2.013 MB / 325.2 MB, free: 7.695 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001551/0.003979, allocations: 1.355 MB / 326.6 MB, free: 6.332 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.637e-05/0.004076, allocations: 7.938 kB / 326.6 MB, free: 6.324 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000218/0.004294, allocations: 51.52 kB / 326.7 MB, free: 6.273 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003637/0.004658, allocations: 219 kB / 326.9 MB, free: 6.059 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007408/0.005398, allocations: 0.5925 MB / 327.5 MB, free: 5.465 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003095/0.005708, allocations: 327 kB / 327.8 MB, free: 5.145 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.00584, allocations: 51.61 kB / 327.8 MB, free: 5.098 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002225/0.006063, allocations: 171.5 kB / 328 MB, free: 4.93 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001702/0.006233, allocations: 167.5 kB / 328.2 MB, free: 4.766 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.431e-05/0.006257, allocations: 16 kB / 328.2 MB, free: 4.75 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.459e-05/0.006352, allocations: 67.84 kB / 328.2 MB, free: 4.684 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001138/0.006466, allocations: 147.5 kB / 328.4 MB, free: 4.539 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.282e-05/0.006528, allocations: 87.58 kB / 328.5 MB, free: 4.453 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002588/0.006787, allocations: 314.7 kB / 328.8 MB, free: 4.145 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.00679, allocations: 3.984 kB / 328.8 MB, free: 4.141 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.006791, allocations: 0 / 328.8 MB, free: 4.141 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.006795, allocations: 0 / 328.8 MB, free: 4.141 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0005417/0.007336, allocations: 0.6702 MB / 329.5 MB, free: 3.445 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.8e-05/0.007364, allocations: 8.031 kB / 329.5 MB, free: 3.438 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001485/0.007513, allocations: 52.89 kB / 329.5 MB, free: 3.387 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002634/0.007776, allocations: 325.8 kB / 329.8 MB, free: 3.043 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.007787, allocations: 8.375 kB / 329.8 MB, free: 3.035 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.198e-05/0.007809, allocations: 4.375 kB / 329.9 MB, free: 3.031 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001284/0.007938, allocations: 124.5 kB / 330 MB, free: 2.895 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.007947, allocations: 3.938 kB / 330 MB, free: 2.891 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-06/0.007957, allocations: 4 kB / 330 MB, free: 2.887 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.007962, allocations: 4 kB / 330 MB, free: 2.883 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.111e-05/0.008003, allocations: 24.86 kB / 330 MB, free: 2.859 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003565/0.008359, allocations: 374.9 kB / 330.4 MB, free: 2.473 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.014e-05/0.008439, allocations: 69.41 kB / 330.4 MB, free: 2.387 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.954e-05/0.008469, allocations: 21.72 kB / 330.5 MB, free: 2.359 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.008488, allocations: 4 kB / 330.5 MB, free: 2.355 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.008508, allocations: 38.62 kB / 330.5 MB, free: 2.309 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.00851, allocations: 0 / 330.5 MB, free: 2.309 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004479/0.008958, allocations: 221.1 kB / 330.7 MB, free: 2.086 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.553e-05/0.008993, allocations: 77.11 kB / 330.8 MB, free: 1.992 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003313/0.009324, allocations: 0.5555 MB / 331.4 MB, free: 1.422 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.009346, allocations: 37.7 kB / 331.4 MB, free: 1.379 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.956e-05/0.009415, allocations: 166.2 kB / 331.6 MB, free: 1.207 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.317e-05/0.009448, allocations: 55.47 kB / 331.6 MB, free: 1.152 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.731e-05/0.009486, allocations: 33.7 kB / 331.6 MB, free: 1.113 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.576e-05/0.009581, allocations: 370.7 kB / 332 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.462e-05/0.009606, allocations: 11.98 kB / 332 MB, free: 0.7305 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.329e-05/0.009639, allocations: 32.52 kB / 332 MB, free: 0.6914 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.863e-05/0.009708, allocations: 64.42 kB / 332.1 MB, free: 0.6211 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.009709, allocations: 0 / 332.1 MB, free: 0.6211 MB / 298.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001104/0.009819, allocations: 105.6 kB / 332.2 MB, free: 0.5117 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.009831, allocations: 4 kB / 332.2 MB, free: 0.5078 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.009836, allocations: 7.938 kB / 332.2 MB, free: 0.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.009848, allocations: 4 kB / 332.2 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.015e-05/0.009938, allocations: 31.97 kB / 332.3 MB, free: 476 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.715e-06/0.009941, allocations: 0 / 332.3 MB, free: 476 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.614e-05/0.009987, allocations: 11.98 kB / 332.3 MB, free: 464 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-06/0.009996, allocations: 4 kB / 332.3 MB, free: 460 kB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.991e-05/0.01008, allocations: 120.5 kB / 332.4 MB, free: 328 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.438e-05/0.01012, allocations: 35.95 kB / 332.4 MB, free: 292 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000184/0.0103, allocations: 159.2 kB / 332.6 MB, free: 124 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.01031, allocations: 8 kB / 332.6 MB, free: 116 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.552e-06/0.01031, allocations: 0 / 332.6 MB, free: 116 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.01031, allocations: 0 / 332.6 MB, free: 116 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003943/0.01071, allocations: 465.8 kB / 333 MB, free: 15.63 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.01071, allocations: 11.86 kB / 333.1 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.661e-05/0.01078, allocations: 27.98 kB / 333.1 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.01078, allocations: 0 / 333.1 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.737e-06/0.01079, allocations: 15.92 kB / 333.1 MB, free: 15.58 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.01079, allocations: 4 kB / 333.1 MB, free: 15.57 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.01079, allocations: 0 / 333.1 MB, free: 15.57 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001402/0.01093, allocations: 270.8 kB / 333.4 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.235e-05/0.01097, allocations: 55.55 kB / 333.4 MB, free: 15.24 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.54e-05/0.011, allocations: 8 kB / 333.4 MB, free: 15.23 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.369e-05/0.01107, allocations: 7.984 kB / 333.4 MB, free: 15.22 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.269e-05/0.0111, allocations: 11.98 kB / 333.4 MB, free: 15.21 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/0.01111, allocations: 7.984 kB / 333.5 MB, free: 15.2 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001882/0.0113, allocations: 283.2 kB / 333.7 MB, free: 14.93 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.0113, allocations: 0 / 333.7 MB, free: 14.93 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001886/0.01149, allocations: 55.94 kB / 333.8 MB, free: 14.87 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.0009831/0.01247, allocations: 0.5027 MB / 334.3 MB, free: 14.63 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001052/0.01258, allocations: 64.28 kB / 334.4 MB, free: 14.57 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.01258, allocations: 8 kB / 334.4 MB, free: 14.56 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.235e-05/0.01263, allocations: 45.06 kB / 334.4 MB, free: 14.51 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002809/0.01291, allocations: 77.98 kB / 334.5 MB, free: 14.44 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008082/0.01372, allocations: 0.7865 MB / 335.3 MB, free: 13.61 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.288e-05/0.0138, allocations: 140.5 kB / 335.4 MB, free: 13.46 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.77e-05/0.01389, allocations: 55.08 kB / 335.5 MB, free: 13.41 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001221/0.01401, allocations: 107.3 kB / 335.6 MB, free: 13.3 MB / 314.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01401, allocations: 4 kB / 335.6 MB, free: 13.3 MB / 314.7 MB Notification: Performance of Templates: time 0.00608/0.02009, allocations: 4.405 MB / 340 MB, free: 8.965 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.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.957876814994961]