Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test27.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.00258/0.00258, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.003088/0.003088, allocations: 165.3 kB / 24.27 MB, free: 160 kB / 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.603/1.603, allocations: 177.2 MB / 204.6 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.3793/0.3793, allocations: 34.27 MB / 295.3 MB, free: 0.6836 MB / 266.7 MB " [Timeout remaining time 179] 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.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test27") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.724e-06/1.724e-06, allocations: 0 / 377.3 MB, free: 2.957 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.209e-05/3.381e-05, allocations: 2.312 kB / 377.3 MB, free: 2.953 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.004852/0.004885, allocations: 1.685 MB / 379 MB, free: 1.258 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001748/0.006633, allocations: 0.5647 MB / 379.6 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.339e-05/0.006726, allocations: 7.938 kB / 379.6 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003581/0.007084, allocations: 59.72 kB / 379.6 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005079/0.007592, allocations: 103.5 kB / 379.7 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007376/0.00833, allocations: 171.5 kB / 379.9 MB, free: 360 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002624/0.008592, allocations: 91.73 kB / 380 MB, free: 268 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.008725, allocations: 20.22 kB / 380 MB, free: 244 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000152/0.008877, allocations: 55.77 kB / 380.1 MB, free: 188 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001511/0.009028, allocations: 47.88 kB / 380.1 MB, free: 140 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.799e-05/0.009056, allocations: 4 kB / 380.1 MB, free: 136 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001883/0.009245, allocations: 47.92 kB / 380.2 MB, free: 88 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.32e-05/0.009338, allocations: 23.92 kB / 380.2 MB, free: 64 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.255e-05/0.0094, allocations: 23.91 kB / 380.2 MB, free: 40 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003388/0.009739, allocations: 111.6 kB / 380.3 MB, free: 15.93 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.009743, allocations: 0 / 380.3 MB, free: 15.93 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.009744, allocations: 3.938 kB / 380.3 MB, free: 15.93 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.00975, allocations: 0 / 380.3 MB, free: 15.93 MB / 362.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.0008342/0.01058, allocations: 451.5 kB / 380.8 MB, free: 15.45 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.01063, allocations: 8.031 kB / 380.8 MB, free: 15.44 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.154e-05/0.01071, allocations: 16.89 kB / 380.8 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002879/0.011, allocations: 145.1 kB / 380.9 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.01101, allocations: 4.375 kB / 380.9 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.868e-05/0.01105, allocations: 4.375 kB / 380.9 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002256/0.01128, allocations: 62.17 kB / 381 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.252e-05/0.0113, allocations: 8.141 kB / 381 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.689e-05/0.01132, allocations: 4.125 kB / 381 MB, free: 15.17 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.01132, allocations: 0 / 381 MB, free: 15.17 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001902/0.01151, allocations: 31.97 kB / 381 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007298/0.01224, allocations: 311.7 kB / 381.3 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000337/0.01258, allocations: 62.97 kB / 381.4 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/0.01268, allocations: 19.81 kB / 381.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/0.0127, allocations: 4 kB / 381.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.924e-05/0.01274, allocations: 37.39 kB / 381.5 MB, free: 14.65 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.01274, allocations: 0 / 381.5 MB, free: 14.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.001653/0.0144, allocations: 305.5 kB / 381.8 MB, free: 14.35 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.394e-05/0.01445, allocations: 55.41 kB / 381.8 MB, free: 14.28 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003498/0.0148, allocations: 246.4 kB / 382.1 MB, free: 14.02 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.414e-05/0.01483, allocations: 29.7 kB / 382.1 MB, free: 13.99 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001633/0.015, allocations: 154.9 kB / 382.2 MB, free: 13.83 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.436e-05/0.01506, allocations: 35.69 kB / 382.3 MB, free: 13.8 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.589e-05/0.01516, allocations: 35.38 kB / 382.3 MB, free: 13.75 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000391/0.01555, allocations: 0.504 MB / 382.8 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001571/0.01571, allocations: 31.97 kB / 382.8 MB, free: 13.21 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001532/0.01586, allocations: 27.98 kB / 382.9 MB, free: 13.18 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003259/0.01619, allocations: 83.59 kB / 383 MB, free: 13.09 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.01619, allocations: 0 / 383 MB, free: 13.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004714/0.01666, allocations: 121.8 kB / 383.1 MB, free: 12.97 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.01667, allocations: 4 kB / 383.1 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.01668, allocations: 0 / 383.1 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.839e-06/0.01669, allocations: 0 / 383.1 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001735/0.01686, allocations: 27.98 kB / 383.1 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.01687, allocations: 0 / 383.1 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.863e-05/0.01695, allocations: 11.98 kB / 383.1 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.805e-05/0.01697, allocations: 4 kB / 383.1 MB, free: 12.92 MB / 362.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 0.0001837/0.01716, allocations: 168.5 kB / 383.3 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.257e-05/0.01724, allocations: 19.91 kB / 383.3 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005468/0.01779, allocations: 138.4 kB / 383.4 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.01779, allocations: 0 / 383.4 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.01779, allocations: 4 kB / 383.4 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.01779, allocations: 0 / 383.4 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001094/0.01889, allocations: 460.6 kB / 383.9 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.01889, allocations: 0 / 383.9 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001556/0.01905, allocations: 23.98 kB / 383.9 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.01905, allocations: 3.938 kB / 383.9 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.89e-05/0.01907, allocations: 7.984 kB / 383.9 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.462e-06/0.01908, allocations: 3.938 kB / 383.9 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.01908, allocations: 0 / 383.9 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006297/0.01971, allocations: 295.2 kB / 384.2 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.839e-05/0.01974, allocations: 11.91 kB / 384.2 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.846e-05/0.01977, allocations: 4.188 kB / 384.2 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001599/0.01993, allocations: 19.92 kB / 384.3 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.965e-05/0.01997, allocations: 11.92 kB / 384.3 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.59e-05/0.01999, allocations: 4 kB / 384.3 MB, free: 11.67 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002131/0.0202, allocations: 171.2 kB / 384.4 MB, free: 11.5 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.0202, allocations: 0 / 384.4 MB, free: 11.5 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004653/0.02067, allocations: 23.94 kB / 384.5 MB, free: 11.48 MB / 362.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.004523/0.02519, allocations: 497 kB / 384.9 MB, free: 11.2 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004831/0.02568, allocations: 95.5 kB / 385 MB, free: 11.11 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.02568, allocations: 4 kB / 385 MB, free: 11.1 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002234/0.0259, allocations: 59.59 kB / 385.1 MB, free: 11.04 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005162/0.02642, allocations: 31.89 kB / 385.1 MB, free: 11.01 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000864/0.02728, allocations: 280.5 kB / 385.4 MB, free: 10.7 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001799/0.02746, allocations: 100.9 kB / 385.5 MB, free: 10.58 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001288/0.02759, allocations: 28.45 kB / 385.5 MB, free: 10.55 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.555e-05/0.02766, allocations: 16.5 kB / 385.5 MB, free: 10.54 MB / 362.7 MB Notification: Performance of SimCode: time 6.61e-07/0.02766, allocations: 0 / 385.5 MB, free: 10.54 MB / 362.7 MB Notification: Performance of Templates: time 0.007443/0.0351, allocations: 1.658 MB / 387.2 MB, free: 8.902 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test27.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test27 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.979753589024767]