Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.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.001334/0.001334, 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.001526/0.001526, allocations: 168.8 kB / 24.91 MB, free: 9.156 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.9583/0.9583, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.2475/0.2475, allocations: 32.8 MB / 294.6 MB, free: 1.25 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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 323.3 MB, free: 9.645 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.136e-05/1.288e-05, allocations: 2.312 kB / 323.3 MB, free: 9.641 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.002126/0.002139, allocations: 1.733 MB / 325 MB, free: 7.898 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007404/0.002879, allocations: 0.5762 MB / 325.6 MB, free: 7.316 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.047e-05/0.002929, allocations: 0 / 325.6 MB, free: 7.316 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004313/0.003361, allocations: 455 kB / 326 MB, free: 6.871 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003146/0.003675, allocations: 299.1 kB / 326.3 MB, free: 6.578 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003003/0.003976, allocations: 163.6 kB / 326.5 MB, free: 6.418 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001948/0.00417, allocations: 183.5 kB / 326.7 MB, free: 6.238 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.888e-05/0.004249, allocations: 16.61 kB / 326.7 MB, free: 6.223 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001047/0.004354, allocations: 119.8 kB / 326.8 MB, free: 6.105 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001554/0.00451, allocations: 195.7 kB / 327 MB, free: 5.914 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.404e-05/0.004524, allocations: 4 kB / 327 MB, free: 5.91 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.66e-05/0.00459, allocations: 31.92 kB / 327 MB, free: 5.879 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.494e-05/0.004665, allocations: 87.7 kB / 327.1 MB, free: 5.793 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.139e-05/0.004697, allocations: 39.75 kB / 327.2 MB, free: 5.754 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001874/0.004884, allocations: 203.1 kB / 327.4 MB, free: 5.555 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.573e-06/0.004886, allocations: 0 / 327.4 MB, free: 5.555 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.004886, allocations: 0 / 327.4 MB, free: 5.555 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.266e-06/0.004889, allocations: 0 / 327.4 MB, free: 5.555 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003969/0.005286, allocations: 0.55 MB / 327.9 MB, free: 4.98 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.747e-05/0.005314, allocations: 8.031 kB / 327.9 MB, free: 4.973 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.546e-05/0.005349, allocations: 20.92 kB / 327.9 MB, free: 4.953 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001708/0.00552, allocations: 250 kB / 328.2 MB, free: 4.684 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.123e-06/0.005527, allocations: 4.375 kB / 328.2 MB, free: 4.68 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.369e-05/0.005541, allocations: 8.312 kB / 328.2 MB, free: 4.672 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.55e-05/0.005626, allocations: 66.91 kB / 328.3 MB, free: 4.598 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.005636, allocations: 192 / 328.3 MB, free: 4.598 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.005646, allocations: 8.125 kB / 328.3 MB, free: 4.59 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.005651, allocations: 0 / 328.3 MB, free: 4.59 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.268e-05/0.005674, allocations: 4 kB / 328.3 MB, free: 4.586 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002622/0.005936, allocations: 203 kB / 328.5 MB, free: 4.371 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001268/0.006063, allocations: 29.39 kB / 328.5 MB, free: 4.332 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.753e-05/0.00608, allocations: 12.86 kB / 328.5 MB, free: 4.316 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.647e-05/0.006097, allocations: 4.031 kB / 328.5 MB, free: 4.312 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/0.00612, allocations: 42.48 kB / 328.5 MB, free: 4.262 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.006121, allocations: 4 kB / 328.6 MB, free: 4.258 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002809/0.006402, allocations: 101.5 kB / 328.7 MB, free: 4.152 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.979e-05/0.006432, allocations: 51.41 kB / 328.7 MB, free: 4.09 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003303/0.006762, allocations: 0.5323 MB / 329.2 MB, free: 3.543 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.006774, allocations: 25.7 kB / 329.3 MB, free: 3.512 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.106e-05/0.006835, allocations: 141.3 kB / 329.4 MB, free: 3.367 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.222e-05/0.006858, allocations: 19.83 kB / 329.4 MB, free: 3.348 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.647e-05/0.006884, allocations: 17.72 kB / 329.4 MB, free: 3.324 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.628e-05/0.00697, allocations: 354.7 kB / 329.8 MB, free: 2.969 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.079e-05/0.006981, allocations: 11.98 kB / 329.8 MB, free: 2.957 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.231e-05/0.006993, allocations: 7.938 kB / 329.8 MB, free: 2.949 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.986e-05/0.007023, allocations: 23.67 kB / 329.8 MB, free: 2.922 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.007024, allocations: 0 / 329.8 MB, free: 2.922 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.339e-05/0.007088, allocations: 65.61 kB / 329.9 MB, free: 2.852 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.357e-06/0.007097, allocations: 4 kB / 329.9 MB, free: 2.848 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.007101, allocations: 0 / 329.9 MB, free: 2.848 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.859e-06/0.007111, allocations: 4 kB / 329.9 MB, free: 2.844 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.991e-05/0.007151, allocations: 12.23 kB / 329.9 MB, free: 2.832 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.435e-06/0.007153, allocations: 0 / 329.9 MB, free: 2.832 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.346e-05/0.007177, allocations: 8 kB / 329.9 MB, free: 2.824 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.007183, allocations: 4 kB / 329.9 MB, free: 2.82 MB / 298.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 (5): * Single equations (assignments): 5 * 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 6.197e-05/0.007245, allocations: 112.6 kB / 330 MB, free: 2.699 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.818e-05/0.007273, allocations: 31.91 kB / 330.1 MB, free: 2.668 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.808e-05/0.007371, allocations: 81.23 kB / 330.1 MB, free: 2.582 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.007373, allocations: 3.984 kB / 330.1 MB, free: 2.578 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-06/0.007375, allocations: 0 / 330.1 MB, free: 2.578 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.007377, allocations: 0 / 330.1 MB, free: 2.578 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002071/0.007584, allocations: 274.6 kB / 330.4 MB, free: 2.285 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.007586, allocations: 0 / 330.4 MB, free: 2.285 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.696e-05/0.007613, allocations: 15.98 kB / 330.4 MB, free: 2.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.007616, allocations: 4 kB / 330.4 MB, free: 2.266 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.24e-06/0.007621, allocations: 4 kB / 330.4 MB, free: 2.262 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.007622, allocations: 0 / 330.4 MB, free: 2.262 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.007623, allocations: 0 / 330.4 MB, free: 2.262 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.688e-05/0.00771, allocations: 167.3 kB / 330.6 MB, free: 2.082 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.057e-05/0.007731, allocations: 31.72 kB / 330.6 MB, free: 2.051 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.357e-05/0.007744, allocations: 4.281 kB / 330.6 MB, free: 2.047 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.495e-05/0.007779, allocations: 0 / 330.6 MB, free: 2.047 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.371e-05/0.007803, allocations: 7.984 kB / 330.6 MB, free: 2.039 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-06/0.007806, allocations: 4 kB / 330.6 MB, free: 2.035 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001645/0.00797, allocations: 283.2 kB / 330.9 MB, free: 1.758 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.00797, allocations: 0 / 330.9 MB, free: 1.758 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001388/0.008109, allocations: 27.94 kB / 330.9 MB, free: 1.73 MB / 298.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 (5): * Single equations (assignments): 5 * 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.001104/0.009213, allocations: 0.4914 MB / 331.4 MB, free: 1.496 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.128e-05/0.009304, allocations: 28.84 kB / 331.5 MB, free: 1.465 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.947e-06/0.009313, allocations: 4 kB / 331.5 MB, free: 1.461 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.32e-05/0.009337, allocations: 20.78 kB / 331.5 MB, free: 1.438 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002091/0.009546, allocations: 33.84 kB / 331.5 MB, free: 1.406 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005952/0.01014, allocations: 0.579 MB / 332.1 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.206e-05/0.01021, allocations: 123.2 kB / 332.2 MB, free: 0.6484 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.938e-05/0.01024, allocations: 11.97 kB / 332.2 MB, free: 0.6367 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.682e-05/0.01029, allocations: 55.38 kB / 332.3 MB, free: 0.582 MB / 298.7 MB Notification: Performance of SimCode: time 7.02e-07/0.01029, allocations: 0 / 332.3 MB, free: 0.582 MB / 298.7 MB Notification: Performance of Templates: time 0.003495/0.01378, allocations: 1.478 MB / 333.8 MB, free: 15.12 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.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.8141073482111096]