Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.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.001052/0.001052, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.0009372/0.0009372, allocations: 173.4 kB / 24.91 MB, free: 8.766 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.9236/0.9236, allocations: 177.1 MB / 205.3 MB, free: 5.105 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.2657/0.2657, allocations: 34.26 MB / 296.1 MB, free: 0.6094 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.Test3,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.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,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.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 325.3 MB, free: 7.66 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.525e-05/2.672e-05, allocations: 5.453 kB / 325.3 MB, free: 7.656 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.002769/0.002796, allocations: 1.716 MB / 327 MB, free: 5.93 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008516/0.003648, allocations: 0.5801 MB / 327.6 MB, free: 5.344 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.265e-05/0.00371, allocations: 4 kB / 327.6 MB, free: 5.34 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000485/0.004195, allocations: 459 kB / 328 MB, free: 4.891 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003561/0.004552, allocations: 291.2 kB / 328.3 MB, free: 4.605 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000317/0.004869, allocations: 179.5 kB / 328.5 MB, free: 4.43 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001979/0.005066, allocations: 187.6 kB / 328.7 MB, free: 4.246 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.673e-05/0.005143, allocations: 12.22 kB / 328.7 MB, free: 4.23 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000108/0.005251, allocations: 123.8 kB / 328.8 MB, free: 4.109 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001596/0.005411, allocations: 207.6 kB / 329 MB, free: 3.906 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.005424, allocations: 4 kB / 329 MB, free: 3.902 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.861e-05/0.005503, allocations: 55.86 kB / 329.1 MB, free: 3.848 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.148e-05/0.005595, allocations: 91.64 kB / 329.2 MB, free: 3.758 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.525e-05/0.00563, allocations: 40.23 kB / 329.2 MB, free: 3.719 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001834/0.005813, allocations: 211.1 kB / 329.4 MB, free: 3.512 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.005815, allocations: 0 / 329.4 MB, free: 3.512 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.005816, allocations: 3.938 kB / 329.4 MB, free: 3.508 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.096e-06/0.005819, allocations: 0 / 329.4 MB, free: 3.508 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004723/0.006291, allocations: 0.5618 MB / 330 MB, free: 2.922 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.089e-05/0.006322, allocations: 15.97 kB / 330 MB, free: 2.906 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.109e-05/0.006363, allocations: 24.92 kB / 330 MB, free: 2.883 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001854/0.006549, allocations: 254 kB / 330.2 MB, free: 2.609 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.887e-06/0.006558, allocations: 384 / 330.2 MB, free: 2.609 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.03e-05/0.006578, allocations: 4.375 kB / 330.3 MB, free: 2.605 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.324e-05/0.006671, allocations: 62.94 kB / 330.3 MB, free: 2.535 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.006679, allocations: 192 / 330.3 MB, free: 2.535 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.163e-06/0.006686, allocations: 4.125 kB / 330.3 MB, free: 2.531 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.006691, allocations: 7.938 kB / 330.3 MB, free: 2.523 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.397e-05/0.006715, allocations: 11.98 kB / 330.3 MB, free: 2.512 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000286/0.007001, allocations: 219 kB / 330.6 MB, free: 2.281 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001226/0.007124, allocations: 38.59 kB / 330.6 MB, free: 2.234 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.171e-05/0.007145, allocations: 12.98 kB / 330.6 MB, free: 2.219 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.562e-05/0.007161, allocations: 3.984 kB / 330.6 MB, free: 2.215 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.00718, allocations: 38.48 kB / 330.6 MB, free: 2.168 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 1.343e-06/0.007181, allocations: 0 / 330.6 MB, free: 2.168 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004672/0.007648, allocations: 221.3 kB / 330.9 MB, free: 1.945 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.586e-05/0.007674, allocations: 59.34 kB / 330.9 MB, free: 1.875 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003082/0.007982, allocations: 0.5321 MB / 331.5 MB, free: 1.328 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.291e-05/0.007995, allocations: 29.7 kB / 331.5 MB, free: 1.293 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.842e-05/0.008054, allocations: 141.3 kB / 331.6 MB, free: 1.148 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.733e-05/0.008081, allocations: 31.69 kB / 331.6 MB, free: 1.117 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.212e-05/0.008113, allocations: 29.69 kB / 331.7 MB, free: 1.082 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.825e-05/0.008201, allocations: 366.6 kB / 332 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.829e-05/0.00822, allocations: 11.98 kB / 332 MB, free: 0.7031 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.654e-05/0.008236, allocations: 12 kB / 332.1 MB, free: 0.6914 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.663e-05/0.008283, allocations: 41.84 kB / 332.1 MB, free: 0.6484 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/0.008284, allocations: 0.5625 kB / 332.1 MB, free: 0.6484 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 8.532e-05/0.008369, allocations: 85.53 kB / 332.2 MB, free: 0.5586 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.00838, allocations: 4 kB / 332.2 MB, free: 0.5547 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.008385, allocations: 4 kB / 332.2 MB, free: 0.5508 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.008397, allocations: 0 / 332.2 MB, free: 0.5508 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.74e-05/0.008454, allocations: 19.98 kB / 332.2 MB, free: 0.5312 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.446e-06/0.008458, allocations: 4 kB / 332.2 MB, free: 0.5273 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.069e-05/0.008489, allocations: 11.98 kB / 332.2 MB, free: 0.5156 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.044e-06/0.008496, allocations: 8 kB / 332.2 MB, free: 0.5078 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 (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 7.031e-05/0.008566, allocations: 112.6 kB / 332.3 MB, free: 396 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.106e-05/0.008597, allocations: 27.97 kB / 332.4 MB, free: 368 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001389/0.008736, allocations: 117.4 kB / 332.5 MB, free: 244 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.008739, allocations: 4 kB / 332.5 MB, free: 240 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.00874, allocations: 0 / 332.5 MB, free: 240 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.858e-06/0.00875, allocations: 3.938 kB / 332.5 MB, free: 236 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003041/0.009054, allocations: 344.1 kB / 332.8 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.009056, allocations: 64 / 332.8 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.607e-05/0.009102, allocations: 23.98 kB / 332.9 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.009105, allocations: 4 kB / 332.9 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.23e-06/0.00911, allocations: 0 / 332.9 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.009112, allocations: 0 / 332.9 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.009114, allocations: 4 kB / 332.9 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001089/0.009223, allocations: 204.8 kB / 333.1 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.291e-05/0.009246, allocations: 35.7 kB / 333.1 MB, free: 15.58 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.658e-05/0.009263, allocations: 4 kB / 333.1 MB, free: 15.57 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.548e-05/0.009308, allocations: 4 kB / 333.1 MB, free: 15.57 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.956e-05/0.009338, allocations: 19.92 kB / 333.1 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/0.009342, allocations: 0 / 333.1 MB, free: 15.55 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001669/0.009509, allocations: 287.2 kB / 333.4 MB, free: 15.27 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009509, allocations: 0 / 333.4 MB, free: 15.27 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001578/0.009667, allocations: 43.88 kB / 333.4 MB, free: 15.23 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.001332/0.011, allocations: 0.5848 MB / 334 MB, free: 14.93 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001044/0.0111, allocations: 40.83 kB / 334.1 MB, free: 14.89 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.806e-06/0.01111, allocations: 8 kB / 334.1 MB, free: 14.88 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.196e-05/0.01114, allocations: 32.78 kB / 334.1 MB, free: 14.84 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000204/0.01135, allocations: 30.3 kB / 334.1 MB, free: 14.81 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006965/0.01204, allocations: 0.6339 MB / 334.8 MB, free: 14.14 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.864e-05/0.01212, allocations: 127.2 kB / 334.9 MB, free: 14 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.187e-05/0.01217, allocations: 16.48 kB / 334.9 MB, free: 13.98 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.335e-05/0.01223, allocations: 67.36 kB / 335 MB, free: 13.92 MB / 314.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01223, allocations: 0 / 335 MB, free: 13.92 MB / 314.7 MB Notification: Performance of Templates: time 0.00389/0.01612, allocations: 1.927 MB / 336.9 MB, free: 12.01 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.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.8907375899143517]