Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.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.001346/0.001346, 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.001487/0.001487, allocations: 162.5 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.458/1.458, 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.1947/0.1947, allocations: 32.8 MB / 294.1 MB, free: 20 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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22") [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.00207/0.00207, allocations: 70.25 kB / 440.6 MB, free: 9.426 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3433/0.3454, allocations: 65.44 MB / 0.4942 GB, free: 31.39 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.002985/0.3484, allocations: 1.979 MB / 0.4961 GB, free: 30.04 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001824/0.3502, allocations: 1.297 MB / 0.4974 GB, free: 29.21 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001058/0.3503, allocations: 3.156 kB / 0.4974 GB, free: 29.21 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002306/0.3505, allocations: 59.66 kB / 0.4974 GB, free: 29.17 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004081/0.351, allocations: 213.1 kB / 0.4976 GB, free: 29.08 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009947/0.3519, allocations: 0.6037 MB / 0.4982 GB, free: 28.79 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003081/0.3523, allocations: 322.3 kB / 0.4985 GB, free: 28.66 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000147/0.3524, allocations: 54.64 kB / 0.4986 GB, free: 28.62 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002055/0.3526, allocations: 144.3 kB / 0.4987 GB, free: 28.57 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002033/0.3528, allocations: 197.5 kB / 0.4989 GB, free: 28.51 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.7e-05/0.3528, allocations: 16.75 kB / 0.4989 GB, free: 28.5 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001213/0.353, allocations: 60.97 kB / 0.499 GB, free: 28.49 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001301/0.3531, allocations: 153.1 kB / 0.4991 GB, free: 28.43 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001007/0.3532, allocations: 127.9 kB / 0.4992 GB, free: 28.35 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003393/0.3535, allocations: 407.4 kB / 0.4996 GB, free: 28.19 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.3535, allocations: 0 / 0.4996 GB, free: 28.19 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3535, allocations: 0 / 0.4996 GB, free: 28.19 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.594e-06/0.3536, allocations: 0 / 0.4996 GB, free: 28.19 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0008053/0.3544, allocations: 0.7182 MB / 0.5003 GB, free: 27.63 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.3544, allocations: 9.562 kB / 0.5003 GB, free: 27.63 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002691/0.3547, allocations: 85.56 kB / 0.5004 GB, free: 27.59 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004821/0.3551, allocations: 405.4 kB / 0.5008 GB, free: 27.34 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.3552, allocations: 11.59 kB / 0.5008 GB, free: 27.33 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.153e-05/0.3552, allocations: 10.47 kB / 0.5008 GB, free: 27.33 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002519/0.3554, allocations: 152.4 kB / 0.501 GB, free: 27.25 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/0.3555, allocations: 3.953 kB / 0.501 GB, free: 27.24 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/0.3555, allocations: 7.312 kB / 0.501 GB, free: 27.24 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.3555, allocations: 3.25 kB / 0.501 GB, free: 27.24 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002043/0.3557, allocations: 96.05 kB / 0.5011 GB, free: 27.21 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007102/0.3564, allocations: 0.5923 MB / 0.5017 GB, free: 26.83 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001985/0.3566, allocations: 106.1 kB / 0.5018 GB, free: 26.76 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.359e-05/0.3567, allocations: 50.3 kB / 0.5018 GB, free: 26.73 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.752e-05/0.3567, allocations: 3.938 kB / 0.5018 GB, free: 26.73 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.166e-05/0.3567, allocations: 37.78 kB / 0.5018 GB, free: 26.69 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.332e-06/0.3567, allocations: 0 / 0.5018 GB, free: 26.69 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.001306/0.358, allocations: 0.5571 MB / 0.5024 GB, free: 26.41 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.494e-05/0.3581, allocations: 83.95 kB / 0.5025 GB, free: 26.31 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007625/0.3588, allocations: 0.8679 MB / 0.5033 GB, free: 26.03 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.3589, allocations: 32.45 kB / 0.5033 GB, free: 25.99 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001384/0.359, allocations: 259.8 kB / 0.5036 GB, free: 25.78 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.938e-05/0.359, allocations: 56.27 kB / 0.5036 GB, free: 25.73 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.147e-05/0.3591, allocations: 37.78 kB / 0.5037 GB, free: 25.71 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.314e-05/0.3592, allocations: 366.8 kB / 0.504 GB, free: 25.38 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001576/0.3593, allocations: 60.91 kB / 0.5041 GB, free: 25.36 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001564/0.3595, allocations: 86.09 kB / 0.5042 GB, free: 25.32 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003207/0.3598, allocations: 160.8 kB / 0.5043 GB, free: 25.26 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3598, allocations: 3.938 kB / 0.5043 GB, free: 25.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004142/0.3602, allocations: 248.9 kB / 0.5046 GB, free: 25.14 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.3602, allocations: 6 kB / 0.5046 GB, free: 25.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.3602, allocations: 3.938 kB / 0.5046 GB, free: 25.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.3603, allocations: 3 kB / 0.5046 GB, free: 25.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001929/0.3604, allocations: 36.61 kB / 0.5046 GB, free: 25.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.3605, allocations: 6.781 kB / 0.5046 GB, free: 25.13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001226/0.3606, allocations: 17.19 kB / 0.5046 GB, free: 25.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.491e-05/0.3606, allocations: 3.844 kB / 0.5046 GB, free: 25.12 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (16): * Single equations (assignments): 16 * 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.0001577/0.3607, allocations: 221.5 kB / 0.5049 GB, free: 24.98 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.992e-05/0.3608, allocations: 57.67 kB / 0.5049 GB, free: 24.95 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005279/0.3614, allocations: 294.7 kB / 0.5052 GB, free: 24.83 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.3614, allocations: 3.031 kB / 0.5052 GB, free: 24.83 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.3614, allocations: 0 / 0.5052 GB, free: 24.83 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.3614, allocations: 0 / 0.5052 GB, free: 24.83 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008978/0.3623, allocations: 0.705 MB / 0.5059 GB, free: 24.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.3623, allocations: 3.25 kB / 0.5059 GB, free: 24.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001561/0.3624, allocations: 39.64 kB / 0.5059 GB, free: 24.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.3624, allocations: 11.22 kB / 0.5059 GB, free: 24.39 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.3624, allocations: 4 kB / 0.5059 GB, free: 24.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.3625, allocations: 3.125 kB / 0.5059 GB, free: 24.38 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3625, allocations: 80 / 0.5059 GB, free: 24.38 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004456/0.3629, allocations: 425.1 kB / 0.5063 GB, free: 24.09 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/0.363, allocations: 59.61 kB / 0.5064 GB, free: 24.07 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.21e-05/0.363, allocations: 0 / 0.5064 GB, free: 24.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001851/0.3632, allocations: 17.84 kB / 0.5064 GB, free: 24.06 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.965e-05/0.3633, allocations: 16.75 kB / 0.5064 GB, free: 24.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.431e-05/0.3633, allocations: 13.59 kB / 0.5064 GB, free: 24.05 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005298/0.3638, allocations: 0.635 MB / 0.5071 GB, free: 23.84 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3638, allocations: 0 / 0.5071 GB, free: 23.84 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003422/0.3642, allocations: 53.5 kB / 0.5071 GB, free: 23.83 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 (16): * Single equations (assignments): 16 * 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.001536/0.3657, allocations: 444.8 kB / 0.5075 GB, free: 23.62 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003831/0.3661, allocations: 162.6 kB / 0.5077 GB, free: 23.58 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3661, allocations: 0 / 0.5077 GB, free: 23.58 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001692/0.3663, allocations: 85.73 kB / 0.5078 GB, free: 23.56 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005459/0.3668, allocations: 77.31 kB / 0.5079 GB, free: 23.53 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/0.3678, allocations: 0.9564 MB / 0.5088 GB, free: 23.06 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002041/0.368, allocations: 277.5 kB / 0.5091 GB, free: 22.96 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001557/0.3682, allocations: 90.2 kB / 0.5091 GB, free: 22.94 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.215e-05/0.3683, allocations: 39.62 kB / 0.5092 GB, free: 22.93 MB / 446.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3683, allocations: 0 / 0.5092 GB, free: 22.93 MB / 446.1 MB Notification: Performance of Templates: time 0.008881/0.3772, allocations: 4.141 MB / 0.5132 GB, free: 22.36 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.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.046781731070951]