Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.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.001283/0.001283, allocations: 71.75 kB / 21.24 MB, free: 404 kB / 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.001491/0.001491, allocations: 167.8 kB / 24.5 MB, free: 3.453 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.426/1.426, allocations: 177.2 MB / 204.9 MB, free: 9.055 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.1985/0.1985, allocations: 32.81 MB / 294.1 MB, free: 64 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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6") [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.002154/0.002154, allocations: 71.88 kB / 440.6 MB, free: 9.457 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.333/0.3351, allocations: 65.44 MB / 0.4942 GB, free: 31.44 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.002535/0.3376, allocations: 1.663 MB / 0.4958 GB, free: 30.31 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008212/0.3385, allocations: 0.5285 MB / 0.4963 GB, free: 29.98 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.194e-05/0.3385, allocations: 3.188 kB / 0.4963 GB, free: 29.98 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004657/0.339, allocations: 455.9 kB / 0.4967 GB, free: 29.95 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003905/0.3394, allocations: 300.1 kB / 0.497 GB, free: 29.9 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002989/0.3397, allocations: 129.9 kB / 0.4971 GB, free: 29.83 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000203/0.3399, allocations: 176.6 kB / 0.4973 GB, free: 29.79 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.34, allocations: 10.77 kB / 0.4973 GB, free: 29.79 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.732e-05/0.3401, allocations: 112.1 kB / 0.4974 GB, free: 29.78 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002143/0.3403, allocations: 250.9 kB / 0.4977 GB, free: 29.75 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.2e-05/0.3403, allocations: 3.156 kB / 0.4977 GB, free: 29.75 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.793e-05/0.3404, allocations: 33.86 kB / 0.4977 GB, free: 29.74 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.638e-05/0.3405, allocations: 87.16 kB / 0.4978 GB, free: 29.71 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.209e-05/0.3406, allocations: 71.44 kB / 0.4979 GB, free: 29.66 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002604/0.3408, allocations: 268.3 kB / 0.4981 GB, free: 29.54 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.3408, allocations: 0 / 0.4981 GB, free: 29.54 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3408, allocations: 0 / 0.4981 GB, free: 29.54 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.774e-06/0.3408, allocations: 0 / 0.4981 GB, free: 29.54 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.0006218/0.3414, allocations: 0.5892 MB / 0.4987 GB, free: 29.05 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.3415, allocations: 13.38 kB / 0.4987 GB, free: 29.05 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.042e-05/0.3415, allocations: 47.86 kB / 0.4987 GB, free: 29.02 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002203/0.3418, allocations: 243.6 kB / 0.499 GB, free: 28.81 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.783e-06/0.3418, allocations: 4.375 kB / 0.499 GB, free: 28.8 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.56e-05/0.3418, allocations: 3.594 kB / 0.499 GB, free: 28.8 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/0.342, allocations: 64.09 kB / 0.499 GB, free: 28.76 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.342, allocations: 0 / 0.499 GB, free: 28.76 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.342, allocations: 0 / 0.499 GB, free: 28.76 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.342, allocations: 0 / 0.499 GB, free: 28.76 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001252/0.3421, allocations: 37.05 kB / 0.4991 GB, free: 28.75 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003703/0.3425, allocations: 331.8 kB / 0.4994 GB, free: 28.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001243/0.3426, allocations: 48.8 kB / 0.4994 GB, free: 28.47 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.512e-05/0.3427, allocations: 22.12 kB / 0.4995 GB, free: 28.46 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.806e-05/0.3427, allocations: 0 / 0.4995 GB, free: 28.46 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.703e-05/0.3427, allocations: 37.62 kB / 0.4995 GB, free: 28.41 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 9.51e-07/0.3427, allocations: 0 / 0.4995 GB, free: 28.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007636/0.3435, allocations: 300.2 kB / 0.4998 GB, free: 28.27 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.388e-05/0.3435, allocations: 54.62 kB / 0.4998 GB, free: 28.21 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006236/0.3441, allocations: 0.8626 MB / 0.5007 GB, free: 27.89 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.095e-06/0.3441, allocations: 25.7 kB / 0.5007 GB, free: 27.86 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.3442, allocations: 215 kB / 0.5009 GB, free: 27.68 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.137e-05/0.3443, allocations: 26.91 kB / 0.5009 GB, free: 27.66 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.15e-05/0.3443, allocations: 20.12 kB / 0.501 GB, free: 27.64 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.446e-05/0.3444, allocations: 362.8 kB / 0.5013 GB, free: 27.31 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/0.3445, allocations: 37.69 kB / 0.5013 GB, free: 27.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.212e-05/0.3446, allocations: 32.94 kB / 0.5014 GB, free: 27.29 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001903/0.3447, allocations: 73.83 kB / 0.5014 GB, free: 27.27 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.3447, allocations: 3.422 kB / 0.5014 GB, free: 27.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002556/0.345, allocations: 150 kB / 0.5016 GB, free: 27.19 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.345, allocations: 6.281 kB / 0.5016 GB, free: 27.19 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.345, allocations: 3.422 kB / 0.5016 GB, free: 27.19 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.345, allocations: 0 / 0.5016 GB, free: 27.19 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.3452, allocations: 23.22 kB / 0.5016 GB, free: 27.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.3452, allocations: 0 / 0.5016 GB, free: 27.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.123e-05/0.3452, allocations: 9.812 kB / 0.5016 GB, free: 27.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.3452, allocations: 7.219 kB / 0.5016 GB, free: 27.18 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 0.0001283/0.3454, allocations: 214.9 kB / 0.5018 GB, free: 27.04 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.737e-05/0.3454, allocations: 43.25 kB / 0.5019 GB, free: 27.02 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003291/0.3457, allocations: 181.8 kB / 0.5021 GB, free: 26.93 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.3457, allocations: 0 / 0.5021 GB, free: 26.93 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3457, allocations: 0 / 0.5021 GB, free: 26.93 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.3457, allocations: 0 / 0.5021 GB, free: 26.93 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004749/0.3462, allocations: 450.2 kB / 0.5025 GB, free: 26.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3462, allocations: 0 / 0.5025 GB, free: 26.63 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.345e-05/0.3463, allocations: 23.3 kB / 0.5025 GB, free: 26.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.3463, allocations: 3.516 kB / 0.5025 GB, free: 26.62 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-06/0.3463, allocations: 0 / 0.5025 GB, free: 26.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3463, allocations: 0 / 0.5025 GB, free: 26.62 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.3463, allocations: 7.219 kB / 0.5025 GB, free: 26.62 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002914/0.3466, allocations: 240.7 kB / 0.5027 GB, free: 26.45 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.158e-05/0.3467, allocations: 35.78 kB / 0.5028 GB, free: 26.43 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.527e-05/0.3467, allocations: 0 / 0.5028 GB, free: 26.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.3468, allocations: 13.36 kB / 0.5028 GB, free: 26.42 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.264e-05/0.3468, allocations: 10.36 kB / 0.5028 GB, free: 26.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-06/0.3468, allocations: 0 / 0.5028 GB, free: 26.42 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004573/0.3473, allocations: 0.649 MB / 0.5034 GB, free: 26.18 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3473, allocations: 0 / 0.5034 GB, free: 26.18 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002638/0.3476, allocations: 28.83 kB / 0.5035 GB, free: 26.17 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.001547/0.3491, allocations: 455 kB / 0.5039 GB, free: 25.96 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002632/0.3494, allocations: 71.47 kB / 0.504 GB, free: 25.95 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.3494, allocations: 0 / 0.504 GB, free: 25.95 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001073/0.3495, allocations: 44.28 kB / 0.504 GB, free: 25.94 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003775/0.3498, allocations: 30.89 kB / 0.504 GB, free: 25.92 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009015/0.3507, allocations: 0.8264 MB / 0.5048 GB, free: 25.55 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001636/0.3509, allocations: 221.7 kB / 0.5051 GB, free: 25.45 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.387e-05/0.351, allocations: 13.72 kB / 0.5051 GB, free: 25.45 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.049e-05/0.351, allocations: 14.53 kB / 0.5051 GB, free: 25.44 MB / 446.1 MB Notification: Performance of SimCode: time 3.01e-07/0.351, allocations: 4 kB / 0.5051 GB, free: 25.44 MB / 446.1 MB Notification: Performance of Templates: time 0.004606/0.3556, allocations: 1.426 MB / 0.5065 GB, free: 25.2 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.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.909932562964968]