Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test15.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.001708/0.001708, 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.00214/0.00214, allocations: 205.6 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.475/1.475, allocations: 230.2 MB / 257.8 MB, free: 8.496 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.2266/0.2266, allocations: 46.9 MB / 361.1 MB, free: 4.617 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.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test15") [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.002377/0.002377, allocations: 75.88 kB / 0.4968 GB, free: 8.277 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3181/0.3204, allocations: 65.97 MB / 0.5613 GB, free: 34.49 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.002609/0.3231, allocations: 1.745 MB / 0.563 GB, free: 33.29 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001375/0.3244, allocations: 1.05 MB / 0.564 GB, free: 32.59 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.965e-05/0.3245, allocations: 3.938 kB / 0.564 GB, free: 32.58 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002546/0.3248, allocations: 42.19 kB / 0.564 GB, free: 32.56 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002613/0.325, allocations: 93.66 kB / 0.5641 GB, free: 32.51 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001689/0.3252, allocations: 78.14 kB / 0.5642 GB, free: 32.47 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001502/0.3253, allocations: 111.9 kB / 0.5643 GB, free: 32.42 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.296e-05/0.3254, allocations: 7 kB / 0.5643 GB, free: 32.41 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.119e-05/0.3255, allocations: 44.55 kB / 0.5644 GB, free: 32.39 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.428e-05/0.3256, allocations: 32.75 kB / 0.5644 GB, free: 32.38 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.3256, allocations: 5.219 kB / 0.5644 GB, free: 32.38 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.995e-05/0.3257, allocations: 39.27 kB / 0.5644 GB, free: 32.37 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.796e-05/0.3257, allocations: 17.36 kB / 0.5645 GB, free: 32.36 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.227e-05/0.3258, allocations: 40.7 kB / 0.5645 GB, free: 32.33 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001751/0.3259, allocations: 118.3 kB / 0.5646 GB, free: 32.28 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3259, allocations: 5.406 kB / 0.5646 GB, free: 32.28 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3259, allocations: 0 / 0.5646 GB, free: 32.28 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.199e-05/0.326, allocations: 0 / 0.5646 GB, free: 32.28 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004698/0.3264, allocations: 418.6 kB / 0.565 GB, free: 31.87 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.964e-05/0.3265, allocations: 9.25 kB / 0.565 GB, free: 31.87 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.569e-05/0.3265, allocations: 19.56 kB / 0.565 GB, free: 31.86 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001964/0.3267, allocations: 201.1 kB / 0.5652 GB, free: 31.64 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.3267, allocations: 8.781 kB / 0.5652 GB, free: 31.64 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.803e-05/0.3267, allocations: 3.188 kB / 0.5652 GB, free: 31.64 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001325/0.3269, allocations: 63.08 kB / 0.5653 GB, free: 31.59 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.3269, allocations: 5.125 kB / 0.5653 GB, free: 31.59 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.3269, allocations: 0 / 0.5653 GB, free: 31.59 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.3269, allocations: 0 / 0.5653 GB, free: 31.59 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.851e-05/0.327, allocations: 18.19 kB / 0.5653 GB, free: 31.59 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002764/0.3272, allocations: 283.2 kB / 0.5656 GB, free: 31.3 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001521/0.3274, allocations: 60.66 kB / 0.5657 GB, free: 31.27 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.632e-05/0.3274, allocations: 18.73 kB / 0.5657 GB, free: 31.26 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/0.3275, allocations: 4 kB / 0.5657 GB, free: 31.25 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001265/0.3276, allocations: 67 kB / 0.5657 GB, free: 31.2 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.3276, allocations: 3.812 kB / 0.5657 GB, free: 31.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004829/0.3281, allocations: 170.9 kB / 0.5659 GB, free: 31.11 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.921e-05/0.3281, allocations: 53.2 kB / 0.566 GB, free: 31.05 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/0.3282, allocations: 184.5 kB / 0.5661 GB, free: 30.92 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.999e-06/0.3282, allocations: 28.33 kB / 0.5662 GB, free: 30.89 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.702e-05/0.3283, allocations: 101.4 kB / 0.5663 GB, free: 30.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.33e-05/0.3283, allocations: 25.69 kB / 0.5663 GB, free: 30.78 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.143e-05/0.3283, allocations: 19.69 kB / 0.5663 GB, free: 30.76 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.213e-05/0.3284, allocations: 332 kB / 0.5666 GB, free: 30.43 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.163e-05/0.3284, allocations: 20.48 kB / 0.5666 GB, free: 30.43 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.328e-05/0.3285, allocations: 42.33 kB / 0.5667 GB, free: 30.4 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.551e-05/0.3286, allocations: 63.66 kB / 0.5667 GB, free: 30.36 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.3286, allocations: 0 / 0.5667 GB, free: 30.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001559/0.3287, allocations: 106.2 kB / 0.5668 GB, free: 30.3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.3288, allocations: 6.062 kB / 0.5668 GB, free: 30.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.3288, allocations: 0 / 0.5668 GB, free: 30.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.3288, allocations: 0 / 0.5668 GB, free: 30.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.375e-05/0.3289, allocations: 26.16 kB / 0.5669 GB, free: 30.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.3289, allocations: 0 / 0.5669 GB, free: 30.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.466e-05/0.3289, allocations: 3 kB / 0.5669 GB, free: 30.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.3289, allocations: 10.94 kB / 0.5669 GB, free: 30.29 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 6.73e-05/0.329, allocations: 131.7 kB / 0.567 GB, free: 30.16 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.148e-05/0.329, allocations: 13.69 kB / 0.567 GB, free: 30.15 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002084/0.3292, allocations: 112.3 kB / 0.5671 GB, free: 30.09 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.3292, allocations: 3.984 kB / 0.5671 GB, free: 30.09 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.3292, allocations: 3 kB / 0.5671 GB, free: 30.09 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.3292, allocations: 0 / 0.5671 GB, free: 30.09 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003401/0.3296, allocations: 399 kB / 0.5675 GB, free: 29.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.3296, allocations: 3 kB / 0.5675 GB, free: 29.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.185e-05/0.3296, allocations: 7.234 kB / 0.5675 GB, free: 29.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3296, allocations: 0 / 0.5675 GB, free: 29.73 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.024e-05/0.3296, allocations: 4.125 kB / 0.5675 GB, free: 29.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.3296, allocations: 3.938 kB / 0.5675 GB, free: 29.73 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.3296, allocations: 3 kB / 0.5675 GB, free: 29.73 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001849/0.3298, allocations: 205.3 kB / 0.5677 GB, free: 29.56 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.033e-05/0.3298, allocations: 85.47 kB / 0.5678 GB, free: 29.46 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.482e-05/0.3299, allocations: 7.609 kB / 0.5678 GB, free: 29.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.257e-05/0.3299, allocations: 7.812 kB / 0.5678 GB, free: 29.45 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.946e-05/0.33, allocations: 5.609 kB / 0.5678 GB, free: 29.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.33, allocations: 3.734 kB / 0.5678 GB, free: 29.45 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.799e-05/0.3301, allocations: 139.8 kB / 0.568 GB, free: 29.36 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3301, allocations: 0 / 0.568 GB, free: 29.36 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002603/0.3303, allocations: 28.14 kB / 0.568 GB, free: 29.36 MB / 446.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001632/0.332, allocations: 467.9 kB / 0.5684 GB, free: 29.14 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001893/0.3322, allocations: 55.55 kB / 0.5685 GB, free: 29.12 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3322, allocations: 0 / 0.5685 GB, free: 29.12 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.562e-05/0.3322, allocations: 26.22 kB / 0.5685 GB, free: 29.11 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003451/0.3326, allocations: 33.44 kB / 0.5685 GB, free: 29.11 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003838/0.3329, allocations: 241.2 kB / 0.5688 GB, free: 28.93 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001293/0.3331, allocations: 0.7048 MB / 0.5695 GB, free: 28.23 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.748e-05/0.3331, allocations: 17.73 kB / 0.5695 GB, free: 28.22 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.325e-05/0.3332, allocations: 18.72 kB / 0.5695 GB, free: 28.21 MB / 446.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3332, allocations: 0 / 0.5695 GB, free: 28.21 MB / 446.1 MB Notification: Performance of Templates: time 0.00434/0.3375, allocations: 1.77 MB / 0.5712 GB, free: 28.01 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test15.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test15.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: 5.06942065898329]