Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.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.001294/0.001294, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001406/0.001406, allocations: 206.6 kB / 24.47 MB, free: 3.977 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.472/1.472, allocations: 230.6 MB / 258.2 MB, free: 7.801 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.2491/0.2491, allocations: 46.97 MB / 361.6 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.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001992/0.001992, allocations: 71.89 kB / 0.4973 GB, free: 7.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3308/0.3328, allocations: 66.02 MB / 0.5618 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.003317/0.3361, allocations: 1.612 MB / 0.5634 GB, free: 2.566 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001907/0.338, allocations: 1.228 MB / 0.5646 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.588e-05/0.3381, allocations: 0 / 0.5646 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002078/0.3383, allocations: 23.84 kB / 0.5646 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003246/0.3386, allocations: 83.62 kB / 0.5647 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002778/0.3389, allocations: 107.2 kB / 0.5648 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001595/0.3391, allocations: 63.78 kB / 0.5649 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.3392, allocations: 15.97 kB / 0.5649 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.781e-05/0.3393, allocations: 23.92 kB / 0.5649 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001403/0.3394, allocations: 31.84 kB / 0.5649 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.024e-05/0.3394, allocations: 4 kB / 0.5649 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001736/0.3396, allocations: 91.89 kB / 0.565 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.588e-05/0.3396, allocations: 15.92 kB / 0.565 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.226e-05/0.3397, allocations: 19.86 kB / 0.5651 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002864/0.34, allocations: 145.9 kB / 0.5652 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.34, allocations: 0 / 0.5652 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.34, allocations: 0 / 0.5652 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.34, allocations: 0 / 0.5652 GB, free: 0.7266 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006087/0.3406, allocations: 333.6 kB / 0.5655 GB, free: 380 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.3406, allocations: 8.031 kB / 0.5655 GB, free: 372 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.228e-05/0.3407, allocations: 8.891 kB / 0.5655 GB, free: 364 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002389/0.3409, allocations: 130.4 kB / 0.5656 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.3409, allocations: 4.375 kB / 0.5657 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.466e-05/0.341, allocations: 384 / 0.5657 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002053/0.3412, allocations: 101.2 kB / 0.5657 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.3412, allocations: 0 / 0.5657 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.3412, allocations: 4 kB / 0.5658 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.3412, allocations: 0 / 0.5658 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.326e-05/0.3413, allocations: 19.98 kB / 0.5658 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003813/0.3417, allocations: 228.5 kB / 0.566 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002318/0.3419, allocations: 42.5 kB / 0.566 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.578e-05/0.342, allocations: 12.86 kB / 0.566 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.075e-05/0.342, allocations: 4 kB / 0.566 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/0.342, allocations: 34.56 kB / 0.5661 GB, free: 15.69 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.342, allocations: 3.938 kB / 0.5661 GB, free: 15.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006015/0.3426, allocations: 141.5 kB / 0.5662 GB, free: 15.54 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.132e-05/0.3427, allocations: 77.11 kB / 0.5663 GB, free: 15.45 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001839/0.3429, allocations: 144.5 kB / 0.5664 GB, free: 15.3 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.3429, allocations: 25.7 kB / 0.5665 GB, free: 15.27 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.639e-05/0.343, allocations: 100.1 kB / 0.5665 GB, free: 15.17 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.976e-05/0.343, allocations: 27.8 kB / 0.5666 GB, free: 15.14 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.015e-05/0.343, allocations: 17.72 kB / 0.5666 GB, free: 15.12 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001723/0.3432, allocations: 322.8 kB / 0.5669 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.819e-05/0.3433, allocations: 15.98 kB / 0.5669 GB, free: 14.78 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001021/0.3434, allocations: 59.41 kB / 0.567 GB, free: 14.71 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001301/0.3435, allocations: 48.77 kB / 0.567 GB, free: 14.66 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.3435, allocations: 4.188 kB / 0.567 GB, free: 14.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001931/0.3437, allocations: 81.66 kB / 0.5671 GB, free: 14.57 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.3437, allocations: 11.98 kB / 0.5671 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.3437, allocations: 0 / 0.5671 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.3437, allocations: 0 / 0.5671 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.348e-05/0.3438, allocations: 8 kB / 0.5671 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.81e-06/0.3438, allocations: 0 / 0.5671 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.151e-05/0.3438, allocations: 11.98 kB / 0.5671 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.3439, allocations: 4 kB / 0.5671 GB, free: 14.53 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 (5): * Single equations (assignments): 5 * 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.000112/0.344, allocations: 117.8 kB / 0.5672 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.791e-05/0.344, allocations: 12.23 kB / 0.5673 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002477/0.3443, allocations: 86 kB / 0.5673 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.3443, allocations: 7.984 kB / 0.5673 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.3443, allocations: 3.984 kB / 0.5674 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.3443, allocations: 0 / 0.5674 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004449/0.3447, allocations: 294.1 kB / 0.5676 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.3447, allocations: 0 / 0.5676 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.718e-05/0.3448, allocations: 15.98 kB / 0.5676 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.3448, allocations: 4 kB / 0.5677 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.3448, allocations: 4 kB / 0.5677 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3448, allocations: 0 / 0.5677 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3448, allocations: 0 / 0.5677 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002421/0.345, allocations: 179.7 kB / 0.5678 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.642e-05/0.345, allocations: 7.953 kB / 0.5678 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.002e-05/0.3451, allocations: 4 kB / 0.5678 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.337e-05/0.3451, allocations: 4 kB / 0.5678 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.743e-05/0.3452, allocations: 11.92 kB / 0.5679 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.3452, allocations: 8 kB / 0.5679 GB, free: 13.71 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001003/0.3453, allocations: 117.5 kB / 0.568 GB, free: 13.59 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3453, allocations: 7.938 kB / 0.568 GB, free: 13.59 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002762/0.3456, allocations: 35.81 kB / 0.568 GB, free: 13.55 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 (5): * Single equations (assignments): 5 * 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.001851/0.3474, allocations: 0.5108 MB / 0.5685 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002085/0.3476, allocations: 43.97 kB / 0.5686 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3476, allocations: 0 / 0.5686 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.846e-05/0.3477, allocations: 31.86 kB / 0.5686 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003838/0.3481, allocations: 19.98 kB / 0.5686 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004713/0.3486, allocations: 169.5 kB / 0.5688 GB, free: 12.96 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.661e-05/0.3486, allocations: 79.02 kB / 0.5688 GB, free: 12.87 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.745e-05/0.3487, allocations: 15.72 kB / 0.5689 GB, free: 12.85 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.392e-05/0.3487, allocations: 23.42 kB / 0.5689 GB, free: 12.83 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3487, allocations: 0 / 0.5689 GB, free: 12.83 MB / 414.1 MB Notification: Performance of Templates: time 0.004871/0.3536, allocations: 1.836 MB / 0.5707 GB, free: 11.03 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.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.046872375998646]