Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test21.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.00159/0.00159, allocations: 112.4 kB / 21.17 MB, free: 0.6172 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.001571/0.001571, allocations: 204.6 kB / 24.47 MB, free: 4.023 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.499/1.499, allocations: 230.2 MB / 257.8 MB, free: 8.531 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.2383/0.2383, allocations: 46.88 MB / 361.1 MB, free: 4.668 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-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.CombiTable1Dv.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-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable1Dv.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-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test21") [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.002403/0.002403, allocations: 71.88 kB / 0.4968 GB, free: 8.387 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3798/0.3822, allocations: 65.97 MB / 0.5612 GB, free: 34.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.003978/0.3862, allocations: 1.618 MB / 0.5628 GB, free: 33.48 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002117/0.3883, allocations: 1.264 MB / 0.564 GB, free: 32.61 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.134e-05/0.3884, allocations: 2.219 kB / 0.564 GB, free: 32.61 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002425/0.3886, allocations: 29.7 kB / 0.564 GB, free: 32.59 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003394/0.389, allocations: 86.22 kB / 0.5641 GB, free: 32.54 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004007/0.3894, allocations: 105.8 kB / 0.5642 GB, free: 32.48 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001677/0.3896, allocations: 72.08 kB / 0.5643 GB, free: 32.45 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.3897, allocations: 13.31 kB / 0.5643 GB, free: 32.45 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.497e-05/0.3897, allocations: 28.14 kB / 0.5643 GB, free: 32.44 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001693/0.3899, allocations: 25.09 kB / 0.5644 GB, free: 32.43 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.3899, allocations: 3.75 kB / 0.5644 GB, free: 32.43 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002018/0.3901, allocations: 105.7 kB / 0.5645 GB, free: 32.39 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.996e-05/0.3902, allocations: 18.95 kB / 0.5645 GB, free: 32.38 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.025e-05/0.3902, allocations: 24.33 kB / 0.5645 GB, free: 32.36 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002695/0.3905, allocations: 142.5 kB / 0.5646 GB, free: 32.3 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.3905, allocations: 2.781 kB / 0.5646 GB, free: 32.3 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.3905, allocations: 0 / 0.5646 GB, free: 32.3 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.3905, allocations: 0.7812 kB / 0.5646 GB, free: 32.3 MB / 446.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.0005059/0.391, allocations: 407 kB / 0.565 GB, free: 31.89 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.391, allocations: 7.875 kB / 0.565 GB, free: 31.89 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.237e-05/0.3911, allocations: 10.27 kB / 0.5651 GB, free: 31.89 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000202/0.3913, allocations: 195 kB / 0.5652 GB, free: 31.67 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.3913, allocations: 0.9375 kB / 0.5652 GB, free: 31.67 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.788e-05/0.3913, allocations: 5.938 kB / 0.5652 GB, free: 31.67 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001634/0.3915, allocations: 64.02 kB / 0.5653 GB, free: 31.62 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.3915, allocations: 192 / 0.5653 GB, free: 31.62 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.3915, allocations: 6.531 kB / 0.5653 GB, free: 31.61 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.3915, allocations: 0 / 0.5653 GB, free: 31.61 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001192/0.3916, allocations: 29.66 kB / 0.5653 GB, free: 31.61 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003547/0.392, allocations: 286.6 kB / 0.5656 GB, free: 31.32 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002297/0.3922, allocations: 43.03 kB / 0.5657 GB, free: 31.29 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.523e-05/0.3923, allocations: 15.92 kB / 0.5657 GB, free: 31.28 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.367e-05/0.3923, allocations: 2.812 kB / 0.5657 GB, free: 31.28 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.574e-05/0.3923, allocations: 38.5 kB / 0.5657 GB, free: 31.23 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.483e-06/0.3923, allocations: 0.8438 kB / 0.5657 GB, free: 31.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007974/0.3931, allocations: 146.2 kB / 0.5659 GB, free: 31.18 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/0.3932, allocations: 85.05 kB / 0.5659 GB, free: 31.07 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001587/0.3933, allocations: 145 kB / 0.5661 GB, free: 30.96 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.3933, allocations: 25.7 kB / 0.5661 GB, free: 30.93 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.586e-05/0.3934, allocations: 102.1 kB / 0.5662 GB, free: 30.84 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.358e-05/0.3934, allocations: 14.62 kB / 0.5662 GB, free: 30.82 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.961e-05/0.3935, allocations: 20 kB / 0.5662 GB, free: 30.8 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.31e-05/0.3935, allocations: 322.2 kB / 0.5665 GB, free: 30.48 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.774e-05/0.3936, allocations: 19.73 kB / 0.5666 GB, free: 30.48 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000106/0.3937, allocations: 43.53 kB / 0.5666 GB, free: 30.46 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001727/0.3939, allocations: 54.94 kB / 0.5666 GB, free: 30.44 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.3939, allocations: 0 / 0.5666 GB, free: 30.44 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002603/0.3942, allocations: 89.7 kB / 0.5667 GB, free: 30.39 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.3942, allocations: 5.781 kB / 0.5667 GB, free: 30.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.3942, allocations: 0 / 0.5667 GB, free: 30.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.3942, allocations: 288 / 0.5667 GB, free: 30.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.204e-05/0.3943, allocations: 14.14 kB / 0.5668 GB, free: 30.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.377e-06/0.3943, allocations: 6.875 kB / 0.5668 GB, free: 30.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.66e-05/0.3944, allocations: 2.688 kB / 0.5668 GB, free: 30.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.3944, allocations: 3.938 kB / 0.5668 GB, free: 30.38 MB / 446.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 8.184e-05/0.3945, allocations: 124.1 kB / 0.5669 GB, free: 30.26 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.689e-05/0.3945, allocations: 10.62 kB / 0.5669 GB, free: 30.25 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003211/0.3948, allocations: 102.2 kB / 0.567 GB, free: 30.19 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.3948, allocations: 0 / 0.567 GB, free: 30.19 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.3948, allocations: 0 / 0.567 GB, free: 30.19 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.3948, allocations: 3.188 kB / 0.567 GB, free: 30.19 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005216/0.3954, allocations: 365.8 kB / 0.5673 GB, free: 29.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.3954, allocations: 0 / 0.5673 GB, free: 29.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.789e-05/0.3955, allocations: 12.45 kB / 0.5674 GB, free: 29.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.3955, allocations: 0 / 0.5674 GB, free: 29.86 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.3955, allocations: 4 kB / 0.5674 GB, free: 29.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.3955, allocations: 6.938 kB / 0.5674 GB, free: 29.85 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.3955, allocations: 3.938 kB / 0.5674 GB, free: 29.85 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002925/0.3958, allocations: 180.6 kB / 0.5675 GB, free: 29.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.664e-05/0.3958, allocations: 88.03 kB / 0.5676 GB, free: 29.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.697e-05/0.3958, allocations: 3.141 kB / 0.5676 GB, free: 29.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001205/0.3959, allocations: 6.062 kB / 0.5676 GB, free: 29.6 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.47e-05/0.396, allocations: 6.938 kB / 0.5676 GB, free: 29.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.715e-06/0.396, allocations: 3 kB / 0.5676 GB, free: 29.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001108/0.3961, allocations: 116.4 kB / 0.5678 GB, free: 29.51 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3961, allocations: 0 / 0.5678 GB, free: 29.51 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005189/0.3966, allocations: 35.84 kB / 0.5678 GB, free: 29.5 MB / 446.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.001865/0.3985, allocations: 0.4964 MB / 0.5683 GB, free: 29.27 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000298/0.3988, allocations: 55.3 kB / 0.5683 GB, free: 29.26 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.3988, allocations: 4 kB / 0.5683 GB, free: 29.25 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001096/0.3989, allocations: 22.92 kB / 0.5684 GB, free: 29.25 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005815/0.3995, allocations: 18.25 kB / 0.5684 GB, free: 29.25 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005901/0.4001, allocations: 179.8 kB / 0.5685 GB, free: 29.11 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001751/0.4003, allocations: 0.6953 MB / 0.5692 GB, free: 28.41 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.09e-05/0.4003, allocations: 25 kB / 0.5692 GB, free: 28.4 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.228e-05/0.4004, allocations: 16.22 kB / 0.5693 GB, free: 28.39 MB / 446.1 MB Notification: Performance of SimCode: time 4.81e-07/0.4004, allocations: 0 / 0.5693 GB, free: 28.39 MB / 446.1 MB Notification: Performance of Templates: time 0.006418/0.4068, allocations: 1.771 MB / 0.571 GB, free: 28.19 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test21 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.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.226129635702819]