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.001357/0.001357, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001209/0.001209, allocations: 167.9 kB / 25.61 MB, free: 8.582 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 1.06/1.06, allocations: 177.2 MB / 206.1 MB, free: 4.477 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.1593/0.1593, allocations: 32.81 MB / 295.4 MB, free: 15.35 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.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 2.023e-06/2.023e-06, allocations: 4 kB / 377.3 MB, free: 25.57 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.265e-05/2.468e-05, allocations: 2.312 kB / 377.3 MB, free: 25.56 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test14): time 0.002154/0.002179, allocations: 1.685 MB / 379 MB, free: 23.87 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001052/0.003231, allocations: 1.305 MB / 380.3 MB, free: 22.55 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.707e-05/0.003298, allocations: 0 / 380.3 MB, free: 22.55 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002088/0.003507, allocations: 31.66 kB / 380.3 MB, free: 22.52 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002839/0.003791, allocations: 83.56 kB / 380.4 MB, free: 22.44 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003191/0.00411, allocations: 183.4 kB / 380.6 MB, free: 22.26 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001261/0.004236, allocations: 79.77 kB / 380.6 MB, free: 22.18 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.014e-05/0.004326, allocations: 19.97 kB / 380.7 MB, free: 22.16 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.704e-05/0.004383, allocations: 35.86 kB / 380.7 MB, free: 22.13 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.224e-05/0.004475, allocations: 31.89 kB / 380.7 MB, free: 22.1 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.489e-05/0.00449, allocations: 4 kB / 380.7 MB, free: 22.09 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001313/0.004622, allocations: 91.88 kB / 380.8 MB, free: 22 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.813e-05/0.00467, allocations: 23.92 kB / 380.9 MB, free: 21.98 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.33e-05/0.004693, allocations: 19.91 kB / 380.9 MB, free: 21.96 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001709/0.004864, allocations: 139.5 kB / 381 MB, free: 21.82 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.564e-06/0.004866, allocations: 0 / 381 MB, free: 21.82 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.004868, allocations: 0 / 381 MB, free: 21.82 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.004872, allocations: 0 / 381 MB, free: 21.82 MB / 314.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.0003182/0.00519, allocations: 443.9 kB / 381.4 MB, free: 21.36 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.071e-05/0.005221, allocations: 11.98 kB / 381.5 MB, free: 21.34 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.524e-05/0.005256, allocations: 12.89 kB / 381.5 MB, free: 21.33 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.005365, allocations: 140.4 kB / 381.6 MB, free: 21.17 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.868e-06/0.005375, allocations: 8.312 kB / 381.6 MB, free: 21.16 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.91e-05/0.005394, allocations: 8.375 kB / 381.6 MB, free: 21.15 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001071/0.005501, allocations: 104 kB / 381.7 MB, free: 21.03 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.005511, allocations: 4.188 kB / 381.7 MB, free: 21.02 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.934e-06/0.005519, allocations: 8.125 kB / 381.7 MB, free: 21.02 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.005524, allocations: 0 / 381.7 MB, free: 21.02 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.364e-05/0.005547, allocations: 7.984 kB / 381.7 MB, free: 21.01 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002133/0.005761, allocations: 264.4 kB / 382 MB, free: 20.72 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.309e-05/0.005814, allocations: 35.05 kB / 382 MB, free: 20.68 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.636e-05/0.00583, allocations: 19.69 kB / 382.1 MB, free: 20.65 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.531e-05/0.005845, allocations: 8.078 kB / 382.1 MB, free: 20.64 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.51e-05/0.00586, allocations: 37.33 kB / 382.1 MB, free: 20.6 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 8.41e-07/0.005861, allocations: 0 / 382.1 MB, free: 20.6 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003054/0.006167, allocations: 121.4 kB / 382.2 MB, free: 20.47 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.537e-05/0.006192, allocations: 81.11 kB / 382.3 MB, free: 20.38 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.484e-05/0.006267, allocations: 199.9 kB / 382.5 MB, free: 20.16 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.913e-06/0.006274, allocations: 25.7 kB / 382.5 MB, free: 20.13 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.786e-05/0.006302, allocations: 142.8 kB / 382.7 MB, free: 19.99 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.506e-05/0.006327, allocations: 39.66 kB / 382.7 MB, free: 19.95 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.767e-05/0.006354, allocations: 27.36 kB / 382.7 MB, free: 19.91 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.926e-05/0.006394, allocations: 0.4923 MB / 383.2 MB, free: 19.41 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.438e-05/0.006408, allocations: 4 kB / 383.2 MB, free: 19.41 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.774e-05/0.006436, allocations: 53.06 kB / 383.3 MB, free: 19.34 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.323e-05/0.006469, allocations: 35.89 kB / 383.3 MB, free: 19.3 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.00647, allocations: 0 / 383.3 MB, free: 19.3 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.954e-05/0.006539, allocations: 65.58 kB / 383.4 MB, free: 19.23 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.658e-06/0.006549, allocations: 4 kB / 383.4 MB, free: 19.23 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.006553, allocations: 0 / 383.4 MB, free: 19.23 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.907e-06/0.006561, allocations: 3.984 kB / 383.4 MB, free: 19.22 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.456e-05/0.006626, allocations: 23.97 kB / 383.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.054e-06/0.006628, allocations: 0 / 383.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.599e-05/0.006654, allocations: 11.98 kB / 383.4 MB, free: 19.19 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.217e-06/0.006658, allocations: 0 / 383.4 MB, free: 19.19 MB / 314.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.305e-05/0.006701, allocations: 156.6 kB / 383.6 MB, free: 19.02 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.261e-05/0.006724, allocations: 11.89 kB / 383.6 MB, free: 19.01 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000103/0.006827, allocations: 82.42 kB / 383.7 MB, free: 18.93 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.006829, allocations: 3.938 kB / 383.7 MB, free: 18.92 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-06/0.006831, allocations: 0 / 383.7 MB, free: 18.92 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.006833, allocations: 4 kB / 383.7 MB, free: 18.92 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000185/0.007018, allocations: 318 kB / 384 MB, free: 18.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.00702, allocations: 0 / 384 MB, free: 18.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.953e-05/0.007059, allocations: 19.98 kB / 384 MB, free: 18.55 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.007062, allocations: 0 / 384 MB, free: 18.55 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.93e-06/0.007067, allocations: 0 / 384 MB, free: 18.55 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.007068, allocations: 4 kB / 384 MB, free: 18.55 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.00707, allocations: 3.938 kB / 384 MB, free: 18.55 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.48e-05/0.007155, allocations: 216.1 kB / 384.2 MB, free: 18.32 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.009e-05/0.007165, allocations: 15.92 kB / 384.2 MB, free: 18.3 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.192e-05/0.007177, allocations: 3.984 kB / 384.2 MB, free: 18.3 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.819e-05/0.007215, allocations: 8 kB / 384.2 MB, free: 18.29 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.09e-05/0.007246, allocations: 15.92 kB / 384.3 MB, free: 18.27 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.00725, allocations: 0 / 384.3 MB, free: 18.27 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.331e-05/0.007283, allocations: 144.9 kB / 384.4 MB, free: 18.13 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007283, allocations: 0 / 384.4 MB, free: 18.13 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001897/0.007473, allocations: 39.88 kB / 384.4 MB, free: 18.09 MB / 314.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.000942/0.008415, allocations: 489.3 kB / 384.9 MB, free: 17.8 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.936e-05/0.008504, allocations: 35.61 kB / 384.9 MB, free: 17.76 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.008506, allocations: 0 / 384.9 MB, free: 17.76 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.285e-05/0.008529, allocations: 27.66 kB / 385 MB, free: 17.73 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001937/0.008723, allocations: 31.08 kB / 385 MB, free: 17.7 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002578/0.00898, allocations: 188.2 kB / 385.2 MB, free: 17.49 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.501e-05/0.009005, allocations: 75.19 kB / 385.3 MB, free: 17.39 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.318e-05/0.009049, allocations: 16.72 kB / 385.3 MB, free: 17.38 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.824e-05/0.009107, allocations: 90.17 kB / 385.4 MB, free: 17.29 MB / 314.7 MB Notification: Performance of SimCode: time 4.61e-07/0.009107, allocations: 0 / 385.4 MB, free: 17.29 MB / 314.7 MB Notification: Performance of Templates: time 0.003282/0.01239, allocations: 2.238 MB / 387.6 MB, free: 15.07 MB / 314.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: 3.5224686758592725]