Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test20.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.001679/0.001679, allocations: 114.5 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.00206/0.00206, allocations: 206.8 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.506/1.506, allocations: 230.2 MB / 257.8 MB, free: 8.504 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.2405/0.2405, allocations: 46.89 MB / 361.1 MB, free: 4.629 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.CombiTable1Ds.Test20,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.CombiTable1Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,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.CombiTable1Ds.Test20") [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.002396/0.002396, allocations: 79.86 kB / 0.4968 GB, free: 8.348 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2908/0.2932, allocations: 65.98 MB / 0.5612 GB, free: 34.48 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.002234/0.2955, allocations: 1.61 MB / 0.5628 GB, free: 33.4 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001269/0.2967, allocations: 1.255 MB / 0.564 GB, free: 32.53 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.247e-05/0.2968, allocations: 3.938 kB / 0.564 GB, free: 32.52 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001791/0.297, allocations: 24.05 kB / 0.564 GB, free: 32.51 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000226/0.2972, allocations: 85.2 kB / 0.5641 GB, free: 32.46 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002009/0.2974, allocations: 88.55 kB / 0.5642 GB, free: 32.42 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001111/0.2975, allocations: 70.38 kB / 0.5643 GB, free: 32.39 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.948e-05/0.2976, allocations: 9.625 kB / 0.5643 GB, free: 32.38 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.884e-05/0.2976, allocations: 23.67 kB / 0.5643 GB, free: 32.38 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001348/0.2978, allocations: 42.95 kB / 0.5643 GB, free: 32.35 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.405e-05/0.2978, allocations: 2.844 kB / 0.5643 GB, free: 32.35 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001249/0.2979, allocations: 93.17 kB / 0.5644 GB, free: 32.32 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.808e-05/0.2979, allocations: 18.22 kB / 0.5645 GB, free: 32.31 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.747e-05/0.298, allocations: 18.47 kB / 0.5645 GB, free: 32.3 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001814/0.2982, allocations: 152.8 kB / 0.5646 GB, free: 32.23 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.2982, allocations: 0.5 kB / 0.5646 GB, free: 32.23 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2982, allocations: 0 / 0.5646 GB, free: 32.23 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.2982, allocations: 2.375 kB / 0.5646 GB, free: 32.23 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.0003702/0.2985, allocations: 400.6 kB / 0.565 GB, free: 31.82 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.695e-05/0.2986, allocations: 10.78 kB / 0.565 GB, free: 31.82 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.37e-05/0.2986, allocations: 11.58 kB / 0.565 GB, free: 31.82 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001442/0.2987, allocations: 193.5 kB / 0.5652 GB, free: 31.61 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.35e-06/0.2987, allocations: 2.188 kB / 0.5652 GB, free: 31.61 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.057e-05/0.2988, allocations: 6.969 kB / 0.5652 GB, free: 31.61 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.2989, allocations: 59.77 kB / 0.5653 GB, free: 31.55 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.2989, allocations: 10.47 kB / 0.5653 GB, free: 31.55 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.2989, allocations: 7.922 kB / 0.5653 GB, free: 31.54 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.346e-06/0.2989, allocations: 0 / 0.5653 GB, free: 31.54 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.157e-05/0.299, allocations: 19.16 kB / 0.5653 GB, free: 31.54 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000244/0.2992, allocations: 285.3 kB / 0.5656 GB, free: 31.25 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001677/0.2994, allocations: 49.8 kB / 0.5656 GB, free: 31.21 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.438e-05/0.2994, allocations: 11.23 kB / 0.5656 GB, free: 31.2 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.427e-05/0.2995, allocations: 1.438 kB / 0.5656 GB, free: 31.2 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.254e-05/0.2995, allocations: 38.03 kB / 0.5657 GB, free: 31.16 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.2995, allocations: 1.969 kB / 0.5657 GB, free: 31.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004845/0.3, allocations: 141.5 kB / 0.5658 GB, free: 31.1 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.867e-05/0.3, allocations: 77.11 kB / 0.5659 GB, free: 31 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.3001, allocations: 145.8 kB / 0.566 GB, free: 30.89 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.065e-06/0.3001, allocations: 25.7 kB / 0.566 GB, free: 30.86 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.797e-05/0.3001, allocations: 99.09 kB / 0.5661 GB, free: 30.77 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.482e-05/0.3001, allocations: 19.36 kB / 0.5662 GB, free: 30.75 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.905e-05/0.3002, allocations: 16.47 kB / 0.5662 GB, free: 30.73 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.638e-05/0.3002, allocations: 323.3 kB / 0.5665 GB, free: 30.41 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.412e-05/0.3003, allocations: 19.11 kB / 0.5665 GB, free: 30.41 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.086e-05/0.3003, allocations: 39.28 kB / 0.5665 GB, free: 30.39 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001156/0.3005, allocations: 47.81 kB / 0.5666 GB, free: 30.37 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.3005, allocations: 0 / 0.5666 GB, free: 30.37 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00016/0.3006, allocations: 78.75 kB / 0.5667 GB, free: 30.32 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.3006, allocations: 6.125 kB / 0.5667 GB, free: 30.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.3006, allocations: 2.688 kB / 0.5667 GB, free: 30.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.3007, allocations: 0 / 0.5667 GB, free: 30.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.139e-05/0.3007, allocations: 12.27 kB / 0.5667 GB, free: 30.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.008e-06/0.3007, allocations: 3.062 kB / 0.5667 GB, free: 30.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.462e-05/0.3008, allocations: 2.969 kB / 0.5667 GB, free: 30.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.3008, allocations: 7.875 kB / 0.5667 GB, free: 30.32 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 4.885e-05/0.3008, allocations: 122.8 kB / 0.5668 GB, free: 30.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.43e-05/0.3009, allocations: 14.03 kB / 0.5668 GB, free: 30.19 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002001/0.3011, allocations: 86.09 kB / 0.5669 GB, free: 30.13 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.3011, allocations: 3.484 kB / 0.5669 GB, free: 30.13 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.3011, allocations: 7 kB / 0.5669 GB, free: 30.13 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.3011, allocations: 3.281 kB / 0.5669 GB, free: 30.13 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003057/0.3014, allocations: 347.8 kB / 0.5673 GB, free: 29.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3014, allocations: 0 / 0.5673 GB, free: 29.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.381e-05/0.3014, allocations: 15.52 kB / 0.5673 GB, free: 29.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3014, allocations: 0 / 0.5673 GB, free: 29.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.3014, allocations: 0 / 0.5673 GB, free: 29.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3014, allocations: 3.156 kB / 0.5673 GB, free: 29.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.3014, allocations: 3.938 kB / 0.5673 GB, free: 29.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001743/0.3016, allocations: 179 kB / 0.5674 GB, free: 29.65 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.172e-05/0.3016, allocations: 85.67 kB / 0.5675 GB, free: 29.55 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.809e-05/0.3016, allocations: 4.656 kB / 0.5675 GB, free: 29.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.654e-05/0.3017, allocations: 4.859 kB / 0.5675 GB, free: 29.55 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.735e-05/0.3017, allocations: 11.8 kB / 0.5675 GB, free: 29.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/0.3018, allocations: 0.5156 kB / 0.5675 GB, free: 29.54 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.655e-05/0.3018, allocations: 117.4 kB / 0.5677 GB, free: 29.46 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3018, allocations: 0 / 0.5677 GB, free: 29.46 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000269/0.3021, allocations: 38.06 kB / 0.5677 GB, free: 29.45 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.001575/0.3037, allocations: 497.2 kB / 0.5682 GB, free: 29.22 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001913/0.3039, allocations: 51.92 kB / 0.5682 GB, free: 29.21 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.3039, allocations: 0 / 0.5682 GB, free: 29.21 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.087e-05/0.3039, allocations: 27.7 kB / 0.5682 GB, free: 29.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003271/0.3043, allocations: 20.83 kB / 0.5683 GB, free: 29.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003328/0.3046, allocations: 171.6 kB / 0.5684 GB, free: 29.06 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.924e-05/0.3047, allocations: 0.7002 MB / 0.5691 GB, free: 28.36 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.349e-05/0.3047, allocations: 15.66 kB / 0.5691 GB, free: 28.35 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.541e-05/0.3048, allocations: 16.2 kB / 0.5691 GB, free: 28.34 MB / 446.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3048, allocations: 0 / 0.5691 GB, free: 28.34 MB / 446.1 MB Notification: Performance of Templates: time 0.004146/0.3089, allocations: 1.756 MB / 0.5709 GB, free: 28.14 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test20 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test20.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: 4.905010999646038]