Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.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.00193/0.00193, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002213/0.002213, allocations: 218.2 kB / 23.73 MB, free: 4.164 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.562/1.562, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.2501/0.2501, allocations: 46.95 MB / 360.9 MB, free: 4.047 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.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002219/0.002219, allocations: 67.89 kB / 0.4966 GB, free: 7.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3288/0.331, allocations: 66.04 MB / 0.5611 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.003645/0.3347, allocations: 1.61 MB / 0.5627 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001164/0.3358, allocations: 0.5339 MB / 0.5632 GB, free: 2 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.823e-05/0.3359, allocations: 0 / 0.5632 GB, free: 2 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006628/0.3366, allocations: 455.1 kB / 0.5636 GB, free: 1.555 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005828/0.3371, allocations: 295.3 kB / 0.5639 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004821/0.3376, allocations: 171.2 kB / 0.5641 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000275/0.3379, allocations: 167.7 kB / 0.5642 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.338, allocations: 12 kB / 0.5642 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001699/0.3382, allocations: 115.7 kB / 0.5643 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003039/0.3385, allocations: 239.5 kB / 0.5646 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.191e-05/0.3385, allocations: 4 kB / 0.5646 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.344e-05/0.3386, allocations: 39.92 kB / 0.5646 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001183/0.3387, allocations: 75.69 kB / 0.5647 GB, free: 472 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.868e-05/0.3388, allocations: 71.23 kB / 0.5648 GB, free: 400 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003472/0.3392, allocations: 257 kB / 0.565 GB, free: 148 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.3392, allocations: 0 / 0.565 GB, free: 148 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3392, allocations: 0 / 0.565 GB, free: 148 kB / 398.1 MB Notification: Performance of Transformations before backend: time 9.708e-06/0.3392, allocations: 4 kB / 0.565 GB, free: 144 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0008274/0.34, allocations: 0.5699 MB / 0.5656 GB, free: 15.54 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.34, allocations: 8.031 kB / 0.5656 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.633e-05/0.3401, allocations: 40.66 kB / 0.5656 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003214/0.3404, allocations: 250.7 kB / 0.5658 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.3405, allocations: 4.375 kB / 0.5658 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/0.3405, allocations: 4.375 kB / 0.5659 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001624/0.3406, allocations: 50.8 kB / 0.5659 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.3406, allocations: 0 / 0.5659 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.3407, allocations: 0 / 0.5659 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/0.3407, allocations: 3.984 kB / 0.5659 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.71e-05/0.3408, allocations: 27.98 kB / 0.5659 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005377/0.3413, allocations: 336.3 kB / 0.5663 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001007/0.3414, allocations: 38.55 kB / 0.5663 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.691e-05/0.3414, allocations: 12.92 kB / 0.5663 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.183e-05/0.3415, allocations: 0 / 0.5663 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/0.3415, allocations: 34.55 kB / 0.5663 GB, free: 14.66 MB / 414.1 MB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.3415, allocations: 0 / 0.5663 GB, free: 14.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002933/0.3418, allocations: 109.3 kB / 0.5664 GB, free: 14.55 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.017e-05/0.3418, allocations: 51.41 kB / 0.5665 GB, free: 14.49 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009454/0.3428, allocations: 0.8575 MB / 0.5673 GB, free: 13.62 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.3428, allocations: 29.83 kB / 0.5674 GB, free: 13.58 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000188/0.343, allocations: 220 kB / 0.5676 GB, free: 13.36 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.838e-05/0.343, allocations: 3.953 kB / 0.5676 GB, free: 13.36 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.816e-05/0.3431, allocations: 17.72 kB / 0.5676 GB, free: 13.34 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001945/0.3432, allocations: 362.7 kB / 0.5679 GB, free: 12.97 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.451e-05/0.3433, allocations: 8 kB / 0.5679 GB, free: 12.96 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.051e-05/0.3433, allocations: 11.98 kB / 0.5679 GB, free: 12.95 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.53e-05/0.3434, allocations: 28.78 kB / 0.568 GB, free: 12.92 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3434, allocations: 0 / 0.568 GB, free: 12.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001672/0.3436, allocations: 101.4 kB / 0.5681 GB, free: 12.82 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.3436, allocations: 7.984 kB / 0.5681 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.3436, allocations: 0 / 0.5681 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.3436, allocations: 0 / 0.5681 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.045e-05/0.3437, allocations: 12 kB / 0.5681 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.3437, allocations: 3.938 kB / 0.5681 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.209e-05/0.3438, allocations: 0 / 0.5681 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.709e-06/0.3438, allocations: 4 kB / 0.5681 GB, free: 12.79 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 (2): * Single equations (assignments): 2 * 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.0002173/0.344, allocations: 217.7 kB / 0.5683 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.013e-05/0.344, allocations: 43.72 kB / 0.5683 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002362/0.3443, allocations: 112.7 kB / 0.5685 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.3443, allocations: 0 / 0.5685 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.3443, allocations: 0 / 0.5685 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.3443, allocations: 0 / 0.5685 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002899/0.3446, allocations: 237.1 kB / 0.5687 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3446, allocations: 0 / 0.5687 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.768e-05/0.3446, allocations: 4 kB / 0.5687 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.3446, allocations: 0 / 0.5687 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.3446, allocations: 8.031 kB / 0.5687 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/0.3446, allocations: 3.984 kB / 0.5687 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3446, allocations: 0 / 0.5687 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002314/0.3449, allocations: 191.2 kB / 0.5689 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.548e-05/0.3449, allocations: 31.72 kB / 0.5689 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.63e-05/0.345, allocations: 3.984 kB / 0.5689 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.54e-05/0.345, allocations: 4 kB / 0.5689 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.31e-05/0.345, allocations: 0 / 0.5689 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.345, allocations: 0 / 0.5689 GB, free: 11.88 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007018/0.3457, allocations: 0.6511 MB / 0.5696 GB, free: 11.23 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3457, allocations: 8.031 kB / 0.5696 GB, free: 11.23 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000262/0.346, allocations: 23.92 kB / 0.5696 GB, free: 11.2 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 (2): * Single equations (assignments): 2 * 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.001386/0.3474, allocations: 371.1 kB / 0.5699 GB, free: 10.99 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001584/0.3476, allocations: 31.97 kB / 0.57 GB, free: 10.96 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3476, allocations: 0 / 0.57 GB, free: 10.96 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.175e-05/0.3476, allocations: 8 kB / 0.57 GB, free: 10.95 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004064/0.348, allocations: 28.89 kB / 0.57 GB, free: 10.93 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.3492, allocations: 0.7946 MB / 0.5708 GB, free: 10.1 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002539/0.3495, allocations: 216.1 kB / 0.571 GB, free: 9.871 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.556e-05/0.3495, allocations: 19.98 kB / 0.571 GB, free: 9.852 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.419e-05/0.3496, allocations: 15.42 kB / 0.571 GB, free: 9.836 MB / 414.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3496, allocations: 0 / 0.571 GB, free: 9.836 MB / 414.1 MB Notification: Performance of Templates: time 0.005101/0.3547, allocations: 1.436 MB / 0.5724 GB, free: 8.41 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.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.2637245040386915]