Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.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.002059/0.002059, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.002363/0.002363, allocations: 213.2 kB / 24.48 MB, free: 3.84 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.447/1.447, allocations: 230.6 MB / 258.2 MB, free: 7.812 MB / 206.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.2304/0.2304, allocations: 44.94 MB / 359.6 MB, free: 6.066 MB / 286.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12") [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.00217/0.00217, allocations: 75.88 kB / 0.4943 GB, free: 10.04 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/0.332, allocations: 65.48 MB / 0.5582 GB, free: 7.508 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.003303/0.3353, allocations: 1.644 MB / 0.5598 GB, free: 5.852 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002076/0.3373, allocations: 1.263 MB / 0.5611 GB, free: 4.582 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.293e-05/0.3374, allocations: 0 / 0.5611 GB, free: 4.582 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002477/0.3376, allocations: 35.77 kB / 0.5611 GB, free: 4.547 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000345/0.338, allocations: 87.61 kB / 0.5612 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004675/0.3385, allocations: 179 kB / 0.5613 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001846/0.3386, allocations: 79.77 kB / 0.5614 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.3388, allocations: 11.97 kB / 0.5614 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.425e-05/0.3388, allocations: 31.86 kB / 0.5615 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001222/0.3389, allocations: 39.77 kB / 0.5615 GB, free: 4.129 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2e-05/0.339, allocations: 8 kB / 0.5615 GB, free: 4.121 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001738/0.3391, allocations: 83.97 kB / 0.5616 GB, free: 4.039 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.411e-05/0.3392, allocations: 27.91 kB / 0.5616 GB, free: 4.012 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.967e-05/0.3392, allocations: 19.86 kB / 0.5616 GB, free: 3.992 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002843/0.3395, allocations: 157.8 kB / 0.5618 GB, free: 3.844 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.3395, allocations: 4 kB / 0.5618 GB, free: 3.84 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3395, allocations: 0 / 0.5618 GB, free: 3.84 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.3395, allocations: 0 / 0.5618 GB, free: 3.84 MB / 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.000534/0.3401, allocations: 333.7 kB / 0.5621 GB, free: 3.484 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.3401, allocations: 8.031 kB / 0.5621 GB, free: 3.477 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.387e-05/0.3402, allocations: 12.89 kB / 0.5621 GB, free: 3.465 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002087/0.3404, allocations: 146.3 kB / 0.5623 GB, free: 3.297 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.568e-06/0.3404, allocations: 384 / 0.5623 GB, free: 3.297 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.528e-05/0.3404, allocations: 4.375 kB / 0.5623 GB, free: 3.293 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002158/0.3406, allocations: 109.2 kB / 0.5624 GB, free: 3.168 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.3406, allocations: 0 / 0.5624 GB, free: 3.168 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.3406, allocations: 4 kB / 0.5624 GB, free: 3.164 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.3406, allocations: 0 / 0.5624 GB, free: 3.164 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001464/0.3408, allocations: 35.97 kB / 0.5624 GB, free: 3.129 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004242/0.3412, allocations: 256.4 kB / 0.5627 GB, free: 2.848 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001426/0.3414, allocations: 42.66 kB / 0.5627 GB, free: 2.797 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.634e-05/0.3414, allocations: 28.83 kB / 0.5627 GB, free: 2.766 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.429e-05/0.3415, allocations: 4 kB / 0.5627 GB, free: 2.762 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/0.3415, allocations: 30.56 kB / 0.5628 GB, free: 2.723 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.143e-06/0.3415, allocations: 3.938 kB / 0.5628 GB, free: 2.719 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008321/0.3423, allocations: 233.5 kB / 0.563 GB, free: 2.484 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.13e-05/0.3424, allocations: 85.09 kB / 0.5631 GB, free: 2.383 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000162/0.3425, allocations: 148.1 kB / 0.5632 GB, free: 2.23 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.3426, allocations: 25.7 kB / 0.5632 GB, free: 2.199 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.589e-05/0.3426, allocations: 100.1 kB / 0.5633 GB, free: 2.098 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.38e-05/0.3427, allocations: 27.86 kB / 0.5633 GB, free: 2.07 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.28e-05/0.3427, allocations: 21.72 kB / 0.5634 GB, free: 2.043 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.3428, allocations: 326.8 kB / 0.5637 GB, free: 1.715 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001245/0.343, allocations: 39.91 kB / 0.5637 GB, free: 1.676 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001581/0.3431, allocations: 79.38 kB / 0.5638 GB, free: 1.586 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002405/0.3434, allocations: 84.8 kB / 0.5639 GB, free: 1.5 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.3434, allocations: 4.031 kB / 0.5639 GB, free: 1.496 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003116/0.3437, allocations: 125.7 kB / 0.564 GB, free: 1.367 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.3437, allocations: 4 kB / 0.564 GB, free: 1.363 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.3437, allocations: 3.984 kB / 0.564 GB, free: 1.359 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.3437, allocations: 0 / 0.564 GB, free: 1.359 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.3438, allocations: 23.92 kB / 0.564 GB, free: 1.336 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.85e-06/0.3438, allocations: 0 / 0.564 GB, free: 1.336 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.22e-05/0.3439, allocations: 15.98 kB / 0.564 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.3439, allocations: 3.938 kB / 0.564 GB, free: 1.316 MB / 398.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.0001052/0.344, allocations: 125.8 kB / 0.5642 GB, free: 1.184 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.707e-05/0.3441, allocations: 7.953 kB / 0.5642 GB, free: 1.176 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003739/0.3444, allocations: 142.2 kB / 0.5643 GB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.3444, allocations: 0 / 0.5643 GB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.3445, allocations: 0 / 0.5643 GB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.3445, allocations: 11.94 kB / 0.5643 GB, free: 1.012 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005542/0.345, allocations: 346.5 kB / 0.5647 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.345, allocations: 0 / 0.5647 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.221e-05/0.3451, allocations: 19.98 kB / 0.5647 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3451, allocations: 0 / 0.5647 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.3451, allocations: 4 kB / 0.5647 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.3451, allocations: 0 / 0.5647 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.3451, allocations: 7.938 kB / 0.5647 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000355/0.3455, allocations: 231.4 kB / 0.5649 GB, free: 372 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.94e-05/0.3455, allocations: 11.94 kB / 0.5649 GB, free: 360 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.363e-05/0.3455, allocations: 4 kB / 0.5649 GB, free: 356 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.66e-05/0.3456, allocations: 7.984 kB / 0.5649 GB, free: 348 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.397e-05/0.3457, allocations: 7.938 kB / 0.5649 GB, free: 340 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-06/0.3457, allocations: 0 / 0.5649 GB, free: 340 kB / 398.1 MB Notification: Performance of sorting global known variables: time 9.954e-05/0.3458, allocations: 115.2 kB / 0.565 GB, free: 224 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3458, allocations: 4 kB / 0.565 GB, free: 220 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.000294/0.3461, allocations: 47.8 kB / 0.5651 GB, free: 172 kB / 398.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.001919/0.348, allocations: 0.514 MB / 0.5656 GB, free: 15.87 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003298/0.3483, allocations: 95.84 kB / 0.5657 GB, free: 15.77 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3483, allocations: 0 / 0.5657 GB, free: 15.77 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001419/0.3485, allocations: 47.95 kB / 0.5657 GB, free: 15.73 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003455/0.3488, allocations: 19.25 kB / 0.5658 GB, free: 15.71 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005417/0.3493, allocations: 243.8 kB / 0.566 GB, free: 15.44 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.349e-05/0.3494, allocations: 79.31 kB / 0.5661 GB, free: 15.34 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.281e-05/0.3495, allocations: 23.36 kB / 0.5661 GB, free: 15.32 MB / 414.1 MB Notification: Performance of SimCode: time 4.4e-07/0.3495, allocations: 4 kB / 0.5661 GB, free: 15.32 MB / 414.1 MB Notification: Performance of Templates: time 0.004388/0.3539, allocations: 2.211 MB / 0.5682 GB, free: 13.11 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.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.980395021848381]