Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009155/0.0009155, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001435/0.00235, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003489/0.004687, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9798/0.9798, allocations: 173.4 MB / 186 MB, free: 7.539 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1716/1.151, allocations: 52.49 MB / 238.5 MB, free: 7.625 MB / 234.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.1401/0.1401, allocations: 32.8 MB / 272 MB, free: 6.301 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02679/0.1668, allocations: 12.54 MB / 284.5 MB, free: 9.719 MB / 282.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test11,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.Test11") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test11,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.Test11") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 285.9 MB, free: 8.398 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.182e-05/3.331e-05, allocations: 2.312 kB / 285.9 MB, free: 8.395 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test11): time 0.003173/0.003206, allocations: 1.711 MB / 287.6 MB, free: 6.672 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001737/0.004943, allocations: 1.216 MB / 288.8 MB, free: 5.449 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.87e-05/0.005012, allocations: 4 kB / 288.8 MB, free: 5.445 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001429/0.005155, allocations: 23.8 kB / 288.8 MB, free: 5.422 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001703/0.005325, allocations: 43.72 kB / 288.9 MB, free: 5.379 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004337/0.005759, allocations: 179.3 kB / 289 MB, free: 5.203 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001554/0.005914, allocations: 67.84 kB / 289.1 MB, free: 5.137 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.006015, allocations: 23.84 kB / 289.1 MB, free: 5.113 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.006122, allocations: 47.91 kB / 289.2 MB, free: 5.066 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001066/0.006229, allocations: 23.91 kB / 289.2 MB, free: 5.043 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.923e-05/0.006248, allocations: 4 kB / 289.2 MB, free: 5.039 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001398/0.006388, allocations: 55.91 kB / 289.3 MB, free: 4.984 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.44e-05/0.006442, allocations: 15.94 kB / 289.3 MB, free: 4.969 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.58e-05/0.006468, allocations: 8 kB / 289.3 MB, free: 4.961 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001926/0.006661, allocations: 91.55 kB / 289.4 MB, free: 4.871 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.526e-05/0.006676, allocations: 0 / 289.4 MB, free: 4.871 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.006677, allocations: 0 / 289.4 MB, free: 4.871 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.14e-05/0.006688, allocations: 0 / 289.4 MB, free: 4.871 MB / 282.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.0004682/0.007157, allocations: 296.2 kB / 289.7 MB, free: 4.559 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.007192, allocations: 8.031 kB / 289.7 MB, free: 4.551 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.912e-05/0.007231, allocations: 4.938 kB / 289.7 MB, free: 4.547 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001624/0.007394, allocations: 137.6 kB / 289.8 MB, free: 4.387 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.626e-06/0.007402, allocations: 4.375 kB / 289.8 MB, free: 4.383 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.988e-05/0.007422, allocations: 4.375 kB / 289.8 MB, free: 4.379 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001701/0.007592, allocations: 106.3 kB / 289.9 MB, free: 4.254 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.007602, allocations: 4.188 kB / 289.9 MB, free: 4.25 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.649e-06/0.007612, allocations: 4.125 kB / 289.9 MB, free: 4.246 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.007616, allocations: 0 / 289.9 MB, free: 4.246 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.175e-05/0.007648, allocations: 11.97 kB / 289.9 MB, free: 4.234 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002766/0.007925, allocations: 179 kB / 290.1 MB, free: 4.043 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.8e-05/0.007993, allocations: 26.56 kB / 290.1 MB, free: 4.008 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.307e-05/0.008016, allocations: 16.86 kB / 290.2 MB, free: 3.988 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.122e-05/0.008037, allocations: 0 / 290.2 MB, free: 3.988 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.008064, allocations: 38.5 kB / 290.2 MB, free: 3.941 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.008065, allocations: 3.938 kB / 290.2 MB, free: 3.938 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003779/0.008443, allocations: 109.6 kB / 290.3 MB, free: 3.824 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.997e-05/0.008473, allocations: 51.41 kB / 290.4 MB, free: 3.762 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.008581, allocations: 133.4 kB / 290.5 MB, free: 3.621 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.008598, allocations: 29.7 kB / 290.5 MB, free: 3.586 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.959e-05/0.008647, allocations: 92.08 kB / 290.6 MB, free: 3.492 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.958e-05/0.008677, allocations: 27.77 kB / 290.6 MB, free: 3.465 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.233e-05/0.008719, allocations: 21.72 kB / 290.7 MB, free: 3.438 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.008823, allocations: 322.8 kB / 291 MB, free: 3.113 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.813e-05/0.008841, allocations: 4 kB / 291 MB, free: 3.109 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.334e-05/0.008884, allocations: 43.42 kB / 291 MB, free: 3.055 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.982e-05/0.008934, allocations: 31.66 kB / 291 MB, free: 3.02 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.008936, allocations: 0 / 291 MB, free: 3.02 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.1e-05/0.009027, allocations: 57.61 kB / 291.1 MB, free: 2.957 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.009044, allocations: 11.94 kB / 291.1 MB, free: 2.945 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.009048, allocations: 0 / 291.1 MB, free: 2.945 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.009059, allocations: 0 / 291.1 MB, free: 2.945 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.398e-05/0.009153, allocations: 20.02 kB / 291.1 MB, free: 2.926 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.085e-06/0.009156, allocations: 4 kB / 291.1 MB, free: 2.922 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.312e-05/0.009189, allocations: 4 kB / 291.1 MB, free: 2.918 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.009194, allocations: 0 / 291.1 MB, free: 2.918 MB / 282.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 7.671e-05/0.009271, allocations: 120.7 kB / 291.3 MB, free: 2.789 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.971e-05/0.009301, allocations: 7.938 kB / 291.3 MB, free: 2.781 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001163/0.009417, allocations: 66.05 kB / 291.3 MB, free: 2.715 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.00942, allocations: 0 / 291.3 MB, free: 2.715 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.009421, allocations: 0 / 291.3 MB, free: 2.715 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.009425, allocations: 4 kB / 291.3 MB, free: 2.711 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002993/0.009725, allocations: 227.1 kB / 291.6 MB, free: 2.465 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.165e-06/0.009727, allocations: 4 kB / 291.6 MB, free: 2.461 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.645e-05/0.009793, allocations: 15.98 kB / 291.6 MB, free: 2.445 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.313e-05/0.009806, allocations: 7.953 kB / 291.6 MB, free: 2.438 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.00981, allocations: 0 / 291.6 MB, free: 2.438 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.193e-06/0.009817, allocations: 7.938 kB / 291.6 MB, free: 2.43 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.918e-06/0.009821, allocations: 0 / 291.6 MB, free: 2.43 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.009824, allocations: 0 / 291.6 MB, free: 2.43 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001456/0.009969, allocations: 159.4 kB / 291.7 MB, free: 2.258 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.585e-05/0.009985, allocations: 0 / 291.7 MB, free: 2.258 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.284e-05/0.01005, allocations: 8 kB / 291.8 MB, free: 2.25 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.55e-05/0.01008, allocations: 7.984 kB / 291.8 MB, free: 2.242 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.01009, allocations: 8 kB / 291.8 MB, free: 2.234 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.774e-05/0.01013, allocations: 24.83 kB / 291.8 MB, free: 2.207 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01013, allocations: 0 / 291.8 MB, free: 2.207 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002821/0.01041, allocations: 27.92 kB / 291.8 MB, free: 2.18 MB / 282.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.004189/0.0146, allocations: 0.6105 MB / 292.4 MB, free: 1.867 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000145/0.01474, allocations: 28.84 kB / 292.5 MB, free: 1.836 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.214e-05/0.01476, allocations: 4 kB / 292.5 MB, free: 1.832 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.332e-05/0.01481, allocations: 20.8 kB / 292.5 MB, free: 1.809 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002806/0.01509, allocations: 95.72 kB / 292.6 MB, free: 1.703 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006163/0.01571, allocations: 196.1 kB / 292.8 MB, free: 1.477 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.659e-05/0.01575, allocations: 63.34 kB / 292.8 MB, free: 1.395 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.425e-05/0.01583, allocations: 15.94 kB / 292.8 MB, free: 1.379 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.671e-05/0.01592, allocations: 67.36 kB / 292.9 MB, free: 1.312 MB / 282.7 MB Notification: Performance of SimCode: time 1.162e-06/0.01592, allocations: 0 / 292.9 MB, free: 1.312 MB / 282.7 MB Notification: Performance of Templates: time 0.004668/0.02059, allocations: 1.72 MB / 294.6 MB, free: 15.62 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test11/Test11.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8320752130821347]