Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.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.0009451/0.0009451, allocations: 80.92 kB / 21.5 MB, free: 2.988 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.001074/0.001074, allocations: 172 kB / 24.91 MB, free: 8.711 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.9444/0.9444, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.2622/0.2622, allocations: 32.81 MB / 294.6 MB, free: 1.246 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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 323.2 MB, free: 9.707 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.693e-05/2.859e-05, allocations: 5.578 kB / 323.2 MB, free: 9.703 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.003037/0.003065, allocations: 1.693 MB / 324.9 MB, free: 7.996 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001761/0.004827, allocations: 1.324 MB / 326.3 MB, free: 6.664 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.729e-05/0.004884, allocations: 0 / 326.3 MB, free: 6.664 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002165/0.0051, allocations: 27.84 kB / 326.3 MB, free: 6.637 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003267/0.005427, allocations: 83.56 kB / 326.4 MB, free: 6.555 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004125/0.00584, allocations: 175.4 kB / 326.5 MB, free: 6.383 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001761/0.006016, allocations: 83.7 kB / 326.6 MB, free: 6.301 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.962e-05/0.006115, allocations: 16.61 kB / 326.6 MB, free: 6.285 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.83e-05/0.006204, allocations: 39.91 kB / 326.7 MB, free: 6.246 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001153/0.006319, allocations: 35.89 kB / 326.7 MB, free: 6.211 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.911e-05/0.006338, allocations: 4 kB / 326.7 MB, free: 6.207 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001636/0.006502, allocations: 91.88 kB / 326.8 MB, free: 6.117 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.58e-05/0.006557, allocations: 15.92 kB / 326.8 MB, free: 6.102 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.352e-05/0.006591, allocations: 23.92 kB / 326.8 MB, free: 6.078 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002432/0.006834, allocations: 147.4 kB / 327 MB, free: 5.934 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.006836, allocations: 0 / 327 MB, free: 5.934 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.006837, allocations: 0 / 327 MB, free: 5.934 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.755e-06/0.00684, allocations: 0 / 327 MB, free: 5.934 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.0004137/0.007254, allocations: 313.5 kB / 327.3 MB, free: 5.605 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.007287, allocations: 8.031 kB / 327.3 MB, free: 5.598 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.79e-05/0.007325, allocations: 4.938 kB / 327.3 MB, free: 5.594 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001657/0.00749, allocations: 137.6 kB / 327.4 MB, free: 5.434 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.007501, allocations: 4.375 kB / 327.4 MB, free: 5.43 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.377e-05/0.007524, allocations: 4.375 kB / 327.4 MB, free: 5.426 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/0.007674, allocations: 110.3 kB / 327.6 MB, free: 5.297 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.007684, allocations: 192 / 327.6 MB, free: 5.297 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.007695, allocations: 4.125 kB / 327.6 MB, free: 5.293 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.0077, allocations: 0 / 327.6 MB, free: 5.293 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.527e-05/0.007736, allocations: 12 kB / 327.6 MB, free: 5.281 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002861/0.008022, allocations: 183 kB / 327.7 MB, free: 5.086 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.601e-05/0.008098, allocations: 30.56 kB / 327.8 MB, free: 5.047 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.198e-05/0.00812, allocations: 12.94 kB / 327.8 MB, free: 5.031 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.501e-05/0.008135, allocations: 0 / 327.8 MB, free: 5.031 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.008162, allocations: 38.5 kB / 327.8 MB, free: 4.984 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.008163, allocations: 0 / 327.8 MB, free: 4.984 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003826/0.008546, allocations: 113.5 kB / 327.9 MB, free: 4.867 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.065e-05/0.008587, allocations: 85.05 kB / 328 MB, free: 4.766 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001155/0.008702, allocations: 141 kB / 328.2 MB, free: 4.617 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.008716, allocations: 25.7 kB / 328.2 MB, free: 4.586 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.957e-05/0.008755, allocations: 96.06 kB / 328.3 MB, free: 4.488 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.259e-05/0.008778, allocations: 23.8 kB / 328.3 MB, free: 4.465 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.879e-05/0.008806, allocations: 21.7 kB / 328.3 MB, free: 4.438 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.007e-05/0.008877, allocations: 326.8 kB / 328.6 MB, free: 4.109 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.251e-05/0.008889, allocations: 4 kB / 328.6 MB, free: 4.105 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.025e-05/0.008919, allocations: 47.42 kB / 328.7 MB, free: 4.047 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.605e-05/0.008955, allocations: 35.64 kB / 328.7 MB, free: 4.008 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.008956, allocations: 4.031 kB / 328.7 MB, free: 4.004 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.022e-05/0.009016, allocations: 57.56 kB / 328.8 MB, free: 3.941 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.608e-06/0.009026, allocations: 4 kB / 328.8 MB, free: 3.938 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/0.009029, allocations: 0 / 328.8 MB, free: 3.938 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.00904, allocations: 4 kB / 328.8 MB, free: 3.934 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.421e-05/0.009105, allocations: 15.98 kB / 328.8 MB, free: 3.918 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.755e-06/0.009107, allocations: 0 / 328.8 MB, free: 3.918 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.374e-05/0.009131, allocations: 7.984 kB / 328.8 MB, free: 3.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.92e-06/0.009136, allocations: 0 / 328.8 MB, free: 3.91 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 (7): * Single equations (assignments): 7 * 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.99e-05/0.009186, allocations: 116.7 kB / 328.9 MB, free: 3.785 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.677e-05/0.009203, allocations: 11.94 kB / 328.9 MB, free: 3.773 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.974e-05/0.009292, allocations: 70.69 kB / 329 MB, free: 3.699 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.009295, allocations: 4 kB / 329 MB, free: 3.695 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-06/0.009296, allocations: 0 / 329 MB, free: 3.695 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.009298, allocations: 0 / 329 MB, free: 3.695 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001878/0.009486, allocations: 226.8 kB / 329.2 MB, free: 3.449 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-07/0.009487, allocations: 0 / 329.2 MB, free: 3.449 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.71e-05/0.009524, allocations: 23.92 kB / 329.3 MB, free: 3.426 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.009526, allocations: 7.938 kB / 329.3 MB, free: 3.418 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.168e-06/0.00953, allocations: 0 / 329.3 MB, free: 3.418 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.009531, allocations: 8 kB / 329.3 MB, free: 3.41 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.009532, allocations: 0 / 329.3 MB, free: 3.41 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.346e-05/0.009615, allocations: 151.5 kB / 329.4 MB, free: 3.246 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.085e-06/0.009623, allocations: 7.953 kB / 329.4 MB, free: 3.238 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.11e-05/0.009634, allocations: 4 kB / 329.4 MB, free: 3.234 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.13e-05/0.009676, allocations: 4 kB / 329.4 MB, free: 3.23 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.38e-05/0.0097, allocations: 7.984 kB / 329.4 MB, free: 3.223 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.846e-06/0.009702, allocations: 0 / 329.4 MB, free: 3.223 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.871e-05/0.009731, allocations: 40.25 kB / 329.5 MB, free: 3.184 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009731, allocations: 0 / 329.5 MB, free: 3.184 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000148/0.009879, allocations: 39.88 kB / 329.5 MB, free: 3.145 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 (7): * Single equations (assignments): 7 * 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.001298/0.01118, allocations: 0.6258 MB / 330.2 MB, free: 2.836 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.823e-05/0.01126, allocations: 32.83 kB / 330.2 MB, free: 2.801 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.01126, allocations: 7.938 kB / 330.2 MB, free: 2.793 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.267e-05/0.01128, allocations: 20.78 kB / 330.2 MB, free: 2.77 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001305/0.01141, allocations: 35.56 kB / 330.2 MB, free: 2.738 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002998/0.01171, allocations: 188.1 kB / 330.4 MB, free: 2.527 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.525e-05/0.01175, allocations: 71.33 kB / 330.5 MB, free: 2.438 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.893e-05/0.01179, allocations: 13.05 kB / 330.5 MB, free: 2.422 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.504e-05/0.01185, allocations: 71.36 kB / 330.6 MB, free: 2.352 MB / 298.7 MB Notification: Performance of SimCode: time 4.6e-07/0.01185, allocations: 0 / 330.6 MB, free: 2.352 MB / 298.7 MB Notification: Performance of Templates: time 0.003333/0.01518, allocations: 2.15 MB / 332.7 MB, free: 220 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.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.9000609181821346]