Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test2.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.006423/0.006423, allocations: 106.6 kB / 21.98 MB, free: 5.223 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.001753/0.001753, allocations: 216.6 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.427/1.427, allocations: 230.5 MB / 258.9 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.2246/0.2246, allocations: 46.93 MB / 362.3 MB, free: 4.223 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.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,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.Test2") [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.002356/0.002356, allocations: 83.88 kB / 0.4982 GB, free: 7.262 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2968/0.2992, allocations: 66.07 MB / 0.5627 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.003029/0.3022, allocations: 1.617 MB / 0.5643 GB, free: 2.645 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001016/0.3032, allocations: 0.5537 MB / 0.5649 GB, free: 2.09 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.391e-05/0.3033, allocations: 0 / 0.5649 GB, free: 2.09 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001887/0.3035, allocations: 27.84 kB / 0.5649 GB, free: 2.062 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002551/0.3037, allocations: 67.64 kB / 0.565 GB, free: 1.996 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002557/0.304, allocations: 99.62 kB / 0.5651 GB, free: 1.898 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001464/0.3041, allocations: 63.84 kB / 0.5651 GB, free: 1.836 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.551e-05/0.3042, allocations: 11.98 kB / 0.5651 GB, free: 1.824 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.854e-05/0.3043, allocations: 23.86 kB / 0.5651 GB, free: 1.801 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.951e-05/0.3043, allocations: 27.86 kB / 0.5652 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.088e-05/0.3043, allocations: 0 / 0.5652 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.039e-05/0.3044, allocations: 31.98 kB / 0.5652 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.818e-05/0.3045, allocations: 15.92 kB / 0.5652 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.661e-05/0.3045, allocations: 23.86 kB / 0.5652 GB, free: 1.703 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001653/0.3047, allocations: 85.94 kB / 0.5653 GB, free: 1.625 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3047, allocations: 0 / 0.5653 GB, free: 1.625 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3047, allocations: 4 kB / 0.5653 GB, free: 1.621 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.3047, allocations: 0 / 0.5653 GB, free: 1.621 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.0004538/0.3051, allocations: 309.9 kB / 0.5656 GB, free: 1.285 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.3052, allocations: 8.031 kB / 0.5656 GB, free: 1.277 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.051e-05/0.3052, allocations: 8.891 kB / 0.5656 GB, free: 1.27 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001796/0.3054, allocations: 138.4 kB / 0.5658 GB, free: 1.109 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.951e-06/0.3054, allocations: 384 / 0.5658 GB, free: 1.109 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.407e-05/0.3054, allocations: 4.375 kB / 0.5658 GB, free: 1.105 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001337/0.3056, allocations: 46.25 kB / 0.5658 GB, free: 1.055 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.3056, allocations: 4.125 kB / 0.5658 GB, free: 1.051 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.3056, allocations: 3.938 kB / 0.5658 GB, free: 1.047 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.3056, allocations: 0 / 0.5658 GB, free: 1.047 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.078e-05/0.3057, allocations: 35.91 kB / 0.5659 GB, free: 1.012 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003497/0.306, allocations: 236 kB / 0.5661 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001993/0.3062, allocations: 46.53 kB / 0.5661 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.296e-05/0.3063, allocations: 20.84 kB / 0.5662 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.986e-05/0.3063, allocations: 4 kB / 0.5662 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.3063, allocations: 34.56 kB / 0.5662 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.3063, allocations: 0 / 0.5662 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005428/0.3069, allocations: 141.4 kB / 0.5663 GB, free: 480 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.7e-05/0.3069, allocations: 51.41 kB / 0.5664 GB, free: 416 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001551/0.3071, allocations: 152.6 kB / 0.5665 GB, free: 252 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.3071, allocations: 29.7 kB / 0.5665 GB, free: 216 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.727e-05/0.3071, allocations: 96.12 kB / 0.5666 GB, free: 116 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.967e-05/0.3072, allocations: 19.8 kB / 0.5667 GB, free: 96 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.623e-05/0.3072, allocations: 21.7 kB / 0.5667 GB, free: 68 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.3074, allocations: 322.8 kB / 0.567 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.874e-05/0.3074, allocations: 15.98 kB / 0.567 GB, free: 15.73 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.396e-05/0.3075, allocations: 15.98 kB / 0.567 GB, free: 15.71 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001197/0.3076, allocations: 52.83 kB / 0.5671 GB, free: 15.66 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.3076, allocations: 0 / 0.5671 GB, free: 15.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001819/0.3078, allocations: 85.5 kB / 0.5671 GB, free: 15.57 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.3078, allocations: 4 kB / 0.5671 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.3078, allocations: 3.984 kB / 0.5672 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.101e-05/0.3078, allocations: 4 kB / 0.5672 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.841e-05/0.3079, allocations: 8 kB / 0.5672 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.3079, allocations: 4 kB / 0.5672 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.935e-05/0.3079, allocations: 7.984 kB / 0.5672 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/0.3079, allocations: 0 / 0.5672 GB, free: 15.54 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.243e-05/0.308, allocations: 117.8 kB / 0.5673 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.983e-05/0.3081, allocations: 7.953 kB / 0.5673 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002404/0.3083, allocations: 94 kB / 0.5674 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.3083, allocations: 3.984 kB / 0.5674 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.3083, allocations: 8 kB / 0.5674 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.3083, allocations: 288 / 0.5674 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004178/0.3087, allocations: 321.9 kB / 0.5677 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.3087, allocations: 0 / 0.5677 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.604e-05/0.3088, allocations: 19.86 kB / 0.5677 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.606e-06/0.3088, allocations: 3.984 kB / 0.5677 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.3088, allocations: 4 kB / 0.5677 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.3088, allocations: 0 / 0.5677 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3088, allocations: 4 kB / 0.5677 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002269/0.309, allocations: 179.4 kB / 0.5679 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.462e-05/0.309, allocations: 7.953 kB / 0.5679 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.3091, allocations: 0 / 0.5679 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.511e-05/0.3091, allocations: 4 kB / 0.5679 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.536e-05/0.3092, allocations: 11.92 kB / 0.5679 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-06/0.3092, allocations: 4 kB / 0.5679 GB, free: 14.67 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.428e-05/0.3092, allocations: 115.2 kB / 0.568 GB, free: 14.55 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3093, allocations: 0 / 0.568 GB, free: 14.55 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002481/0.3095, allocations: 19.94 kB / 0.5681 GB, free: 14.54 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.001424/0.3109, allocations: 393.1 kB / 0.5684 GB, free: 14.28 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002077/0.3111, allocations: 39.97 kB / 0.5685 GB, free: 14.24 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.3111, allocations: 4 kB / 0.5685 GB, free: 14.24 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.467e-05/0.3112, allocations: 23.98 kB / 0.5685 GB, free: 14.21 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003454/0.3116, allocations: 23.3 kB / 0.5685 GB, free: 14.2 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004262/0.312, allocations: 215.7 kB / 0.5687 GB, free: 13.95 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000322/0.3123, allocations: 0.6962 MB / 0.5694 GB, free: 13.23 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.876e-05/0.3123, allocations: 19.44 kB / 0.5694 GB, free: 13.21 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3123, allocations: 0 / 0.5694 GB, free: 13.21 MB / 414.1 MB Notification: Performance of Templates: time 0.003308/0.3156, allocations: 1.426 MB / 0.5708 GB, free: 11.78 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test2.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.5066001389641315]