Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test31.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00791/0.00791, allocations: 109 kB / 21.98 MB, free: 5.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001977/0.001977, allocations: 220.3 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.429/1.429, allocations: 230.5 MB / 258.9 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2343/0.2343, allocations: 46.93 MB / 362.3 MB, free: 4.219 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test31,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-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test31,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-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test31") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002338/0.002338, allocations: 79.86 kB / 0.4982 GB, free: 7.258 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3227, allocations: 66.07 MB / 0.5628 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test31): time 0.003159/0.3258, allocations: 1.687 MB / 0.5644 GB, free: 2.559 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001945/0.3278, allocations: 1.267 MB / 0.5656 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.688e-05/0.3278, allocations: 0 / 0.5656 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002242/0.328, allocations: 23.78 kB / 0.5657 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003221/0.3284, allocations: 83.62 kB / 0.5657 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003963/0.3288, allocations: 143.1 kB / 0.5659 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000163/0.3289, allocations: 79.7 kB / 0.5659 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.622e-05/0.329, allocations: 11.98 kB / 0.566 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.718e-05/0.3291, allocations: 31.86 kB / 0.566 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001651/0.3293, allocations: 39.83 kB / 0.566 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.556e-05/0.3293, allocations: 4 kB / 0.566 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00021/0.3295, allocations: 99.88 kB / 0.5661 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.633e-05/0.3295, allocations: 19.92 kB / 0.5661 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.077e-05/0.3296, allocations: 27.86 kB / 0.5662 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002847/0.3299, allocations: 153.8 kB / 0.5663 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3299, allocations: 0 / 0.5663 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.3299, allocations: 0 / 0.5663 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.76e-06/0.3299, allocations: 0 / 0.5663 GB, free: 0.5938 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.0005781/0.3305, allocations: 337.7 kB / 0.5666 GB, free: 236 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.3305, allocations: 8.031 kB / 0.5666 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.603e-05/0.3305, allocations: 8.891 kB / 0.5667 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002195/0.3308, allocations: 141.9 kB / 0.5668 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.3308, allocations: 8.375 kB / 0.5668 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.779e-05/0.3308, allocations: 8.312 kB / 0.5668 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002228/0.331, allocations: 71.95 kB / 0.5669 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.331, allocations: 192 / 0.5669 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.331, allocations: 3.938 kB / 0.5669 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.3311, allocations: 0 / 0.5669 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001483/0.3312, allocations: 35.97 kB / 0.5669 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004089/0.3316, allocations: 267.8 kB / 0.5672 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001349/0.3317, allocations: 42.55 kB / 0.5672 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.228e-05/0.3318, allocations: 24.94 kB / 0.5672 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.233e-05/0.3318, allocations: 0 / 0.5672 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/0.3319, allocations: 34.56 kB / 0.5673 GB, free: 15.49 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.3319, allocations: 0 / 0.5673 GB, free: 15.49 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008477/0.3327, allocations: 213.4 kB / 0.5675 GB, free: 15.28 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.322e-05/0.3328, allocations: 85.09 kB / 0.5676 GB, free: 15.18 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001684/0.333, allocations: 144.3 kB / 0.5677 GB, free: 15.03 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.92e-05/0.333, allocations: 25.7 kB / 0.5677 GB, free: 15 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.164e-05/0.3331, allocations: 92.14 kB / 0.5678 GB, free: 14.9 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.216e-05/0.3331, allocations: 31.73 kB / 0.5678 GB, free: 14.87 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.442e-05/0.3331, allocations: 17.72 kB / 0.5679 GB, free: 14.85 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.3333, allocations: 326.8 kB / 0.5682 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001128/0.3334, allocations: 31.97 kB / 0.5682 GB, free: 14.49 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001168/0.3335, allocations: 53.62 kB / 0.5682 GB, free: 14.43 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001975/0.3337, allocations: 68.81 kB / 0.5683 GB, free: 14.36 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.3337, allocations: 0 / 0.5683 GB, free: 14.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002842/0.334, allocations: 121.8 kB / 0.5684 GB, free: 14.23 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.334, allocations: 11.92 kB / 0.5684 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.334, allocations: 80 / 0.5684 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.3341, allocations: 0 / 0.5684 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.3342, allocations: 23.92 kB / 0.5685 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.3342, allocations: 3.984 kB / 0.5685 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.478e-05/0.3342, allocations: 11.98 kB / 0.5685 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.782e-06/0.3343, allocations: 0 / 0.5685 GB, free: 14.18 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.0001165/0.3344, allocations: 125.8 kB / 0.5686 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.664e-05/0.3344, allocations: 7.953 kB / 0.5686 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000337/0.3347, allocations: 118.3 kB / 0.5687 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.3347, allocations: 0 / 0.5687 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.3348, allocations: 0 / 0.5687 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.3348, allocations: 7.984 kB / 0.5687 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005853/0.3353, allocations: 377.5 kB / 0.5691 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3353, allocations: 0 / 0.5691 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.759e-05/0.3354, allocations: 19.98 kB / 0.5691 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.3354, allocations: 0 / 0.5691 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.3354, allocations: 288 / 0.5691 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.3354, allocations: 3.938 kB / 0.5691 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3354, allocations: 4 kB / 0.5691 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003274/0.3358, allocations: 207.4 kB / 0.5693 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.142e-05/0.3358, allocations: 15.92 kB / 0.5693 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.3358, allocations: 0 / 0.5693 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.637e-05/0.3359, allocations: 15.92 kB / 0.5693 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.68e-05/0.336, allocations: 8 kB / 0.5693 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/0.336, allocations: 0 / 0.5693 GB, free: 13.2 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001329/0.3361, allocations: 117.6 kB / 0.5695 GB, free: 13.09 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3361, allocations: 0 / 0.5695 GB, free: 13.09 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003145/0.3364, allocations: 47.8 kB / 0.5695 GB, free: 13.04 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.001757/0.3382, allocations: 486.6 kB / 0.57 GB, free: 12.72 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003178/0.3385, allocations: 79.88 kB / 0.57 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3385, allocations: 0 / 0.57 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001213/0.3386, allocations: 39.97 kB / 0.5701 GB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003563/0.339, allocations: 18.86 kB / 0.5701 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000551/0.3395, allocations: 227.5 kB / 0.5703 GB, free: 12.33 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003409/0.3399, allocations: 0.7001 MB / 0.571 GB, free: 11.61 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.302e-05/0.3399, allocations: 23.36 kB / 0.571 GB, free: 11.58 MB / 414.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3399, allocations: 0 / 0.571 GB, free: 11.58 MB / 414.1 MB Notification: Performance of Templates: time 0.004571/0.3445, allocations: 2.089 MB / 0.5731 GB, free: 9.5 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test31.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test31.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.835005111992359]