Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001613/0.001613, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001852/0.001852, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.495/1.495, allocations: 230.6 MB / 258.3 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2406/0.2406, allocations: 46.94 MB / 361.6 MB, free: 4.254 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002186/0.002186, allocations: 67.91 kB / 0.4974 GB, free: 7.379 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.439/0.4412, allocations: 66.03 MB / 0.5619 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.003533/0.4447, allocations: 1.671 MB / 0.5635 GB, free: 2.715 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001142/0.4459, allocations: 0.5698 MB / 0.5641 GB, free: 2.141 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.63e-05/0.4459, allocations: 4 kB / 0.5641 GB, free: 2.137 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006568/0.4466, allocations: 447.2 kB / 0.5645 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005084/0.4471, allocations: 299.3 kB / 0.5648 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003786/0.4475, allocations: 142.9 kB / 0.5649 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002719/0.4477, allocations: 175.6 kB / 0.5651 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.4478, allocations: 11.98 kB / 0.5651 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001462/0.448, allocations: 115.7 kB / 0.5652 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003049/0.4483, allocations: 251.5 kB / 0.5655 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.81e-05/0.4483, allocations: 4 kB / 0.5655 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.708e-05/0.4484, allocations: 32 kB / 0.5655 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001322/0.4485, allocations: 87.69 kB / 0.5656 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001037/0.4486, allocations: 103 kB / 0.5657 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003696/0.449, allocations: 273 kB / 0.5659 GB, free: 248 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.449, allocations: 0 / 0.5659 GB, free: 248 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.449, allocations: 0 / 0.5659 GB, free: 248 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.174e-06/0.449, allocations: 0 / 0.5659 GB, free: 248 kB / 398.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.0008615/0.4499, allocations: 0.5854 MB / 0.5665 GB, free: 15.62 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.4499, allocations: 8.031 kB / 0.5665 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.974e-05/0.45, allocations: 56.59 kB / 0.5666 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003027/0.4503, allocations: 242.8 kB / 0.5668 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.915e-06/0.4503, allocations: 384 / 0.5668 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.719e-05/0.4504, allocations: 384 / 0.5668 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001848/0.4505, allocations: 69.72 kB / 0.5669 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.4506, allocations: 0 / 0.5669 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.4506, allocations: 7.984 kB / 0.5669 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.4506, allocations: 0 / 0.5669 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001389/0.4507, allocations: 35.97 kB / 0.5669 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005203/0.4512, allocations: 359.8 kB / 0.5673 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001381/0.4514, allocations: 38.5 kB / 0.5673 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.099e-05/0.4514, allocations: 24.94 kB / 0.5673 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.531e-05/0.4515, allocations: 3.984 kB / 0.5673 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.484e-05/0.4515, allocations: 42.56 kB / 0.5674 GB, free: 14.66 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.4515, allocations: 0 / 0.5674 GB, free: 14.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008586/0.4524, allocations: 296.6 kB / 0.5676 GB, free: 14.36 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.55e-05/0.4524, allocations: 51.41 kB / 0.5677 GB, free: 14.3 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009248/0.4533, allocations: 0.8652 MB / 0.5685 GB, free: 13.42 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/0.4534, allocations: 25.7 kB / 0.5686 GB, free: 13.39 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001922/0.4535, allocations: 212.1 kB / 0.5688 GB, free: 13.18 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.411e-05/0.4536, allocations: 27.73 kB / 0.5688 GB, free: 13.15 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.557e-05/0.4536, allocations: 17.72 kB / 0.5688 GB, free: 13.13 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001981/0.4538, allocations: 370.7 kB / 0.5692 GB, free: 12.76 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001079/0.4539, allocations: 27.97 kB / 0.5692 GB, free: 12.73 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.906e-05/0.454, allocations: 35.98 kB / 0.5692 GB, free: 12.7 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002114/0.4542, allocations: 72.8 kB / 0.5693 GB, free: 12.62 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.4542, allocations: 0 / 0.5693 GB, free: 12.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003042/0.4546, allocations: 161.2 kB / 0.5694 GB, free: 12.46 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.4546, allocations: 4 kB / 0.5695 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.4546, allocations: 3.938 kB / 0.5695 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.4546, allocations: 0 / 0.5695 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.4547, allocations: 19.98 kB / 0.5695 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.4547, allocations: 320 / 0.5695 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.395e-05/0.4548, allocations: 15.92 kB / 0.5695 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.812e-06/0.4548, allocations: 0 / 0.5695 GB, free: 12.41 MB / 414.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.0002251/0.455, allocations: 217.8 kB / 0.5697 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.032e-05/0.4551, allocations: 43.72 kB / 0.5697 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003971/0.4555, allocations: 173.3 kB / 0.5699 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.4555, allocations: 3.984 kB / 0.5699 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.4555, allocations: 0 / 0.5699 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.4555, allocations: 3.938 kB / 0.5699 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006799/0.4562, allocations: 473.5 kB / 0.5704 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.4562, allocations: 0 / 0.5704 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.347e-05/0.4563, allocations: 19.97 kB / 0.5704 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.4563, allocations: 0 / 0.5704 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.4563, allocations: 11.94 kB / 0.5704 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.4563, allocations: 0 / 0.5704 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.4563, allocations: 0 / 0.5704 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003492/0.4567, allocations: 243.2 kB / 0.5706 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.444e-05/0.4567, allocations: 35.72 kB / 0.5707 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.746e-05/0.4567, allocations: 3.938 kB / 0.5707 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.802e-05/0.4568, allocations: 11.98 kB / 0.5707 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.913e-05/0.4569, allocations: 7.922 kB / 0.5707 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/0.4569, allocations: 8 kB / 0.5707 GB, free: 11.09 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000663/0.4575, allocations: 0.6511 MB / 0.5713 GB, free: 10.45 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4575, allocations: 0 / 0.5713 GB, free: 10.45 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002627/0.4578, allocations: 27.98 kB / 0.5714 GB, free: 10.42 MB / 414.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.4594, allocations: 414.1 kB / 0.5718 GB, free: 10.17 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00031/0.4597, allocations: 79.92 kB / 0.5718 GB, free: 10.09 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.4597, allocations: 0 / 0.5718 GB, free: 10.09 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001149/0.4598, allocations: 39.91 kB / 0.5719 GB, free: 10.05 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004088/0.4602, allocations: 25.95 kB / 0.5719 GB, free: 10.02 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001332/0.4615, allocations: 0.8589 MB / 0.5727 GB, free: 9.133 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005136/0.462, allocations: 0.8298 MB / 0.5735 GB, free: 8.277 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.342e-05/0.4621, allocations: 15.44 kB / 0.5736 GB, free: 8.266 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.4621, allocations: 0 / 0.5736 GB, free: 8.266 MB / 414.1 MB Notification: Performance of Templates: time 0.007732/0.4698, allocations: 3.832 MB / 0.5773 GB, free: 4.43 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 7.859725508838892]