Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.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.001417/0.001417, allocations: 74.56 kB / 21.24 MB, free: 0.5391 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.001459/0.001459, allocations: 162.1 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.47/1.47, allocations: 177.2 MB / 204.9 MB, free: 9.012 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.2025/0.2025, allocations: 32.8 MB / 294.1 MB, free: 40 kB / 270.1 MB " [Timeout remaining time 179] 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.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") [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.002416/0.002416, allocations: 67.89 kB / 440.6 MB, free: 9.422 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3443/0.3467, allocations: 65.45 MB / 0.4942 GB, free: 31.42 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.002487/0.3492, allocations: 1.692 MB / 0.4958 GB, free: 30.27 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008198/0.35, allocations: 0.5478 MB / 0.4964 GB, free: 29.92 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.89e-05/0.3501, allocations: 0 / 0.4964 GB, free: 29.92 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001819/0.3503, allocations: 25.7 kB / 0.4964 GB, free: 29.91 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002941/0.3506, allocations: 86.81 kB / 0.4965 GB, free: 29.86 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002739/0.3508, allocations: 134.7 kB / 0.4966 GB, free: 29.79 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001338/0.351, allocations: 92.75 kB / 0.4967 GB, free: 29.75 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.685e-05/0.3511, allocations: 21.91 kB / 0.4967 GB, free: 29.73 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.295e-05/0.3511, allocations: 35.66 kB / 0.4967 GB, free: 29.72 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.432e-05/0.3512, allocations: 39.22 kB / 0.4968 GB, free: 29.7 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.644e-05/0.3512, allocations: 6.625 kB / 0.4968 GB, free: 29.7 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001436/0.3514, allocations: 106.7 kB / 0.4969 GB, free: 29.66 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.683e-05/0.3514, allocations: 18.58 kB / 0.4969 GB, free: 29.65 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.741e-05/0.3515, allocations: 28.62 kB / 0.4969 GB, free: 29.64 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002247/0.3517, allocations: 160.9 kB / 0.4971 GB, free: 29.57 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3517, allocations: 3.156 kB / 0.4971 GB, free: 29.57 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3517, allocations: 0 / 0.4971 GB, free: 29.57 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.3517, allocations: 0 / 0.4971 GB, free: 29.57 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.000516/0.3522, allocations: 367.1 kB / 0.4974 GB, free: 29.25 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.16e-05/0.3522, allocations: 9.5 kB / 0.4974 GB, free: 29.25 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.749e-05/0.3523, allocations: 11.95 kB / 0.4975 GB, free: 29.24 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001656/0.3525, allocations: 150.1 kB / 0.4976 GB, free: 29.09 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.3525, allocations: 3.719 kB / 0.4976 GB, free: 29.09 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.189e-05/0.3525, allocations: 7.156 kB / 0.4976 GB, free: 29.09 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000259/0.3527, allocations: 112.1 kB / 0.4977 GB, free: 29 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.3528, allocations: 4 kB / 0.4977 GB, free: 28.99 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.3528, allocations: 0 / 0.4977 GB, free: 28.99 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.3528, allocations: 3.25 kB / 0.4977 GB, free: 28.99 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000291/0.3531, allocations: 68.73 kB / 0.4978 GB, free: 28.98 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003208/0.3534, allocations: 248.9 kB / 0.498 GB, free: 28.75 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002185/0.3536, allocations: 74.11 kB / 0.4981 GB, free: 28.71 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001549/0.3538, allocations: 44.83 kB / 0.4981 GB, free: 28.7 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.779e-05/0.3538, allocations: 0 / 0.4981 GB, free: 28.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.3538, allocations: 37.75 kB / 0.4982 GB, free: 28.65 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 8.72e-07/0.3538, allocations: 0 / 0.4982 GB, free: 28.65 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.001589/0.3554, allocations: 390.5 kB / 0.4985 GB, free: 28.54 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.08e-05/0.3554, allocations: 77.11 kB / 0.4986 GB, free: 28.45 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.3556, allocations: 155.4 kB / 0.4988 GB, free: 28.32 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.3556, allocations: 29.7 kB / 0.4988 GB, free: 28.29 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.751e-05/0.3556, allocations: 94.62 kB / 0.4989 GB, free: 28.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.538e-05/0.3556, allocations: 34.38 kB / 0.4989 GB, free: 28.17 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.36e-05/0.3557, allocations: 27.5 kB / 0.4989 GB, free: 28.14 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.578e-05/0.3557, allocations: 321.6 kB / 0.4993 GB, free: 27.83 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002663/0.356, allocations: 74.98 kB / 0.4993 GB, free: 27.81 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002655/0.3563, allocations: 107.5 kB / 0.4994 GB, free: 27.75 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004994/0.3568, allocations: 151.9 kB / 0.4996 GB, free: 27.71 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.3568, allocations: 0 / 0.4996 GB, free: 27.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005647/0.3573, allocations: 196.2 kB / 0.4998 GB, free: 27.65 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.3573, allocations: 3.094 kB / 0.4998 GB, free: 27.65 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.3573, allocations: 0 / 0.4998 GB, free: 27.65 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.3573, allocations: 7.125 kB / 0.4998 GB, free: 27.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002057/0.3576, allocations: 46.16 kB / 0.4998 GB, free: 27.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.3576, allocations: 0 / 0.4998 GB, free: 27.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001432/0.3577, allocations: 26.3 kB / 0.4998 GB, free: 27.63 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.3577, allocations: 3.031 kB / 0.4998 GB, free: 27.63 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 (10): * Single equations (assignments): 10 * 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 6.202e-05/0.3578, allocations: 124.1 kB / 0.5 GB, free: 27.51 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.68e-05/0.3578, allocations: 6.984 kB / 0.5 GB, free: 27.51 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006272/0.3584, allocations: 207.9 kB / 0.5002 GB, free: 27.43 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.3584, allocations: 3.938 kB / 0.5002 GB, free: 27.43 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.3584, allocations: 0 / 0.5002 GB, free: 27.43 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.3584, allocations: 0 / 0.5002 GB, free: 27.43 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007659/0.3592, allocations: 423.7 kB / 0.5006 GB, free: 27.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.3592, allocations: 3.938 kB / 0.5006 GB, free: 27.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001763/0.3594, allocations: 44.38 kB / 0.5006 GB, free: 27.13 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.3594, allocations: 3.094 kB / 0.5006 GB, free: 27.13 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.3594, allocations: 0 / 0.5006 GB, free: 27.13 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.3594, allocations: 0 / 0.5006 GB, free: 27.13 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3594, allocations: 0 / 0.5006 GB, free: 27.13 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005831/0.36, allocations: 289.6 kB / 0.5009 GB, free: 26.96 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.891e-05/0.36, allocations: 22.27 kB / 0.5009 GB, free: 26.95 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.112e-05/0.36, allocations: 3.984 kB / 0.5009 GB, free: 26.94 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001787/0.3602, allocations: 26 kB / 0.5009 GB, free: 26.94 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.931e-05/0.3603, allocations: 13.92 kB / 0.501 GB, free: 26.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.3603, allocations: 384 / 0.501 GB, free: 26.93 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.841e-05/0.3603, allocations: 122.1 kB / 0.5011 GB, free: 26.85 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3603, allocations: 0 / 0.5011 GB, free: 26.85 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003002/0.3606, allocations: 50.64 kB / 0.5011 GB, free: 26.83 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 (9): * Single equations (assignments): 9 * 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.00182/0.3625, allocations: 0.5329 MB / 0.5016 GB, free: 26.6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000612/0.3631, allocations: 162 kB / 0.5018 GB, free: 26.57 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3631, allocations: 0 / 0.5018 GB, free: 26.57 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002757/0.3633, allocations: 81.28 kB / 0.5019 GB, free: 26.55 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003478/0.3637, allocations: 27.48 kB / 0.5019 GB, free: 26.54 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003845/0.3641, allocations: 213.7 kB / 0.5021 GB, free: 26.38 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.484e-05/0.3641, allocations: 85.23 kB / 0.5022 GB, free: 26.3 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.33e-05/0.3642, allocations: 14.23 kB / 0.5022 GB, free: 26.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.059e-05/0.3643, allocations: 21.5 kB / 0.5022 GB, free: 26.29 MB / 446.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3643, allocations: 0 / 0.5022 GB, free: 26.29 MB / 446.1 MB Notification: Performance of Templates: time 0.005214/0.3695, allocations: 2.609 MB / 0.5048 GB, free: 25.97 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.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.100228198920377]