Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.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.001501/0.001501, allocations: 80.41 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.001103/0.001103, allocations: 166 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 1.098/1.098, allocations: 177.1 MB / 206 MB, free: 4.523 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.1563/0.1563, allocations: 32.79 MB / 295.4 MB, free: 15.38 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.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 377.3 MB, free: 25.58 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.345e-05/1.481e-05, allocations: 14.08 kB / 377.3 MB, free: 25.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.001759/0.001774, allocations: 1.708 MB / 379 MB, free: 23.84 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006363/0.00241, allocations: 0.5646 MB / 379.6 MB, free: 23.27 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.52e-05/0.002475, allocations: 0 / 379.6 MB, free: 23.27 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002507/0.002726, allocations: 51.75 kB / 379.6 MB, free: 23.22 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002483/0.002974, allocations: 95.53 kB / 379.7 MB, free: 23.13 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002687/0.003243, allocations: 171.5 kB / 379.9 MB, free: 22.96 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001518/0.003395, allocations: 95.73 kB / 380 MB, free: 22.87 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.003503, allocations: 16.17 kB / 380 MB, free: 22.85 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.77e-05/0.00357, allocations: 47.88 kB / 380 MB, free: 22.8 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.837e-05/0.003669, allocations: 39.89 kB / 380.1 MB, free: 22.76 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.554e-05/0.003684, allocations: 4 kB / 380.1 MB, free: 22.76 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.21e-05/0.003766, allocations: 55.91 kB / 380.1 MB, free: 22.7 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.33e-05/0.00383, allocations: 23.91 kB / 380.1 MB, free: 22.68 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.6e-05/0.003856, allocations: 11.94 kB / 380.2 MB, free: 22.67 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001585/0.004014, allocations: 103.5 kB / 380.3 MB, free: 22.57 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.004016, allocations: 0 / 380.3 MB, free: 22.57 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.12e-07/0.004016, allocations: 4 kB / 380.3 MB, free: 22.56 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5e-06/0.004021, allocations: 0 / 380.3 MB, free: 22.56 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003747/0.004396, allocations: 444 kB / 380.7 MB, free: 22.09 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.004432, allocations: 15.98 kB / 380.7 MB, free: 22.08 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.813e-05/0.00447, allocations: 12.84 kB / 380.7 MB, free: 22.07 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001264/0.004596, allocations: 151.3 kB / 380.9 MB, free: 21.89 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.004607, allocations: 4.375 kB / 380.9 MB, free: 21.89 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.955e-05/0.004626, allocations: 4.375 kB / 380.9 MB, free: 21.89 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.982e-05/0.004726, allocations: 66.88 kB / 380.9 MB, free: 21.81 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.004736, allocations: 192 / 380.9 MB, free: 21.81 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.013e-06/0.004743, allocations: 8.125 kB / 381 MB, free: 21.8 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.79e-06/0.004749, allocations: 0 / 381 MB, free: 21.8 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.642e-05/0.004776, allocations: 11.98 kB / 381 MB, free: 21.79 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002804/0.005056, allocations: 280.2 kB / 381.2 MB, free: 21.49 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001361/0.005192, allocations: 55.02 kB / 381.3 MB, free: 21.43 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.885e-05/0.005211, allocations: 11.69 kB / 381.3 MB, free: 21.41 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.545e-05/0.005226, allocations: 3.938 kB / 381.3 MB, free: 21.41 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.588e-05/0.005242, allocations: 45.45 kB / 381.4 MB, free: 21.35 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.005243, allocations: 0 / 381.4 MB, free: 21.35 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004672/0.005711, allocations: 213.8 kB / 381.6 MB, free: 21.14 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.013e-05/0.005731, allocations: 51.41 kB / 381.6 MB, free: 21.07 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.101e-05/0.005802, allocations: 209.8 kB / 381.8 MB, free: 20.85 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.384e-06/0.005809, allocations: 25.7 kB / 381.8 MB, free: 20.82 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.167e-05/0.005851, allocations: 158.8 kB / 382 MB, free: 20.66 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.425e-05/0.005875, allocations: 39.67 kB / 382 MB, free: 20.62 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.035e-05/0.005905, allocations: 31.38 kB / 382.1 MB, free: 20.58 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.789e-05/0.005953, allocations: 0.5 MB / 382.6 MB, free: 20.07 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.675e-05/0.00597, allocations: 11.98 kB / 382.6 MB, free: 20.06 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.637e-05/0.005986, allocations: 8 kB / 382.6 MB, free: 20.05 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.287e-05/0.006029, allocations: 51.67 kB / 382.6 MB, free: 20 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.006031, allocations: 4 kB / 382.6 MB, free: 19.99 MB / 314.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 8.091e-05/0.006112, allocations: 85.59 kB / 382.7 MB, free: 19.9 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.447e-06/0.006121, allocations: 4 kB / 382.7 MB, free: 19.9 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.006125, allocations: 0 / 382.7 MB, free: 19.9 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.598e-06/0.006135, allocations: 4 kB / 382.7 MB, free: 19.89 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.41e-05/0.006189, allocations: 19.98 kB / 382.8 MB, free: 19.88 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.006192, allocations: 11.97 kB / 382.8 MB, free: 19.86 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.266e-05/0.006215, allocations: 4 kB / 382.8 MB, free: 19.86 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.752e-06/0.006222, allocations: 11.94 kB / 382.8 MB, free: 19.85 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 (11): * Single equations (assignments): 11 * 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 4.38e-05/0.006266, allocations: 156.5 kB / 382.9 MB, free: 19.68 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.301e-05/0.006289, allocations: 15.95 kB / 382.9 MB, free: 19.67 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001161/0.006405, allocations: 109.2 kB / 383.1 MB, free: 19.56 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.006406, allocations: 0 / 383.1 MB, free: 19.56 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-06/0.006408, allocations: 0 / 383.1 MB, free: 19.56 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.006412, allocations: 0 / 383.1 MB, free: 19.56 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002208/0.006632, allocations: 393 kB / 383.4 MB, free: 19.13 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.006634, allocations: 3.984 kB / 383.4 MB, free: 19.13 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.439e-05/0.006678, allocations: 31.91 kB / 383.5 MB, free: 19.1 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.006681, allocations: 0 / 383.5 MB, free: 19.1 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.006688, allocations: 8 kB / 383.5 MB, free: 19.09 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.006689, allocations: 0 / 383.5 MB, free: 19.09 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.006691, allocations: 4 kB / 383.5 MB, free: 19.09 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.84e-05/0.006789, allocations: 255.1 kB / 383.7 MB, free: 18.81 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.686e-06/0.006798, allocations: 11.94 kB / 383.7 MB, free: 18.8 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.166e-05/0.00681, allocations: 4.062 kB / 383.8 MB, free: 18.79 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.08e-05/0.00685, allocations: 8 kB / 383.8 MB, free: 18.79 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.963e-05/0.00688, allocations: 15.86 kB / 383.8 MB, free: 18.77 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.006886, allocations: 7.984 kB / 383.8 MB, free: 18.76 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.458e-05/0.00692, allocations: 150.2 kB / 383.9 MB, free: 18.62 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00692, allocations: 0 / 383.9 MB, free: 18.62 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001632/0.007084, allocations: 27.98 kB / 384 MB, free: 18.59 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0008381/0.007922, allocations: 432.3 kB / 384.4 MB, free: 18.34 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.23e-05/0.008014, allocations: 67.47 kB / 384.4 MB, free: 18.27 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.008016, allocations: 4 kB / 384.4 MB, free: 18.27 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.017e-05/0.008046, allocations: 31.61 kB / 384.5 MB, free: 18.23 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002018/0.008248, allocations: 23.98 kB / 384.5 MB, free: 18.21 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002805/0.008528, allocations: 259.8 kB / 384.8 MB, free: 17.92 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.052e-05/0.008559, allocations: 75.19 kB / 384.8 MB, free: 17.82 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.743e-05/0.008596, allocations: 24.59 kB / 384.9 MB, free: 17.8 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.974e-05/0.008646, allocations: 86.19 kB / 384.9 MB, free: 17.71 MB / 314.7 MB Notification: Performance of SimCode: time 5.01e-07/0.008646, allocations: 0 / 384.9 MB, free: 17.71 MB / 314.7 MB Notification: Performance of Templates: time 0.002906/0.01155, allocations: 1.813 MB / 386.8 MB, free: 15.92 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test25/Test25.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.327356374822557]