Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.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.001671/0.001671, allocations: 69.72 kB / 21.24 MB, free: 0.5547 MB / 14.72 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.001395/0.001395, allocations: 162.5 kB / 24.5 MB, free: 3.711 MB / 14.72 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.459/1.459, allocations: 177.2 MB / 204.9 MB, free: 8.988 MB / 190.1 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.2082/0.2082, allocations: 34.26 MB / 295.5 MB, free: 14.55 MB / 286.1 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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002229/0.002229, allocations: 75.88 kB / 443.2 MB, free: 6.613 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3577/0.36, allocations: 66 MB / 0.4972 GB, free: 29.91 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.002946/0.3629, allocations: 1.648 MB / 0.4989 GB, free: 28.79 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008925/0.3638, allocations: 0.5602 MB / 0.4994 GB, free: 28.44 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.308e-05/0.3639, allocations: 3.219 kB / 0.4994 GB, free: 28.44 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004795/0.3643, allocations: 457.7 kB / 0.4998 GB, free: 28.41 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004003/0.3647, allocations: 288.3 kB / 0.5001 GB, free: 28.36 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003795/0.3651, allocations: 176.9 kB / 0.5003 GB, free: 28.28 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002106/0.3653, allocations: 176.4 kB / 0.5005 GB, free: 28.24 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.3654, allocations: 14.55 kB / 0.5005 GB, free: 28.23 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.292e-05/0.3655, allocations: 112.7 kB / 0.5006 GB, free: 28.22 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002075/0.3657, allocations: 252.5 kB / 0.5008 GB, free: 28.19 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.206e-05/0.3658, allocations: 3.281 kB / 0.5008 GB, free: 28.19 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.23e-05/0.3658, allocations: 33.75 kB / 0.5009 GB, free: 28.18 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.593e-05/0.3659, allocations: 82.44 kB / 0.5009 GB, free: 28.16 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.682e-05/0.366, allocations: 70.73 kB / 0.501 GB, free: 28.11 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002672/0.3663, allocations: 266.1 kB / 0.5013 GB, free: 27.99 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3663, allocations: 0 / 0.5013 GB, free: 27.99 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.3663, allocations: 4 kB / 0.5013 GB, free: 27.99 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.304e-05/0.3663, allocations: 0 / 0.5013 GB, free: 27.99 MB / 446.1 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.0006149/0.3669, allocations: 0.5849 MB / 0.5018 GB, free: 27.5 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.3669, allocations: 9.219 kB / 0.5018 GB, free: 27.5 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.684e-05/0.367, allocations: 47.2 kB / 0.5019 GB, free: 27.47 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002198/0.3672, allocations: 240.9 kB / 0.5021 GB, free: 27.26 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.3672, allocations: 3.656 kB / 0.5021 GB, free: 27.26 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.568e-05/0.3672, allocations: 11.5 kB / 0.5021 GB, free: 27.25 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00014/0.3674, allocations: 61.78 kB / 0.5022 GB, free: 27.21 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.3674, allocations: 0 / 0.5022 GB, free: 27.21 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.3674, allocations: 7.328 kB / 0.5022 GB, free: 27.2 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.3674, allocations: 0 / 0.5022 GB, free: 27.2 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.269e-05/0.3675, allocations: 25.25 kB / 0.5022 GB, free: 27.2 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000392/0.3679, allocations: 343.4 kB / 0.5025 GB, free: 26.95 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002056/0.3681, allocations: 48.75 kB / 0.5026 GB, free: 26.91 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.889e-05/0.3681, allocations: 18.45 kB / 0.5026 GB, free: 26.9 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.555e-05/0.3682, allocations: 0 / 0.5026 GB, free: 26.9 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.455e-05/0.3682, allocations: 34 kB / 0.5026 GB, free: 26.86 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 7.22e-07/0.3682, allocations: 0 / 0.5026 GB, free: 26.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005827/0.3688, allocations: 243.7 kB / 0.5029 GB, free: 26.73 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.367e-05/0.3688, allocations: 54.69 kB / 0.5029 GB, free: 26.66 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006208/0.3694, allocations: 0.8595 MB / 0.5038 GB, free: 26.34 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.116e-05/0.3694, allocations: 25.7 kB / 0.5038 GB, free: 26.31 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/0.3695, allocations: 213.8 kB / 0.504 GB, free: 26.14 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.319e-05/0.3696, allocations: 22.77 kB / 0.504 GB, free: 26.12 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.237e-05/0.3696, allocations: 17.16 kB / 0.504 GB, free: 26.11 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.165e-05/0.3697, allocations: 367.4 kB / 0.5044 GB, free: 25.77 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.103e-05/0.3698, allocations: 22.56 kB / 0.5044 GB, free: 25.77 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.037e-05/0.3698, allocations: 19.55 kB / 0.5044 GB, free: 25.76 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001296/0.3699, allocations: 58.55 kB / 0.5045 GB, free: 25.74 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.3699, allocations: 0 / 0.5045 GB, free: 25.74 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002026/0.3701, allocations: 120.3 kB / 0.5046 GB, free: 25.67 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.3702, allocations: 6.125 kB / 0.5046 GB, free: 25.67 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.3702, allocations: 4 kB / 0.5046 GB, free: 25.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.3702, allocations: 3.938 kB / 0.5046 GB, free: 25.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.575e-05/0.3702, allocations: 12.69 kB / 0.5046 GB, free: 25.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.3703, allocations: 3.984 kB / 0.5046 GB, free: 25.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.443e-05/0.3703, allocations: 10.77 kB / 0.5046 GB, free: 25.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.3703, allocations: 7.062 kB / 0.5046 GB, free: 25.65 MB / 446.1 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 (5): * Single equations (assignments): 5 * 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.0001403/0.3705, allocations: 220.3 kB / 0.5048 GB, free: 25.51 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.675e-05/0.3705, allocations: 43.03 kB / 0.5049 GB, free: 25.49 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002647/0.3708, allocations: 144.6 kB / 0.505 GB, free: 25.42 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.3708, allocations: 0 / 0.505 GB, free: 25.42 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3708, allocations: 0 / 0.505 GB, free: 25.42 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.3708, allocations: 0 / 0.505 GB, free: 25.42 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004231/0.3712, allocations: 416.2 kB / 0.5054 GB, free: 25.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.3712, allocations: 3.281 kB / 0.5054 GB, free: 25.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.581e-05/0.3713, allocations: 12.66 kB / 0.5054 GB, free: 25.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.3713, allocations: 0 / 0.5054 GB, free: 25.12 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.3713, allocations: 7.938 kB / 0.5054 GB, free: 25.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.3713, allocations: 0 / 0.5054 GB, free: 25.12 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.3713, allocations: 3.938 kB / 0.5054 GB, free: 25.11 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002068/0.3715, allocations: 221.2 kB / 0.5057 GB, free: 24.95 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.04e-05/0.3715, allocations: 33.19 kB / 0.5057 GB, free: 24.92 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.394e-05/0.3715, allocations: 3.938 kB / 0.5057 GB, free: 24.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.234e-05/0.3716, allocations: 6.125 kB / 0.5057 GB, free: 24.92 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.749e-05/0.3717, allocations: 6.969 kB / 0.5057 GB, free: 24.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.3717, allocations: 0 / 0.5057 GB, free: 24.91 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004746/0.3721, allocations: 0.6569 MB / 0.5063 GB, free: 24.67 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3721, allocations: 4 kB / 0.5064 GB, free: 24.66 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002578/0.3724, allocations: 22.03 kB / 0.5064 GB, free: 24.66 MB / 446.1 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 (5): * Single equations (assignments): 5 * 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.001578/0.374, allocations: 447.2 kB / 0.5068 GB, free: 24.46 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001986/0.3742, allocations: 48.41 kB / 0.5068 GB, free: 24.45 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3742, allocations: 0 / 0.5068 GB, free: 24.45 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.524e-05/0.3743, allocations: 32.17 kB / 0.5069 GB, free: 24.44 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004043/0.3747, allocations: 27.19 kB / 0.5069 GB, free: 24.43 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009494/0.3756, allocations: 0.812 MB / 0.5077 GB, free: 24.06 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001806/0.3758, allocations: 220.2 kB / 0.5079 GB, free: 23.96 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.342e-05/0.3758, allocations: 16.36 kB / 0.5079 GB, free: 23.96 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.074e-05/0.3759, allocations: 18.86 kB / 0.5079 GB, free: 23.95 MB / 446.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3759, allocations: 0 / 0.5079 GB, free: 23.95 MB / 446.1 MB Notification: Performance of Templates: time 0.004656/0.3805, allocations: 1.319 MB / 0.5092 GB, free: 23.73 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.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: 5.193586678011343]