Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test27.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.006627/0.006627, allocations: 103.4 kB / 21.97 MB, free: 5.211 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.001789/0.001789, allocations: 220 kB / 25.29 MB, free: 3.215 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.48/1.48, allocations: 230.5 MB / 258.9 MB, free: 8.012 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.2267/0.2267, allocations: 46.93 MB / 362.3 MB, free: 4.207 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.CombiTable1Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test27") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test27") [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.002302/0.002302, allocations: 79.86 kB / 0.4982 GB, free: 7.258 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2959/0.2982, allocations: 66.07 MB / 0.5627 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test27): time 0.003071/0.3012, allocations: 1.658 MB / 0.5644 GB, free: 2.602 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001034/0.3023, allocations: 0.5615 MB / 0.5649 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.091e-05/0.3023, allocations: 0 / 0.5649 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003277/0.3027, allocations: 127.6 kB / 0.565 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003342/0.303, allocations: 127.6 kB / 0.5652 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003258/0.3033, allocations: 111.7 kB / 0.5653 GB, free: 1.68 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000188/0.3035, allocations: 99.72 kB / 0.5654 GB, free: 1.582 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.3036, allocations: 14.66 kB / 0.5654 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.209e-05/0.3037, allocations: 47.89 kB / 0.5654 GB, free: 1.523 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000159/0.3038, allocations: 95.75 kB / 0.5655 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.409e-05/0.3039, allocations: 0 / 0.5655 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.969e-05/0.304, allocations: 51.98 kB / 0.5656 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.077e-05/0.304, allocations: 35.78 kB / 0.5656 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.726e-05/0.3041, allocations: 35.69 kB / 0.5656 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002115/0.3043, allocations: 119.2 kB / 0.5657 GB, free: 1.195 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.3043, allocations: 4 kB / 0.5657 GB, free: 1.191 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3043, allocations: 0 / 0.5657 GB, free: 1.191 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.3043, allocations: 0 / 0.5657 GB, free: 1.191 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.0005317/0.3048, allocations: 365.3 kB / 0.5661 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.3049, allocations: 8.031 kB / 0.5661 GB, free: 0.793 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.359e-05/0.3049, allocations: 16.84 kB / 0.5661 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002045/0.3051, allocations: 170.3 kB / 0.5663 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.3051, allocations: 8.375 kB / 0.5663 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.874e-05/0.3051, allocations: 384 / 0.5663 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001396/0.3053, allocations: 54.23 kB / 0.5663 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.3053, allocations: 4.188 kB / 0.5663 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.3053, allocations: 3.938 kB / 0.5663 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.3053, allocations: 0 / 0.5663 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001009/0.3054, allocations: 27.97 kB / 0.5664 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004012/0.3058, allocations: 287.8 kB / 0.5666 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001091/0.3059, allocations: 42.56 kB / 0.5667 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.914e-05/0.306, allocations: 16.94 kB / 0.5667 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.424e-05/0.306, allocations: 4 kB / 0.5667 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.306, allocations: 34.56 kB / 0.5667 GB, free: 44 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.306, allocations: 0 / 0.5667 GB, free: 44 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008953/0.3069, allocations: 257 kB / 0.567 GB, free: 15.79 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.215e-05/0.307, allocations: 55.34 kB / 0.567 GB, free: 15.72 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002884/0.3072, allocations: 275.8 kB / 0.5673 GB, free: 15.43 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.3073, allocations: 25.7 kB / 0.5673 GB, free: 15.4 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.2e-05/0.3073, allocations: 112.1 kB / 0.5674 GB, free: 15.29 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.326e-05/0.3074, allocations: 35.67 kB / 0.5675 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.951e-05/0.3074, allocations: 21.72 kB / 0.5675 GB, free: 15.22 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.3075, allocations: 334.8 kB / 0.5678 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.103e-05/0.3076, allocations: 23.98 kB / 0.5678 GB, free: 14.86 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.878e-05/0.3077, allocations: 35.97 kB / 0.5679 GB, free: 14.83 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001626/0.3079, allocations: 73.12 kB / 0.5679 GB, free: 14.75 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.3079, allocations: 4 kB / 0.5679 GB, free: 14.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002358/0.3081, allocations: 121.5 kB / 0.5681 GB, free: 14.62 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.3081, allocations: 10.64 kB / 0.5681 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-06/0.3081, allocations: 0 / 0.5681 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.3081, allocations: 0 / 0.5681 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.958e-05/0.3082, allocations: 23.98 kB / 0.5681 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.3082, allocations: 0 / 0.5681 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.267e-05/0.3083, allocations: 4 kB / 0.5681 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.3083, allocations: 0 / 0.5681 GB, free: 14.59 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 (8): * Single equations (assignments): 8 * 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.0001127/0.3084, allocations: 139.1 kB / 0.5682 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.974e-05/0.3084, allocations: 15.91 kB / 0.5682 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003079/0.3088, allocations: 139 kB / 0.5684 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.3088, allocations: 8 kB / 0.5684 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.3088, allocations: 0 / 0.5684 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.3088, allocations: 0 / 0.5684 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005605/0.3093, allocations: 402.3 kB / 0.5688 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.3093, allocations: 3.984 kB / 0.5688 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.849e-05/0.3094, allocations: 16 kB / 0.5688 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.3094, allocations: 0 / 0.5688 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.3094, allocations: 11.95 kB / 0.5688 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/0.3094, allocations: 4 kB / 0.5688 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3094, allocations: 0 / 0.5688 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002812/0.3097, allocations: 216.2 kB / 0.569 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.3e-05/0.3097, allocations: 11.91 kB / 0.569 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.287e-05/0.3097, allocations: 7.938 kB / 0.569 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.909e-05/0.3098, allocations: 15.98 kB / 0.569 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.17e-05/0.3099, allocations: 3.984 kB / 0.569 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-06/0.3099, allocations: 4 kB / 0.569 GB, free: 13.52 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001977/0.3101, allocations: 212.1 kB / 0.5692 GB, free: 13.32 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3101, allocations: 3.938 kB / 0.5692 GB, free: 13.31 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002573/0.3103, allocations: 23.92 kB / 0.5693 GB, free: 13.29 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.00166/0.312, allocations: 445.2 kB / 0.5697 GB, free: 13.01 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002498/0.3122, allocations: 79.86 kB / 0.5698 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3122, allocations: 0 / 0.5698 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001047/0.3123, allocations: 43.98 kB / 0.5698 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003768/0.3127, allocations: 27.08 kB / 0.5698 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006364/0.3133, allocations: 353.9 kB / 0.5702 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003662/0.3137, allocations: 0.7275 MB / 0.5709 GB, free: 11.73 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.942e-05/0.3138, allocations: 15.44 kB / 0.5709 GB, free: 11.71 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3138, allocations: 0 / 0.5709 GB, free: 11.71 MB / 414.1 MB Notification: Performance of Templates: time 0.004248/0.318, allocations: 1.956 MB / 0.5728 GB, free: 9.754 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test27.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test27.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test27.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.741263020085171]