Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21.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.001162/0.001162, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001239/0.001239, allocations: 165.4 kB / 24.56 MB, free: 16 kB / 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.9608/0.9608, allocations: 177.1 MB / 205 MB, free: 5.273 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.2764/0.2764, allocations: 34.26 MB / 295.7 MB, free: 0.6445 MB / 266.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.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test21,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.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 378.1 MB, free: 2.621 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.911e-05/2.128e-05, allocations: 2.312 kB / 378.1 MB, free: 2.617 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.00246/0.002482, allocations: 2.058 MB / 380.1 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001405/0.003886, allocations: 1.109 MB / 381.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001209/0.004007, allocations: 0 / 381.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004278/0.004435, allocations: 278.8 kB / 381.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003993/0.004834, allocations: 263 kB / 381.7 MB, free: 14.9 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008589/0.005693, allocations: 0.6313 MB / 382.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003573/0.006051, allocations: 367 kB / 382.7 MB, free: 13.91 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001378/0.006188, allocations: 48.83 kB / 382.8 MB, free: 13.86 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001582/0.006347, allocations: 191.4 kB / 383 MB, free: 13.67 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001801/0.006527, allocations: 203.5 kB / 383.2 MB, free: 13.47 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.267e-05/0.006549, allocations: 12 kB / 383.2 MB, free: 13.46 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001361/0.006685, allocations: 95.89 kB / 383.3 MB, free: 13.37 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.658e-05/0.006782, allocations: 103.6 kB / 383.4 MB, free: 13.27 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.067e-05/0.006833, allocations: 59.72 kB / 383.4 MB, free: 13.21 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002819/0.007115, allocations: 286.7 kB / 383.7 MB, free: 12.93 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.007117, allocations: 0 / 383.7 MB, free: 12.93 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.007117, allocations: 0 / 383.7 MB, free: 12.93 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.887e-06/0.007121, allocations: 0 / 383.7 MB, free: 12.93 MB / 362.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.000533/0.007654, allocations: 0.7087 MB / 384.4 MB, free: 12.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.007688, allocations: 8.031 kB / 384.4 MB, free: 12.17 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.877e-05/0.007757, allocations: 52.66 kB / 384.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002471/0.008004, allocations: 282.7 kB / 384.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.008017, allocations: 8.375 kB / 384.8 MB, free: 11.81 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.059e-05/0.008047, allocations: 20.36 kB / 384.8 MB, free: 11.79 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001573/0.008205, allocations: 98.91 kB / 384.9 MB, free: 11.68 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.008214, allocations: 192 / 384.9 MB, free: 11.68 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.008228, allocations: 12.12 kB / 384.9 MB, free: 11.67 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.321e-06/0.008235, allocations: 0 / 384.9 MB, free: 11.67 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.747e-05/0.008302, allocations: 36.62 kB / 384.9 MB, free: 11.64 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004525/0.008755, allocations: 483.3 kB / 385.4 MB, free: 11.13 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001081/0.008863, allocations: 74.98 kB / 385.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.662e-05/0.008899, allocations: 23.67 kB / 385.5 MB, free: 11.02 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.034e-05/0.00892, allocations: 4 kB / 385.5 MB, free: 11.01 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.827e-05/0.008938, allocations: 41.39 kB / 385.5 MB, free: 10.96 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.082e-06/0.008939, allocations: 4 kB / 385.5 MB, free: 10.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005329/0.009472, allocations: 339.3 kB / 385.9 MB, free: 10.62 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.921e-05/0.009501, allocations: 55.41 kB / 385.9 MB, free: 10.55 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003363/0.009837, allocations: 494.7 kB / 386.4 MB, free: 10.06 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.009853, allocations: 29.7 kB / 386.4 MB, free: 10.02 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/0.009969, allocations: 263.2 kB / 386.7 MB, free: 9.758 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.705e-05/0.01001, allocations: 59.48 kB / 386.8 MB, free: 9.699 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.449e-05/0.01005, allocations: 43.36 kB / 386.8 MB, free: 9.648 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.01019, allocations: 0.5274 MB / 387.3 MB, free: 9.109 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.084e-05/0.01023, allocations: 31.89 kB / 387.4 MB, free: 9.078 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.842e-05/0.01027, allocations: 27.98 kB / 387.4 MB, free: 9.051 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.254e-05/0.01036, allocations: 81.8 kB / 387.5 MB, free: 8.969 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.01036, allocations: 0 / 387.5 MB, free: 8.969 MB / 362.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001674/0.01053, allocations: 157.3 kB / 387.6 MB, free: 8.809 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.01054, allocations: 11.94 kB / 387.6 MB, free: 8.797 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.01054, allocations: 0 / 387.6 MB, free: 8.797 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.01055, allocations: 0 / 387.6 MB, free: 8.797 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.563e-05/0.01065, allocations: 39.97 kB / 387.7 MB, free: 8.758 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.01065, allocations: 7.875 kB / 387.7 MB, free: 8.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.324e-05/0.01069, allocations: 8 kB / 387.7 MB, free: 8.742 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.776e-06/0.0107, allocations: 4 kB / 387.7 MB, free: 8.738 MB / 362.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 8.694e-05/0.01078, allocations: 160.6 kB / 387.9 MB, free: 8.57 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.471e-05/0.01083, allocations: 51.7 kB / 387.9 MB, free: 8.52 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002344/0.01106, allocations: 192.4 kB / 388.1 MB, free: 8.324 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.01106, allocations: 7.938 kB / 388.1 MB, free: 8.316 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.01107, allocations: 0 / 388.1 MB, free: 8.316 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.01107, allocations: 0 / 388.1 MB, free: 8.316 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004619/0.01153, allocations: 0.5634 MB / 388.7 MB, free: 7.711 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.01153, allocations: 8 kB / 388.7 MB, free: 7.703 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.283e-05/0.0116, allocations: 35.97 kB / 388.7 MB, free: 7.668 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.195e-06/0.0116, allocations: 0 / 388.7 MB, free: 7.668 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.01161, allocations: 8 kB / 388.7 MB, free: 7.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.01161, allocations: 0 / 388.7 MB, free: 7.66 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.01161, allocations: 0 / 388.7 MB, free: 7.66 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000202/0.01181, allocations: 325.3 kB / 389 MB, free: 7.324 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.231e-05/0.01184, allocations: 31.72 kB / 389.1 MB, free: 7.293 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.059e-05/0.01186, allocations: 4 kB / 389.1 MB, free: 7.289 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.186e-05/0.0119, allocations: 4 kB / 389.1 MB, free: 7.285 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.208e-05/0.01193, allocations: 15.97 kB / 389.1 MB, free: 7.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.261e-06/0.01194, allocations: 8 kB / 389.1 MB, free: 7.262 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000199/0.01214, allocations: 331 kB / 389.4 MB, free: 6.941 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01214, allocations: 0 / 389.4 MB, free: 6.941 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001919/0.01233, allocations: 47.94 kB / 389.5 MB, free: 6.895 MB / 362.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.001513/0.01384, allocations: 0.6473 MB / 390.1 MB, free: 6.527 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001616/0.014, allocations: 99.48 kB / 390.2 MB, free: 6.426 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.014, allocations: 0 / 390.2 MB, free: 6.426 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.126e-05/0.01406, allocations: 66.41 kB / 390.3 MB, free: 6.359 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003148/0.01438, allocations: 99.55 kB / 390.4 MB, free: 6.266 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000639/0.01502, allocations: 0.5963 MB / 391 MB, free: 5.641 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.448e-05/0.01509, allocations: 120.3 kB / 391.1 MB, free: 5.504 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.124e-05/0.01517, allocations: 45.91 kB / 391.1 MB, free: 5.461 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.224e-05/0.01523, allocations: 36.48 kB / 391.2 MB, free: 5.426 MB / 362.7 MB Notification: Performance of SimCode: time 8.12e-07/0.01523, allocations: 4 kB / 391.2 MB, free: 5.422 MB / 362.7 MB Notification: Performance of Templates: time 0.005499/0.02073, allocations: 3.729 MB / 394.9 MB, free: 1.734 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.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.0527869099751115]