Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.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.0009615/0.0009615, allocations: 80.8 kB / 21.49 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.0009819/0.0009819, allocations: 169.1 kB / 24.91 MB, free: 9.191 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.9249/0.9249, 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.2252/0.2252, allocations: 32.8 MB / 294.6 MB, free: 1.258 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.Test14,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.Test14") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test14,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.Test14") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 323.2 MB, free: 9.719 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.702e-05/2.883e-05, allocations: 9.859 kB / 323.2 MB, free: 9.711 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test14): time 0.002484/0.002513, allocations: 1.694 MB / 324.9 MB, free: 8.004 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001472/0.003985, allocations: 1.321 MB / 326.3 MB, free: 6.676 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.681e-05/0.004052, allocations: 4 kB / 326.3 MB, free: 6.672 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002341/0.004286, allocations: 27.84 kB / 326.3 MB, free: 6.645 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003537/0.00464, allocations: 83.56 kB / 326.4 MB, free: 6.562 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003914/0.005031, allocations: 179.4 kB / 326.5 MB, free: 6.387 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000149/0.00518, allocations: 79.7 kB / 326.6 MB, free: 6.309 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.735e-05/0.005278, allocations: 15.98 kB / 326.6 MB, free: 6.293 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.622e-05/0.005344, allocations: 39.91 kB / 326.7 MB, free: 6.254 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/0.005449, allocations: 31.89 kB / 326.7 MB, free: 6.223 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.798e-05/0.005467, allocations: 8 kB / 326.7 MB, free: 6.215 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001508/0.005618, allocations: 91.88 kB / 326.8 MB, free: 6.125 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.422e-05/0.005672, allocations: 15.92 kB / 326.8 MB, free: 6.109 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.976e-05/0.005702, allocations: 23.92 kB / 326.8 MB, free: 6.086 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002065/0.005909, allocations: 143.5 kB / 327 MB, free: 5.945 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.005913, allocations: 3.938 kB / 327 MB, free: 5.941 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.005914, allocations: 0 / 327 MB, free: 5.941 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.449e-06/0.005918, allocations: 0 / 327 MB, free: 5.941 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.000387/0.006306, allocations: 313.5 kB / 327.3 MB, free: 5.613 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.185e-05/0.006337, allocations: 8.031 kB / 327.3 MB, free: 5.605 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.961e-05/0.006377, allocations: 4.938 kB / 327.3 MB, free: 5.602 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001587/0.006536, allocations: 141.5 kB / 327.4 MB, free: 5.438 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.839e-06/0.006546, allocations: 4.375 kB / 327.5 MB, free: 5.434 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.079e-05/0.006566, allocations: 384 / 327.5 MB, free: 5.434 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001341/0.0067, allocations: 110.3 kB / 327.6 MB, free: 5.305 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.00671, allocations: 192 / 327.6 MB, free: 5.305 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.00672, allocations: 4.125 kB / 327.6 MB, free: 5.301 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.006725, allocations: 0 / 327.6 MB, free: 5.301 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.608e-05/0.006751, allocations: 15.98 kB / 327.6 MB, free: 5.285 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002384/0.006989, allocations: 179 kB / 327.8 MB, free: 5.094 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.083e-05/0.00705, allocations: 30.56 kB / 327.8 MB, free: 5.055 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.646e-05/0.007067, allocations: 12.8 kB / 327.8 MB, free: 5.039 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.819e-05/0.007085, allocations: 4 kB / 327.8 MB, free: 5.035 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.146e-05/0.007116, allocations: 34.5 kB / 327.8 MB, free: 4.992 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 2.134e-06/0.007118, allocations: 3.984 kB / 327.8 MB, free: 4.988 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003644/0.007483, allocations: 113.6 kB / 327.9 MB, free: 4.871 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/0.007527, allocations: 81.05 kB / 328 MB, free: 4.773 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.007634, allocations: 145 kB / 328.2 MB, free: 4.621 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.007646, allocations: 25.7 kB / 328.2 MB, free: 4.59 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.401e-05/0.007681, allocations: 92.08 kB / 328.3 MB, free: 4.496 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.485e-05/0.007705, allocations: 27.78 kB / 328.3 MB, free: 4.469 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.62e-05/0.007742, allocations: 21.7 kB / 328.3 MB, free: 4.441 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0004244/0.008166, allocations: 326.8 kB / 328.7 MB, free: 4.113 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.926e-05/0.008185, allocations: 4 kB / 328.7 MB, free: 4.109 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.639e-05/0.008222, allocations: 47.41 kB / 328.7 MB, free: 4.051 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.267e-05/0.008264, allocations: 31.66 kB / 328.7 MB, free: 4.016 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.008266, allocations: 4.031 kB / 328.7 MB, free: 4.012 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.987e-05/0.008346, allocations: 57.56 kB / 328.8 MB, free: 3.949 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.00836, allocations: 4 kB / 328.8 MB, free: 3.945 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.008365, allocations: 0 / 328.8 MB, free: 3.945 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.008383, allocations: 7.984 kB / 328.8 MB, free: 3.938 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.678e-05/0.00845, allocations: 12 kB / 328.8 MB, free: 3.926 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.264e-06/0.008452, allocations: 0 / 328.8 MB, free: 3.926 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.57e-05/0.008478, allocations: 7.984 kB / 328.8 MB, free: 3.918 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.019e-06/0.008483, allocations: 0 / 328.8 MB, free: 3.918 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 6.22e-05/0.008545, allocations: 120.7 kB / 328.9 MB, free: 3.789 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.933e-05/0.008564, allocations: 11.92 kB / 329 MB, free: 3.777 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001011/0.008665, allocations: 66.7 kB / 329 MB, free: 3.707 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.008668, allocations: 4 kB / 329 MB, free: 3.703 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.694e-06/0.00867, allocations: 0 / 329 MB, free: 3.703 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.008673, allocations: 0 / 329 MB, free: 3.703 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001993/0.008872, allocations: 230.8 kB / 329.2 MB, free: 3.453 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.008874, allocations: 0 / 329.2 MB, free: 3.453 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.449e-05/0.008919, allocations: 19.92 kB / 329.3 MB, free: 3.434 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.00892, allocations: 0 / 329.3 MB, free: 3.434 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.519e-06/0.008925, allocations: 4 kB / 329.3 MB, free: 3.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.008927, allocations: 11.94 kB / 329.3 MB, free: 3.418 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.008929, allocations: 0 / 329.3 MB, free: 3.418 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.507e-05/0.009014, allocations: 151.5 kB / 329.4 MB, free: 3.254 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.879e-06/0.009024, allocations: 7.953 kB / 329.4 MB, free: 3.246 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.245e-05/0.009036, allocations: 4 kB / 329.4 MB, free: 3.242 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.891e-05/0.009075, allocations: 7.984 kB / 329.5 MB, free: 3.234 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.67e-05/0.009102, allocations: 7.984 kB / 329.5 MB, free: 3.227 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.457e-06/0.009105, allocations: 0 / 329.5 MB, free: 3.227 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.224e-05/0.009137, allocations: 33.77 kB / 329.5 MB, free: 3.191 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009138, allocations: 0 / 329.5 MB, free: 3.191 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001786/0.009316, allocations: 47.86 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.001233/0.01055, allocations: 0.6265 MB / 330.2 MB, free: 2.832 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.641e-05/0.01065, allocations: 28.83 kB / 330.2 MB, free: 2.801 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.01065, allocations: 4 kB / 330.2 MB, free: 2.797 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.28e-05/0.01067, allocations: 16.8 kB / 330.2 MB, free: 2.777 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001577/0.01083, allocations: 31.81 kB / 330.2 MB, free: 2.746 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003126/0.01114, allocations: 188.1 kB / 330.4 MB, free: 2.535 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.123e-05/0.01118, allocations: 71.33 kB / 330.5 MB, free: 2.445 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.367e-05/0.01123, allocations: 13.05 kB / 330.5 MB, free: 2.43 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.762e-05/0.0113, allocations: 75.34 kB / 330.6 MB, free: 2.355 MB / 298.7 MB Notification: Performance of SimCode: time 6.91e-07/0.0113, allocations: 0 / 330.6 MB, free: 2.355 MB / 298.7 MB Notification: Performance of Templates: time 0.003608/0.0149, allocations: 2.156 MB / 332.7 MB, free: 228 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test14/Test14.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.866312479134649]