Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test5.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.00144/0.00144, 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.001677/0.001677, allocations: 207.2 kB / 25.12 MB, free: 3.59 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.413/1.413, allocations: 230.4 MB / 258.7 MB, free: 8.082 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.2259/0.2259, allocations: 46.93 MB / 362 MB, free: 4.234 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.Test5,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.CombiTable1Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,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.CombiTable1Ds.Test5") [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.002328/0.002328, allocations: 79.86 kB / 0.4978 GB, free: 7.363 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2916/0.294, allocations: 66.09 MB / 0.5624 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.00313/0.2971, allocations: 1.636 MB / 0.564 GB, free: 2.617 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001037/0.2981, allocations: 0.546 MB / 0.5645 GB, free: 2.07 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.694e-05/0.2982, allocations: 0 / 0.5645 GB, free: 2.07 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002694/0.2984, allocations: 99.67 kB / 0.5646 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003398/0.2988, allocations: 111.6 kB / 0.5647 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002778/0.2991, allocations: 91.69 kB / 0.5648 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001634/0.2992, allocations: 95.67 kB / 0.5649 GB, free: 1.68 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.869e-05/0.2993, allocations: 15.66 kB / 0.5649 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.509e-05/0.2994, allocations: 35.89 kB / 0.5649 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001169/0.2995, allocations: 55.81 kB / 0.565 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.573e-05/0.2995, allocations: 4 kB / 0.565 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001167/0.2996, allocations: 55.91 kB / 0.565 GB, free: 1.52 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.993e-05/0.2997, allocations: 23.86 kB / 0.5651 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.439e-05/0.2997, allocations: 31.75 kB / 0.5651 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001952/0.2999, allocations: 114.4 kB / 0.5652 GB, free: 1.355 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2999, allocations: 0 / 0.5652 GB, free: 1.355 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2999, allocations: 4 kB / 0.5652 GB, free: 1.352 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.2999, allocations: 0 / 0.5652 GB, free: 1.352 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.0004755/0.3004, allocations: 341.5 kB / 0.5655 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.3005, allocations: 16.02 kB / 0.5655 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.763e-05/0.3005, allocations: 12.84 kB / 0.5655 GB, free: 0.957 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001791/0.3007, allocations: 146.8 kB / 0.5657 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.3007, allocations: 4.375 kB / 0.5657 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.373e-05/0.3007, allocations: 8.328 kB / 0.5657 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.3008, allocations: 54.23 kB / 0.5658 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.3009, allocations: 4.188 kB / 0.5658 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-06/0.3009, allocations: 3.938 kB / 0.5658 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.3009, allocations: 0 / 0.5658 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.752e-05/0.301, allocations: 27.97 kB / 0.5658 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003732/0.3013, allocations: 271.8 kB / 0.566 GB, free: 384 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001052/0.3014, allocations: 38.56 kB / 0.5661 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.866e-05/0.3015, allocations: 20.8 kB / 0.5661 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.3015, allocations: 96 / 0.5661 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/0.3015, allocations: 38.55 kB / 0.5661 GB, free: 264 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/0.3015, allocations: 0 / 0.5661 GB, free: 264 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008306/0.3024, allocations: 233.1 kB / 0.5664 GB, free: 24 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.556e-05/0.3024, allocations: 51.41 kB / 0.5664 GB, free: 15.96 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002387/0.3027, allocations: 230.8 kB / 0.5666 GB, free: 15.72 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.3027, allocations: 29.7 kB / 0.5667 GB, free: 15.68 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.813e-05/0.3028, allocations: 108.1 kB / 0.5668 GB, free: 15.57 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.209e-05/0.3028, allocations: 31.75 kB / 0.5668 GB, free: 15.54 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.161e-05/0.3028, allocations: 21.7 kB / 0.5668 GB, free: 15.52 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.303, allocations: 330.8 kB / 0.5671 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.426e-05/0.303, allocations: 23.98 kB / 0.5671 GB, free: 15.16 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.17e-05/0.3031, allocations: 23.98 kB / 0.5672 GB, free: 15.14 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001448/0.3033, allocations: 64.89 kB / 0.5672 GB, free: 15.07 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.3033, allocations: 4 kB / 0.5672 GB, free: 15.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002263/0.3035, allocations: 109.5 kB / 0.5673 GB, free: 14.95 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.3035, allocations: 7.938 kB / 0.5674 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.3035, allocations: 0 / 0.5674 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.3035, allocations: 0 / 0.5674 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.3036, allocations: 19.98 kB / 0.5674 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.3036, allocations: 0 / 0.5674 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.245e-05/0.3037, allocations: 4 kB / 0.5674 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.3037, allocations: 4 kB / 0.5674 GB, free: 14.92 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.0001103/0.3038, allocations: 133.8 kB / 0.5675 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.627e-05/0.3038, allocations: 11.95 kB / 0.5675 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000271/0.3041, allocations: 123.2 kB / 0.5676 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.3041, allocations: 0 / 0.5676 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.3041, allocations: 4 kB / 0.5676 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.3041, allocations: 432 / 0.5676 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005238/0.3046, allocations: 390.3 kB / 0.568 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.3046, allocations: 3.938 kB / 0.568 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.988e-05/0.3047, allocations: 15.98 kB / 0.568 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.3047, allocations: 4 kB / 0.568 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.3047, allocations: 3.938 kB / 0.568 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.3047, allocations: 0 / 0.568 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.3047, allocations: 0 / 0.568 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002608/0.305, allocations: 224.2 kB / 0.5683 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.13e-05/0.305, allocations: 11.94 kB / 0.5683 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.959e-05/0.305, allocations: 3.938 kB / 0.5683 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.988e-05/0.3051, allocations: 4 kB / 0.5683 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.066e-05/0.3051, allocations: 7.984 kB / 0.5683 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.363e-06/0.3051, allocations: 8 kB / 0.5683 GB, free: 13.89 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001663/0.3053, allocations: 176.3 kB / 0.5685 GB, free: 13.72 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3053, allocations: 0 / 0.5685 GB, free: 13.72 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002453/0.3056, allocations: 19.95 kB / 0.5685 GB, free: 13.7 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.001631/0.3072, allocations: 452.6 kB / 0.5689 GB, free: 13.42 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002176/0.3074, allocations: 67.88 kB / 0.569 GB, free: 13.35 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.3074, allocations: 0 / 0.569 GB, free: 13.35 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.993e-05/0.3075, allocations: 39.92 kB / 0.569 GB, free: 13.31 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003457/0.3078, allocations: 19.67 kB / 0.569 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005339/0.3084, allocations: 274.9 kB / 0.5693 GB, free: 13 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003262/0.3087, allocations: 0.708 MB / 0.57 GB, free: 12.26 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.082e-05/0.3087, allocations: 16.95 kB / 0.57 GB, free: 12.24 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.711e-05/0.3088, allocations: 15.44 kB / 0.57 GB, free: 12.23 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3088, allocations: 4 kB / 0.57 GB, free: 12.22 MB / 414.1 MB Notification: Performance of Templates: time 0.004266/0.3131, allocations: 1.412 MB / 0.5714 GB, free: 10.82 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test5.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.769463764037937]