Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.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.00125/0.00125, allocations: 71.59 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.001409/0.001409, allocations: 159.5 kB / 24.49 MB, free: 3.727 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.454/1.454, allocations: 177.2 MB / 204.9 MB, free: 9.008 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.21/0.21, allocations: 32.81 MB / 294.1 MB, free: 8 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.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2") [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.002093/0.002093, allocations: 68.14 kB / 440.6 MB, free: 9.398 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3348/0.3369, allocations: 65.45 MB / 0.4942 GB, free: 31.37 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.002647/0.3396, allocations: 1.669 MB / 0.4958 GB, free: 30.24 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008301/0.3404, allocations: 0.5331 MB / 0.4963 GB, free: 29.91 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.079e-05/0.3404, allocations: 7.125 kB / 0.4963 GB, free: 29.9 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004238/0.3409, allocations: 456 kB / 0.4968 GB, free: 29.88 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003803/0.3412, allocations: 288.4 kB / 0.497 GB, free: 29.83 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002668/0.3415, allocations: 135.9 kB / 0.4972 GB, free: 29.76 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001922/0.3417, allocations: 177.3 kB / 0.4973 GB, free: 29.73 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.087e-05/0.3418, allocations: 10.66 kB / 0.4973 GB, free: 29.72 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.552e-05/0.3419, allocations: 123.5 kB / 0.4975 GB, free: 29.7 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001819/0.3421, allocations: 242.1 kB / 0.4977 GB, free: 29.68 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.898e-05/0.3421, allocations: 3.188 kB / 0.4977 GB, free: 29.68 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.075e-05/0.3422, allocations: 53.94 kB / 0.4978 GB, free: 29.66 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.249e-05/0.3422, allocations: 82.38 kB / 0.4978 GB, free: 29.63 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.691e-05/0.3423, allocations: 73.34 kB / 0.4979 GB, free: 29.58 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002599/0.3426, allocations: 281.5 kB / 0.4982 GB, free: 29.46 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3426, allocations: 3.938 kB / 0.4982 GB, free: 29.46 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3426, allocations: 0 / 0.4982 GB, free: 29.46 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.3426, allocations: 0 / 0.4982 GB, free: 29.46 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005136/0.3431, allocations: 0.5868 MB / 0.4987 GB, free: 28.97 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.891e-05/0.3431, allocations: 9.375 kB / 0.4988 GB, free: 28.97 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.793e-05/0.3432, allocations: 43.66 kB / 0.4988 GB, free: 28.95 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001905/0.3433, allocations: 247.2 kB / 0.499 GB, free: 28.73 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.3434, allocations: 11.45 kB / 0.499 GB, free: 28.72 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.283e-05/0.3434, allocations: 3.688 kB / 0.499 GB, free: 28.72 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.3435, allocations: 57.64 kB / 0.4991 GB, free: 28.68 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.3435, allocations: 4 kB / 0.4991 GB, free: 28.67 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.724e-06/0.3435, allocations: 3.344 kB / 0.4991 GB, free: 28.67 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.3435, allocations: 0 / 0.4991 GB, free: 28.67 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.433e-05/0.3436, allocations: 27.17 kB / 0.4991 GB, free: 28.67 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003261/0.3439, allocations: 335.9 kB / 0.4995 GB, free: 28.41 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.573e-05/0.344, allocations: 49.16 kB / 0.4995 GB, free: 28.38 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.354e-05/0.3441, allocations: 15.36 kB / 0.4995 GB, free: 28.37 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.3441, allocations: 7.469 kB / 0.4995 GB, free: 28.36 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.61e-05/0.3441, allocations: 33.94 kB / 0.4996 GB, free: 28.32 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.3441, allocations: 0 / 0.4996 GB, free: 28.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008225/0.3449, allocations: 317.6 kB / 0.4999 GB, free: 28.17 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.179e-05/0.345, allocations: 54.69 kB / 0.4999 GB, free: 28.11 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006161/0.3456, allocations: 0.8577 MB / 0.5007 GB, free: 27.79 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.366e-06/0.3456, allocations: 29.7 kB / 0.5008 GB, free: 27.75 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.3457, allocations: 218.8 kB / 0.501 GB, free: 27.57 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.149e-05/0.3457, allocations: 26.28 kB / 0.501 GB, free: 27.55 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.157e-05/0.3457, allocations: 20.09 kB / 0.501 GB, free: 27.54 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.19e-05/0.3458, allocations: 360.8 kB / 0.5014 GB, free: 27.2 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.162e-05/0.3459, allocations: 27.16 kB / 0.5014 GB, free: 27.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.025e-05/0.346, allocations: 24.28 kB / 0.5014 GB, free: 27.19 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.3461, allocations: 70.98 kB / 0.5015 GB, free: 27.16 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.3461, allocations: 0 / 0.5015 GB, free: 27.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000193/0.3463, allocations: 130.7 kB / 0.5016 GB, free: 27.09 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.3463, allocations: 6.562 kB / 0.5016 GB, free: 27.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.3463, allocations: 0 / 0.5016 GB, free: 27.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.3463, allocations: 3.516 kB / 0.5016 GB, free: 27.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.081e-05/0.3464, allocations: 27.41 kB / 0.5017 GB, free: 27.08 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.3464, allocations: 4.25 kB / 0.5017 GB, free: 27.08 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.388e-05/0.3465, allocations: 7.219 kB / 0.5017 GB, free: 27.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.3465, allocations: 0 / 0.5017 GB, free: 27.07 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 (8): * Single equations (assignments): 8 * 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.0001292/0.3466, allocations: 216.9 kB / 0.5019 GB, free: 26.94 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.24e-05/0.3466, allocations: 49.94 kB / 0.5019 GB, free: 26.91 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002644/0.3469, allocations: 163 kB / 0.5021 GB, free: 26.83 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.3469, allocations: 4 kB / 0.5021 GB, free: 26.83 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.3469, allocations: 3.938 kB / 0.5021 GB, free: 26.82 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.3469, allocations: 0 / 0.5021 GB, free: 26.82 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004535/0.3474, allocations: 442 kB / 0.5025 GB, free: 26.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.3474, allocations: 432 / 0.5025 GB, free: 26.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.725e-05/0.3474, allocations: 27.12 kB / 0.5025 GB, free: 26.51 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.3474, allocations: 3.938 kB / 0.5025 GB, free: 26.51 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.3475, allocations: 0 / 0.5025 GB, free: 26.51 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.3475, allocations: 3.125 kB / 0.5025 GB, free: 26.51 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3475, allocations: 4.031 kB / 0.5025 GB, free: 26.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002158/0.3477, allocations: 233.3 kB / 0.5028 GB, free: 26.33 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.066e-05/0.3477, allocations: 42.88 kB / 0.5028 GB, free: 26.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.57e-05/0.3477, allocations: 11.88 kB / 0.5028 GB, free: 26.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.605e-05/0.3478, allocations: 5.25 kB / 0.5028 GB, free: 26.29 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.24e-05/0.3479, allocations: 6.156 kB / 0.5028 GB, free: 26.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.3479, allocations: 6.75 kB / 0.5028 GB, free: 26.28 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004349/0.3483, allocations: 0.6552 MB / 0.5035 GB, free: 26.04 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3483, allocations: 3.938 kB / 0.5035 GB, free: 26.03 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002615/0.3486, allocations: 25.75 kB / 0.5035 GB, free: 26.03 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001736/0.3503, allocations: 491.6 kB / 0.504 GB, free: 25.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002016/0.3505, allocations: 63.2 kB / 0.504 GB, free: 25.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3505, allocations: 3.938 kB / 0.504 GB, free: 25.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.707e-05/0.3506, allocations: 33.7 kB / 0.5041 GB, free: 25.79 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003847/0.351, allocations: 29.55 kB / 0.5041 GB, free: 25.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008563/0.3518, allocations: 0.8311 MB / 0.5049 GB, free: 25.39 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001709/0.352, allocations: 221.4 kB / 0.5051 GB, free: 25.3 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.856e-05/0.352, allocations: 22.16 kB / 0.5051 GB, free: 25.28 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.296e-05/0.3521, allocations: 14.56 kB / 0.5051 GB, free: 25.27 MB / 446.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3521, allocations: 3.938 kB / 0.5052 GB, free: 25.27 MB / 446.1 MB Notification: Performance of Templates: time 0.004863/0.3569, allocations: 1.552 MB / 0.5067 GB, free: 25.02 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.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.855175639968365]