Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001417/0.001417, allocations: 111.1 kB / 20.44 MB, free: 1.188 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.00172/0.00172, allocations: 205.1 kB / 23.72 MB, free: 4.406 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.536/1.536, 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.2701/0.2701, allocations: 46.95 MB / 360.9 MB, free: 4.059 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.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.1.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.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002237/0.002237, allocations: 79.81 kB / 0.4966 GB, free: 7.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3418/0.344, allocations: 66.03 MB / 0.5611 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.004041/0.348, allocations: 1.96 MB / 0.563 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002797/0.3508, allocations: 1.303 MB / 0.5643 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001885/0.351, allocations: 7.938 kB / 0.5643 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000294/0.3513, allocations: 59.5 kB / 0.5643 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006038/0.3519, allocations: 211.1 kB / 0.5645 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001526/0.3534, allocations: 0.6026 MB / 0.5651 GB, free: 48 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006067/0.3541, allocations: 335 kB / 0.5655 GB, free: 15.72 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001966/0.3542, allocations: 52.7 kB / 0.5655 GB, free: 15.67 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003557/0.3546, allocations: 143.4 kB / 0.5656 GB, free: 15.53 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003599/0.355, allocations: 215.2 kB / 0.5658 GB, free: 15.32 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.124e-05/0.355, allocations: 12 kB / 0.5659 GB, free: 15.3 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001612/0.3552, allocations: 59.98 kB / 0.5659 GB, free: 15.25 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001874/0.3554, allocations: 147.5 kB / 0.5661 GB, free: 15.1 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001484/0.3555, allocations: 126.9 kB / 0.5662 GB, free: 14.98 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006656/0.3562, allocations: 404.5 kB / 0.5666 GB, free: 14.59 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3562, allocations: 0 / 0.5666 GB, free: 14.59 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3562, allocations: 0 / 0.5666 GB, free: 14.59 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.619e-05/0.3562, allocations: 4 kB / 0.5666 GB, free: 14.58 MB / 414.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.00128/0.3575, allocations: 0.7252 MB / 0.5673 GB, free: 13.82 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.3575, allocations: 8.031 kB / 0.5673 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003382/0.3578, allocations: 76.48 kB / 0.5674 GB, free: 13.74 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007821/0.3586, allocations: 402.5 kB / 0.5677 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.3586, allocations: 4.375 kB / 0.5677 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.022e-05/0.3587, allocations: 16.12 kB / 0.5678 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003427/0.359, allocations: 156.8 kB / 0.5679 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.3591, allocations: 3.953 kB / 0.5679 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.768e-05/0.3591, allocations: 4 kB / 0.5679 GB, free: 13.13 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.3591, allocations: 7.984 kB / 0.5679 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002574/0.3593, allocations: 91.88 kB / 0.568 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001055/0.3604, allocations: 0.5939 MB / 0.5686 GB, free: 12.41 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002724/0.3607, allocations: 113.2 kB / 0.5687 GB, free: 12.28 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001134/0.3608, allocations: 45.83 kB / 0.5687 GB, free: 12.23 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.352e-05/0.3608, allocations: 3.984 kB / 0.5687 GB, free: 12.22 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.754e-05/0.3609, allocations: 38.5 kB / 0.5688 GB, free: 12.18 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.433e-06/0.3609, allocations: 0 / 0.5688 GB, free: 12.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.001595/0.3625, allocations: 0.558 MB / 0.5693 GB, free: 11.61 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.522e-05/0.3625, allocations: 81.11 kB / 0.5694 GB, free: 11.51 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001054/0.3636, allocations: 0.8741 MB / 0.5703 GB, free: 10.62 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.499e-05/0.3636, allocations: 29.7 kB / 0.5703 GB, free: 10.59 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002179/0.3638, allocations: 256.3 kB / 0.5705 GB, free: 10.33 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.869e-05/0.3639, allocations: 59.5 kB / 0.5706 GB, free: 10.27 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.705e-05/0.364, allocations: 33.7 kB / 0.5706 GB, free: 10.23 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001854/0.3641, allocations: 366.8 kB / 0.571 GB, free: 9.867 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001823/0.3643, allocations: 64.7 kB / 0.571 GB, free: 9.805 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001956/0.3645, allocations: 89.66 kB / 0.5711 GB, free: 9.711 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003673/0.3649, allocations: 161.7 kB / 0.5713 GB, free: 9.547 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.3649, allocations: 4.156 kB / 0.5713 GB, free: 9.543 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000513/0.3654, allocations: 237.2 kB / 0.5715 GB, free: 9.305 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.3654, allocations: 11.94 kB / 0.5715 GB, free: 9.293 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.3654, allocations: 4 kB / 0.5715 GB, free: 9.289 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/0.3654, allocations: 7.984 kB / 0.5715 GB, free: 9.281 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002228/0.3657, allocations: 39.91 kB / 0.5716 GB, free: 9.242 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.3657, allocations: 0 / 0.5716 GB, free: 9.242 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001299/0.3658, allocations: 15.94 kB / 0.5716 GB, free: 9.227 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.037e-05/0.3658, allocations: 7.984 kB / 0.5716 GB, free: 9.219 MB / 414.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.0002479/0.3661, allocations: 213.7 kB / 0.5718 GB, free: 9 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001106/0.3662, allocations: 59.58 kB / 0.5718 GB, free: 8.941 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006511/0.3668, allocations: 290.3 kB / 0.5721 GB, free: 8.648 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.3668, allocations: 4 kB / 0.5721 GB, free: 8.645 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.3668, allocations: 0 / 0.5721 GB, free: 8.645 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.3668, allocations: 0 / 0.5721 GB, free: 8.645 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001196/0.368, allocations: 0.7197 MB / 0.5728 GB, free: 7.887 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.368, allocations: 0 / 0.5728 GB, free: 7.887 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001692/0.3682, allocations: 35.97 kB / 0.5729 GB, free: 7.852 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.3682, allocations: 0 / 0.5729 GB, free: 7.852 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.629e-05/0.3682, allocations: 8 kB / 0.5729 GB, free: 7.844 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3682, allocations: 3.938 kB / 0.5729 GB, free: 7.84 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.3682, allocations: 0 / 0.5729 GB, free: 7.84 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005533/0.3688, allocations: 430.2 kB / 0.5733 GB, free: 7.402 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001345/0.3689, allocations: 59.66 kB / 0.5733 GB, free: 7.344 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.514e-05/0.369, allocations: 0 / 0.5733 GB, free: 7.344 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001867/0.3692, allocations: 19.98 kB / 0.5734 GB, free: 7.324 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.156e-05/0.3692, allocations: 15.91 kB / 0.5734 GB, free: 7.309 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.3693, allocations: 4 kB / 0.5734 GB, free: 7.305 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007266/0.37, allocations: 0.6394 MB / 0.574 GB, free: 6.668 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.37, allocations: 0 / 0.574 GB, free: 6.668 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000356/0.3703, allocations: 59.92 kB / 0.5741 GB, free: 6.609 MB / 414.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.001603/0.3719, allocations: 442.6 kB / 0.5745 GB, free: 6.355 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004568/0.3724, allocations: 159.2 kB / 0.5746 GB, free: 6.203 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3724, allocations: 0 / 0.5746 GB, free: 6.203 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002134/0.3726, allocations: 87.88 kB / 0.5747 GB, free: 6.117 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005716/0.3732, allocations: 75.17 kB / 0.5748 GB, free: 6.047 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001517/0.3747, allocations: 0.9501 MB / 0.5757 GB, free: 5.062 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000316/0.375, allocations: 282.3 kB / 0.576 GB, free: 4.77 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001939/0.3752, allocations: 82.91 kB / 0.5761 GB, free: 4.688 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001031/0.3753, allocations: 39.42 kB / 0.5761 GB, free: 4.652 MB / 414.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3753, allocations: 0 / 0.5761 GB, free: 4.652 MB / 414.1 MB Notification: Performance of Templates: time 0.01085/0.3862, allocations: 4.554 MB / 0.5805 GB, free: 128 kB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.445608275942504]