Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test3.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.001302/0.001302, allocations: 112.4 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.0014/0.0014, allocations: 204.1 kB / 24.46 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.445/1.445, allocations: 230.2 MB / 257.8 MB, free: 8.492 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.2333/0.2333, allocations: 46.9 MB / 361.1 MB, free: 4.633 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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,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.Test3") [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.002357/0.002357, allocations: 79.88 kB / 0.4968 GB, free: 7.797 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2943/0.2967, allocations: 65.99 MB / 0.5612 GB, free: 5.035 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.003014/0.2997, allocations: 1.631 MB / 0.5628 GB, free: 3.398 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001053/0.3007, allocations: 0.5576 MB / 0.5634 GB, free: 2.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.655e-05/0.3008, allocations: 0 / 0.5634 GB, free: 2.84 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002537/0.301, allocations: 75.72 kB / 0.5634 GB, free: 2.766 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002704/0.3013, allocations: 95.64 kB / 0.5635 GB, free: 2.672 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002787/0.3016, allocations: 99.06 kB / 0.5636 GB, free: 2.578 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001672/0.3018, allocations: 79.77 kB / 0.5637 GB, free: 2.5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.3019, allocations: 14.8 kB / 0.5637 GB, free: 2.488 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.063e-05/0.3019, allocations: 39.89 kB / 0.5637 GB, free: 2.449 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001109/0.302, allocations: 55.81 kB / 0.5638 GB, free: 2.395 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.3021, allocations: 4 kB / 0.5638 GB, free: 2.391 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.182e-05/0.3021, allocations: 43.92 kB / 0.5638 GB, free: 2.348 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.282e-05/0.3022, allocations: 23.88 kB / 0.5639 GB, free: 2.324 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.789e-05/0.3022, allocations: 35.78 kB / 0.5639 GB, free: 2.289 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001877/0.3024, allocations: 99.47 kB / 0.564 GB, free: 2.191 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.3024, allocations: 0 / 0.564 GB, free: 2.191 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3024, allocations: 0 / 0.564 GB, free: 2.191 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.3024, allocations: 0 / 0.564 GB, free: 2.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.0005226/0.303, allocations: 422.7 kB / 0.5644 GB, free: 1.727 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.056e-05/0.303, allocations: 8.031 kB / 0.5644 GB, free: 1.719 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.857e-05/0.303, allocations: 12.84 kB / 0.5644 GB, free: 1.707 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002177/0.3033, allocations: 200.2 kB / 0.5646 GB, free: 1.473 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.987e-06/0.3033, allocations: 384 / 0.5646 GB, free: 1.473 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.184e-05/0.3033, allocations: 8.375 kB / 0.5646 GB, free: 1.465 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/0.3034, allocations: 50.19 kB / 0.5647 GB, free: 1.41 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.3034, allocations: 192 / 0.5647 GB, free: 1.41 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.678e-05/0.3035, allocations: 11.94 kB / 0.5647 GB, free: 1.398 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.3035, allocations: 7.984 kB / 0.5647 GB, free: 1.391 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.891e-05/0.3036, allocations: 27.97 kB / 0.5647 GB, free: 1.363 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00039/0.304, allocations: 292.8 kB / 0.565 GB, free: 1.027 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001216/0.3041, allocations: 42.5 kB / 0.565 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.622e-05/0.3041, allocations: 20.94 kB / 0.5651 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.3042, allocations: 4 kB / 0.5651 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/0.3042, allocations: 30.56 kB / 0.5651 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.3042, allocations: 0 / 0.5651 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008964/0.3051, allocations: 225.2 kB / 0.5653 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.189e-05/0.3051, allocations: 51.41 kB / 0.5654 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002193/0.3053, allocations: 203.3 kB / 0.5655 GB, free: 416 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.3054, allocations: 25.7 kB / 0.5656 GB, free: 384 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.633e-05/0.3054, allocations: 104.1 kB / 0.5657 GB, free: 276 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.48e-05/0.3055, allocations: 31.73 kB / 0.5657 GB, free: 244 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.959e-05/0.3055, allocations: 17.72 kB / 0.5657 GB, free: 220 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.3057, allocations: 334.7 kB / 0.566 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.721e-05/0.3058, allocations: 27.98 kB / 0.5661 GB, free: 15.85 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.836e-05/0.3058, allocations: 28.03 kB / 0.5661 GB, free: 15.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001631/0.306, allocations: 56.84 kB / 0.5661 GB, free: 15.77 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.306, allocations: 0 / 0.5661 GB, free: 15.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002248/0.3062, allocations: 101.6 kB / 0.5662 GB, free: 15.66 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.3062, allocations: 4 kB / 0.5662 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.3062, allocations: 4 kB / 0.5662 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.3063, allocations: 0 / 0.5662 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.3064, allocations: 23.92 kB / 0.5663 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.3064, allocations: 0 / 0.5663 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.675e-05/0.3064, allocations: 11.92 kB / 0.5663 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.3064, allocations: 4 kB / 0.5663 GB, free: 15.61 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.000115/0.3065, allocations: 125.8 kB / 0.5664 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.014e-05/0.3066, allocations: 11.91 kB / 0.5664 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002966/0.3069, allocations: 123.3 kB / 0.5665 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3069, allocations: 0 / 0.5665 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.3069, allocations: 0 / 0.5665 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.3069, allocations: 7.938 kB / 0.5665 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005712/0.3075, allocations: 399.2 kB / 0.5669 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3075, allocations: 0 / 0.5669 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.806e-05/0.3075, allocations: 28.02 kB / 0.567 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.3075, allocations: 0 / 0.567 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.3075, allocations: 3.938 kB / 0.567 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.3076, allocations: 11.92 kB / 0.567 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3076, allocations: 0 / 0.567 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002908/0.3078, allocations: 212.2 kB / 0.5672 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.586e-05/0.3079, allocations: 93.05 kB / 0.5673 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.98e-05/0.3079, allocations: 3.938 kB / 0.5673 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.724e-05/0.308, allocations: 4 kB / 0.5673 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.684e-05/0.308, allocations: 8.406 kB / 0.5673 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-06/0.308, allocations: 4 kB / 0.5673 GB, free: 14.48 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001475/0.3082, allocations: 153.6 kB / 0.5674 GB, free: 14.34 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3082, allocations: 0 / 0.5674 GB, free: 14.34 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002638/0.3085, allocations: 19.94 kB / 0.5674 GB, free: 14.32 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.001719/0.3102, allocations: 450.7 kB / 0.5679 GB, free: 14.04 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002357/0.3104, allocations: 67.88 kB / 0.5679 GB, free: 13.97 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.3104, allocations: 4 kB / 0.5679 GB, free: 13.97 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.967e-05/0.3105, allocations: 27.98 kB / 0.568 GB, free: 13.94 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003336/0.3108, allocations: 19.92 kB / 0.568 GB, free: 13.92 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005397/0.3114, allocations: 262.9 kB / 0.5682 GB, free: 13.63 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003799/0.3118, allocations: 0.7087 MB / 0.5689 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.53e-05/0.3118, allocations: 20.94 kB / 0.5689 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.524e-05/0.3119, allocations: 15.44 kB / 0.569 GB, free: 12.86 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3119, allocations: 0 / 0.569 GB, free: 12.86 MB / 414.1 MB Notification: Performance of Templates: time 0.004506/0.3164, allocations: 1.38 MB / 0.5703 GB, free: 11.48 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test3.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.846524764318019]