Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.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.001748/0.001748, allocations: 74.88 kB / 21.24 MB, free: 0.5469 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.002095/0.002095, allocations: 161.6 kB / 24.5 MB, free: 3.715 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.601/1.601, allocations: 177.2 MB / 204.9 MB, free: 9.023 MB / 190.1 MB " [Timeout remaining time 178] 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.2053/0.2053, allocations: 32.81 MB / 294.1 MB, free: 16 kB / 270.1 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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003559/0.003559, allocations: 67.89 kB / 440.6 MB, free: 9.414 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3626/0.3662, allocations: 65.44 MB / 0.4942 GB, free: 31.38 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.002581/0.3687, allocations: 1.659 MB / 0.4958 GB, free: 30.25 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001501/0.3702, allocations: 1.266 MB / 0.497 GB, free: 29.39 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.657e-05/0.3703, allocations: 3.031 kB / 0.497 GB, free: 29.39 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001994/0.3705, allocations: 34.34 kB / 0.4971 GB, free: 29.36 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003006/0.3708, allocations: 93.7 kB / 0.4971 GB, free: 29.31 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003498/0.3712, allocations: 164.5 kB / 0.4973 GB, free: 29.23 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001509/0.3713, allocations: 77.86 kB / 0.4974 GB, free: 29.2 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.3714, allocations: 18.05 kB / 0.4974 GB, free: 29.19 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.924e-05/0.3715, allocations: 35.88 kB / 0.4974 GB, free: 29.17 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001121/0.3716, allocations: 28.94 kB / 0.4975 GB, free: 29.16 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.714e-05/0.3716, allocations: 6.188 kB / 0.4975 GB, free: 29.16 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001437/0.3718, allocations: 93.89 kB / 0.4976 GB, free: 29.13 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.069e-05/0.3718, allocations: 25.34 kB / 0.4976 GB, free: 29.11 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.49e-05/0.3718, allocations: 21.39 kB / 0.4976 GB, free: 29.1 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002281/0.3721, allocations: 152.8 kB / 0.4977 GB, free: 29.04 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.3721, allocations: 0 / 0.4977 GB, free: 29.04 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3721, allocations: 0 / 0.4977 GB, free: 29.04 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.3721, allocations: 0 / 0.4977 GB, free: 29.04 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.0004178/0.3725, allocations: 346.1 kB / 0.4981 GB, free: 28.72 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.977e-05/0.3725, allocations: 9.719 kB / 0.4981 GB, free: 28.72 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.054e-05/0.3726, allocations: 8.297 kB / 0.4981 GB, free: 28.71 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/0.3727, allocations: 135 kB / 0.4982 GB, free: 28.57 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.3727, allocations: 7.703 kB / 0.4982 GB, free: 28.57 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.315e-05/0.3728, allocations: 3.562 kB / 0.4982 GB, free: 28.57 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001779/0.3729, allocations: 109.5 kB / 0.4983 GB, free: 28.47 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.3729, allocations: 0 / 0.4983 GB, free: 28.47 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.373, allocations: 6.969 kB / 0.4983 GB, free: 28.47 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.373, allocations: 4 kB / 0.4983 GB, free: 28.46 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001284/0.3731, allocations: 40.17 kB / 0.4984 GB, free: 28.46 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003374/0.3734, allocations: 246 kB / 0.4986 GB, free: 28.23 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001192/0.3736, allocations: 49.67 kB / 0.4987 GB, free: 28.2 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.535e-05/0.3736, allocations: 25.67 kB / 0.4987 GB, free: 28.19 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/0.3736, allocations: 3.469 kB / 0.4987 GB, free: 28.19 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.72e-05/0.3737, allocations: 38.03 kB / 0.4987 GB, free: 28.14 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.3737, allocations: 0 / 0.4987 GB, free: 28.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007474/0.3744, allocations: 227.1 kB / 0.4989 GB, free: 28.06 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.806e-05/0.3744, allocations: 77.11 kB / 0.499 GB, free: 27.97 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.3745, allocations: 155.3 kB / 0.4992 GB, free: 27.85 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/0.3746, allocations: 28.8 kB / 0.4992 GB, free: 27.82 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.135e-05/0.3746, allocations: 98.59 kB / 0.4993 GB, free: 27.72 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.207e-05/0.3746, allocations: 27.08 kB / 0.4993 GB, free: 27.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.532e-05/0.3746, allocations: 23.61 kB / 0.4993 GB, free: 27.68 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.44e-05/0.3747, allocations: 322 kB / 0.4996 GB, free: 27.36 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001111/0.3748, allocations: 41.23 kB / 0.4997 GB, free: 27.35 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001124/0.3749, allocations: 79.38 kB / 0.4998 GB, free: 27.29 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002078/0.3751, allocations: 93.73 kB / 0.4998 GB, free: 27.26 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.3751, allocations: 0 / 0.4998 GB, free: 27.26 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000267/0.3754, allocations: 129 kB / 0.5 GB, free: 27.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.3754, allocations: 3.219 kB / 0.5 GB, free: 27.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.3754, allocations: 0 / 0.5 GB, free: 27.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.3754, allocations: 3.281 kB / 0.5 GB, free: 27.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.3755, allocations: 19.97 kB / 0.5 GB, free: 27.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.3755, allocations: 320 / 0.5 GB, free: 27.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.332e-05/0.3756, allocations: 9.344 kB / 0.5 GB, free: 27.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.3756, allocations: 7.062 kB / 0.5 GB, free: 27.2 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 (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 5.947e-05/0.3757, allocations: 124.1 kB / 0.5001 GB, free: 27.07 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/0.3757, allocations: 13.89 kB / 0.5001 GB, free: 27.07 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003094/0.376, allocations: 141.3 kB / 0.5003 GB, free: 27 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.376, allocations: 0 / 0.5003 GB, free: 27 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.376, allocations: 0 / 0.5003 GB, free: 27 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.376, allocations: 3.422 kB / 0.5003 GB, free: 27 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004285/0.3764, allocations: 357 kB / 0.5006 GB, free: 26.72 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3765, allocations: 0 / 0.5006 GB, free: 26.72 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.415e-05/0.3765, allocations: 18.7 kB / 0.5006 GB, free: 26.72 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.3765, allocations: 4 kB / 0.5006 GB, free: 26.71 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.3765, allocations: 0 / 0.5006 GB, free: 26.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.3765, allocations: 3.938 kB / 0.5006 GB, free: 26.71 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.3765, allocations: 7.406 kB / 0.5007 GB, free: 26.71 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002844/0.3768, allocations: 222.9 kB / 0.5009 GB, free: 26.55 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.639e-05/0.3768, allocations: 10.47 kB / 0.5009 GB, free: 26.54 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.966e-05/0.3769, allocations: 4 kB / 0.5009 GB, free: 26.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.59e-05/0.377, allocations: 16.11 kB / 0.5009 GB, free: 26.54 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.444e-05/0.377, allocations: 7.641 kB / 0.5009 GB, free: 26.53 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.377, allocations: 2.875 kB / 0.5009 GB, free: 26.53 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.525e-05/0.3771, allocations: 113.2 kB / 0.501 GB, free: 26.45 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3771, allocations: 0 / 0.501 GB, free: 26.45 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002856/0.3774, allocations: 47.75 kB / 0.5011 GB, free: 26.43 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 (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.001794/0.3792, allocations: 0.5277 MB / 0.5016 GB, free: 26.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002958/0.3795, allocations: 103.2 kB / 0.5017 GB, free: 26.17 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3795, allocations: 0 / 0.5017 GB, free: 26.17 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001204/0.3796, allocations: 39.25 kB / 0.5017 GB, free: 26.16 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003459/0.3799, allocations: 23.59 kB / 0.5017 GB, free: 26.16 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004688/0.3804, allocations: 219.3 kB / 0.5019 GB, free: 26 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.764e-05/0.3805, allocations: 93.19 kB / 0.502 GB, free: 25.92 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.049e-05/0.3805, allocations: 23.19 kB / 0.5021 GB, free: 25.91 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.368e-05/0.3806, allocations: 22.14 kB / 0.5021 GB, free: 25.9 MB / 446.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3806, allocations: 0 / 0.5021 GB, free: 25.9 MB / 446.1 MB Notification: Performance of Templates: time 0.004638/0.3852, allocations: 1.965 MB / 0.504 GB, free: 25.64 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.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.0625288389856]