Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.001928/0.001928, 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.002385/0.002385, allocations: 161.9 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.503/1.503, allocations: 177.2 MB / 204.9 MB, free: 9 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.2174/0.2174, allocations: 32.81 MB / 294.1 MB, free: 12 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.CombiTable1Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.002061/0.002061, allocations: 63.91 kB / 440.6 MB, free: 9.418 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2994/0.3014, allocations: 65.44 MB / 0.4942 GB, free: 31.4 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.002453/0.3039, allocations: 1.605 MB / 0.4957 GB, free: 30.3 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007838/0.3047, allocations: 0.5297 MB / 0.4962 GB, free: 29.98 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.061e-05/0.3047, allocations: 0 / 0.4962 GB, free: 29.98 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001947/0.3049, allocations: 27.73 kB / 0.4963 GB, free: 29.96 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000248/0.3052, allocations: 86.44 kB / 0.4964 GB, free: 29.91 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002425/0.3054, allocations: 108.2 kB / 0.4965 GB, free: 29.86 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001209/0.3055, allocations: 70.41 kB / 0.4965 GB, free: 29.83 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.641e-05/0.3056, allocations: 10.58 kB / 0.4965 GB, free: 29.83 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.406e-05/0.3057, allocations: 28.66 kB / 0.4966 GB, free: 29.81 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.174e-05/0.3057, allocations: 21.53 kB / 0.4966 GB, free: 29.8 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.307e-05/0.3057, allocations: 3.188 kB / 0.4966 GB, free: 29.8 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.333e-05/0.3058, allocations: 29.84 kB / 0.4966 GB, free: 29.79 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.433e-05/0.3058, allocations: 14.41 kB / 0.4966 GB, free: 29.79 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.179e-05/0.3059, allocations: 25.86 kB / 0.4967 GB, free: 29.77 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001337/0.306, allocations: 86.97 kB / 0.4967 GB, free: 29.73 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.306, allocations: 0 / 0.4967 GB, free: 29.73 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.306, allocations: 3.219 kB / 0.4967 GB, free: 29.73 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.306, allocations: 0 / 0.4967 GB, free: 29.73 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003291/0.3063, allocations: 320.6 kB / 0.497 GB, free: 29.43 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.772e-05/0.3064, allocations: 8.906 kB / 0.4971 GB, free: 29.43 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.515e-05/0.3064, allocations: 11.78 kB / 0.4971 GB, free: 29.42 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.3065, allocations: 142.1 kB / 0.4972 GB, free: 29.27 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.3065, allocations: 3.875 kB / 0.4972 GB, free: 29.27 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.668e-05/0.3065, allocations: 11.94 kB / 0.4972 GB, free: 29.26 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001097/0.3067, allocations: 48.28 kB / 0.4973 GB, free: 29.23 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.3067, allocations: 0 / 0.4973 GB, free: 29.23 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.243e-06/0.3067, allocations: 0 / 0.4973 GB, free: 29.23 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.3067, allocations: 6.844 kB / 0.4973 GB, free: 29.22 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.819e-05/0.3068, allocations: 26.55 kB / 0.4973 GB, free: 29.21 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002524/0.307, allocations: 225.9 kB / 0.4975 GB, free: 29 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001764/0.3072, allocations: 40.53 kB / 0.4975 GB, free: 28.97 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.406e-05/0.3072, allocations: 22.33 kB / 0.4976 GB, free: 28.96 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.945e-05/0.3072, allocations: 3.125 kB / 0.4976 GB, free: 28.96 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.119e-05/0.3073, allocations: 41.88 kB / 0.4976 GB, free: 28.91 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.3073, allocations: 0 / 0.4976 GB, free: 28.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004781/0.3077, allocations: 158.3 kB / 0.4978 GB, free: 28.84 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.34e-05/0.3078, allocations: 54.59 kB / 0.4978 GB, free: 28.77 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.3079, allocations: 176.4 kB / 0.498 GB, free: 28.65 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.795e-06/0.3079, allocations: 29.7 kB / 0.498 GB, free: 28.62 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.079e-05/0.3079, allocations: 95.3 kB / 0.4981 GB, free: 28.52 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.964e-05/0.3079, allocations: 22.36 kB / 0.4981 GB, free: 28.51 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.723e-05/0.308, allocations: 12.75 kB / 0.4981 GB, free: 28.49 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.165e-05/0.308, allocations: 325.2 kB / 0.4984 GB, free: 28.17 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.416e-05/0.3081, allocations: 19.78 kB / 0.4985 GB, free: 28.17 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.529e-05/0.3081, allocations: 22.39 kB / 0.4985 GB, free: 28.16 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001186/0.3082, allocations: 54.02 kB / 0.4985 GB, free: 28.14 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.3082, allocations: 4 kB / 0.4985 GB, free: 28.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001786/0.3084, allocations: 96.39 kB / 0.4986 GB, free: 28.09 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/0.3084, allocations: 3.031 kB / 0.4986 GB, free: 28.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.3084, allocations: 2.844 kB / 0.4986 GB, free: 28.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.3084, allocations: 0 / 0.4986 GB, free: 28.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.898e-05/0.3085, allocations: 16.25 kB / 0.4987 GB, free: 28.08 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.3085, allocations: 0 / 0.4987 GB, free: 28.08 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.838e-05/0.3085, allocations: 5.688 kB / 0.4987 GB, free: 28.08 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.3086, allocations: 3.938 kB / 0.4987 GB, free: 28.08 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 5.212e-05/0.3086, allocations: 131 kB / 0.4988 GB, free: 27.95 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.016e-05/0.3086, allocations: 7.047 kB / 0.4988 GB, free: 27.95 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002075/0.3088, allocations: 98.27 kB / 0.4989 GB, free: 27.89 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.3088, allocations: 3.188 kB / 0.4989 GB, free: 27.89 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.3089, allocations: 0 / 0.4989 GB, free: 27.89 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3089, allocations: 3.422 kB / 0.4989 GB, free: 27.89 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003022/0.3092, allocations: 302.2 kB / 0.4992 GB, free: 27.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.3092, allocations: 8 kB / 0.4992 GB, free: 27.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.338e-05/0.3092, allocations: 16.95 kB / 0.4992 GB, free: 27.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.3092, allocations: 0 / 0.4992 GB, free: 27.61 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-06/0.3092, allocations: 0 / 0.4992 GB, free: 27.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.3092, allocations: 3.938 kB / 0.4992 GB, free: 27.61 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.3092, allocations: 3.938 kB / 0.4992 GB, free: 27.61 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001739/0.3094, allocations: 183.6 kB / 0.4994 GB, free: 27.46 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.237e-05/0.3094, allocations: 15.03 kB / 0.4994 GB, free: 27.45 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.418e-05/0.3094, allocations: 0 / 0.4994 GB, free: 27.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.876e-05/0.3095, allocations: 14.73 kB / 0.4994 GB, free: 27.44 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.26e-05/0.3095, allocations: 3.938 kB / 0.4994 GB, free: 27.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-06/0.3095, allocations: 3.156 kB / 0.4994 GB, free: 27.44 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.996e-05/0.3096, allocations: 138.8 kB / 0.4996 GB, free: 27.35 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3096, allocations: 0 / 0.4996 GB, free: 27.35 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002386/0.3098, allocations: 13.62 kB / 0.4996 GB, free: 27.34 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.001478/0.3113, allocations: 435 kB / 0.5 GB, free: 27.15 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001794/0.3115, allocations: 55.67 kB / 0.5 GB, free: 27.13 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.3115, allocations: 0 / 0.5 GB, free: 27.13 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.878e-05/0.3116, allocations: 28.98 kB / 0.5001 GB, free: 27.13 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002975/0.3119, allocations: 20.23 kB / 0.5001 GB, free: 27.12 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003515/0.3122, allocations: 205.5 kB / 0.5003 GB, free: 26.97 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.28e-05/0.3123, allocations: 89.06 kB / 0.5004 GB, free: 26.89 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.591e-05/0.3123, allocations: 20.77 kB / 0.5004 GB, free: 26.88 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.536e-05/0.3123, allocations: 15.48 kB / 0.5004 GB, free: 26.88 MB / 446.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3123, allocations: 0 / 0.5004 GB, free: 26.88 MB / 446.1 MB Notification: Performance of Templates: time 0.003311/0.3156, allocations: 1.151 MB / 0.5015 GB, free: 26.7 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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: 4.91268374491483]