Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test7.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.001746/0.001746, allocations: 113.1 kB / 21.85 MB, free: 68 kB / 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.002211/0.002211, allocations: 209.5 kB / 25.13 MB, free: 3.586 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.4 MB / 258.7 MB, free: 8.043 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.2279/0.2279, allocations: 46.94 MB / 362.1 MB, free: 4.23 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.Test7,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.Test7") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,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.Test7") [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.002375/0.002375, allocations: 79.86 kB / 0.4978 GB, free: 7.387 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2969/0.2993, allocations: 66.08 MB / 0.5623 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.003308/0.3026, allocations: 1.624 MB / 0.5639 GB, free: 2.641 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001051/0.3036, allocations: 0.5459 MB / 0.5645 GB, free: 2.094 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.541e-05/0.3037, allocations: 0 / 0.5645 GB, free: 2.094 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002054/0.3039, allocations: 27.8 kB / 0.5645 GB, free: 2.066 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000299/0.3042, allocations: 79.67 kB / 0.5646 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002854/0.3045, allocations: 83.7 kB / 0.5646 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001706/0.3047, allocations: 71.77 kB / 0.5647 GB, free: 1.836 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.3048, allocations: 23.58 kB / 0.5647 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.959e-05/0.3048, allocations: 15.94 kB / 0.5647 GB, free: 1.801 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.164e-05/0.3049, allocations: 23.86 kB / 0.5648 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.3049, allocations: 7.984 kB / 0.5648 GB, free: 1.77 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.877e-05/0.305, allocations: 35.98 kB / 0.5648 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.08e-05/0.3051, allocations: 11.92 kB / 0.5648 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.352e-05/0.3051, allocations: 27.75 kB / 0.5648 GB, free: 1.695 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001825/0.3053, allocations: 82.53 kB / 0.5649 GB, free: 1.617 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.3053, allocations: 0 / 0.5649 GB, free: 1.617 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3053, allocations: 0 / 0.5649 GB, free: 1.617 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.3053, allocations: 0 / 0.5649 GB, free: 1.617 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.0004964/0.3058, allocations: 313.8 kB / 0.5652 GB, free: 1.277 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.3058, allocations: 12.03 kB / 0.5652 GB, free: 1.266 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.411e-05/0.3059, allocations: 8.891 kB / 0.5652 GB, free: 1.258 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001886/0.3061, allocations: 134.4 kB / 0.5654 GB, free: 1.102 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.3061, allocations: 4.375 kB / 0.5654 GB, free: 1.098 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.725e-05/0.3061, allocations: 4.375 kB / 0.5654 GB, free: 1.094 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001452/0.3062, allocations: 50.19 kB / 0.5654 GB, free: 1.039 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.3063, allocations: 192 / 0.5654 GB, free: 1.039 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.3063, allocations: 7.938 kB / 0.5654 GB, free: 1.031 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.3063, allocations: 0 / 0.5654 GB, free: 1.031 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.148e-05/0.3064, allocations: 23.97 kB / 0.5655 GB, free: 1.008 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003715/0.3067, allocations: 252 kB / 0.5657 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002096/0.3069, allocations: 46.44 kB / 0.5657 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.1e-05/0.307, allocations: 16.86 kB / 0.5658 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.133e-05/0.307, allocations: 0 / 0.5658 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/0.307, allocations: 30.56 kB / 0.5658 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.307, allocations: 0 / 0.5658 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005421/0.3076, allocations: 149.7 kB / 0.5659 GB, free: 464 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.338e-05/0.3076, allocations: 51.41 kB / 0.566 GB, free: 400 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001761/0.3078, allocations: 165.8 kB / 0.5661 GB, free: 224 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.3078, allocations: 25.7 kB / 0.5662 GB, free: 192 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.119e-05/0.3079, allocations: 96.14 kB / 0.5663 GB, free: 92 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.322e-05/0.3079, allocations: 15.84 kB / 0.5663 GB, free: 76 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.51e-05/0.3079, allocations: 17.72 kB / 0.5663 GB, free: 52 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.3081, allocations: 326.8 kB / 0.5666 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.637e-05/0.3082, allocations: 19.98 kB / 0.5666 GB, free: 15.7 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.205e-05/0.3082, allocations: 15.98 kB / 0.5666 GB, free: 15.69 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001284/0.3084, allocations: 52.77 kB / 0.5667 GB, free: 15.63 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.3084, allocations: 3.938 kB / 0.5667 GB, free: 15.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001799/0.3085, allocations: 81.81 kB / 0.5668 GB, free: 15.54 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.3086, allocations: 7.938 kB / 0.5668 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.3086, allocations: 0 / 0.5668 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.3086, allocations: 4 kB / 0.5668 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.041e-05/0.3086, allocations: 19.97 kB / 0.5668 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.3086, allocations: 0 / 0.5668 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.044e-05/0.3087, allocations: 8 kB / 0.5668 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.3087, allocations: 3.984 kB / 0.5668 GB, free: 15.5 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 9.535e-05/0.3088, allocations: 125.7 kB / 0.5669 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.196e-05/0.3088, allocations: 7.953 kB / 0.5669 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002497/0.3091, allocations: 94 kB / 0.567 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.3091, allocations: 0 / 0.567 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.3091, allocations: 0 / 0.567 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.3091, allocations: 0 / 0.567 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004604/0.3095, allocations: 321.5 kB / 0.5673 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.3095, allocations: 4 kB / 0.5673 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.467e-05/0.3096, allocations: 11.98 kB / 0.5673 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.3096, allocations: 0 / 0.5673 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.3096, allocations: 0 / 0.5673 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/0.3096, allocations: 7.938 kB / 0.5674 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.3096, allocations: 4 kB / 0.5674 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002455/0.3099, allocations: 171.5 kB / 0.5675 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.69e-05/0.3099, allocations: 11.94 kB / 0.5675 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.808e-05/0.3099, allocations: 4.25 kB / 0.5675 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.48e-05/0.31, allocations: 3.938 kB / 0.5675 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.047e-05/0.31, allocations: 19.92 kB / 0.5676 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.31, allocations: 0 / 0.5676 GB, free: 14.64 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001171/0.3101, allocations: 126.2 kB / 0.5677 GB, free: 14.52 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3101, allocations: 0 / 0.5677 GB, free: 14.52 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002402/0.3104, allocations: 19.95 kB / 0.5677 GB, free: 14.5 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.001452/0.3118, allocations: 400.7 kB / 0.5681 GB, free: 14.24 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002127/0.312, allocations: 47.97 kB / 0.5681 GB, free: 14.19 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.312, allocations: 0 / 0.5681 GB, free: 14.19 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.536e-05/0.3121, allocations: 23.92 kB / 0.5682 GB, free: 14.17 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00034/0.3124, allocations: 15.98 kB / 0.5682 GB, free: 14.15 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004793/0.3129, allocations: 194 kB / 0.5684 GB, free: 13.93 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003978/0.3133, allocations: 0.7002 MB / 0.569 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.91e-05/0.3134, allocations: 16.02 kB / 0.5691 GB, free: 13.19 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.07e-05/0.3134, allocations: 11.44 kB / 0.5691 GB, free: 13.18 MB / 414.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3134, allocations: 0 / 0.5691 GB, free: 13.18 MB / 414.1 MB Notification: Performance of Templates: time 0.004116/0.3175, allocations: 1.149 MB / 0.5702 GB, free: 12.04 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test7 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test7.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.750045666005462]