Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test23.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.001461/0.001461, allocations: 113.9 kB / 21.18 MB, free: 0.6289 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.001786/0.001786, allocations: 209.8 kB / 24.48 MB, free: 4.035 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.461/1.461, allocations: 230.2 MB / 257.8 MB, free: 8.523 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.2626/0.2626, allocations: 46.89 MB / 361.1 MB, free: 4.66 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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test23") [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.002445/0.002445, allocations: 87.86 kB / 0.4969 GB, free: 7.762 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3209/0.3234, allocations: 65.99 MB / 0.5613 GB, free: 5.039 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.003274/0.3267, allocations: 1.739 MB / 0.563 GB, free: 3.289 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001932/0.3286, allocations: 1.053 MB / 0.564 GB, free: 2.23 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.937e-05/0.3287, allocations: 0 / 0.564 GB, free: 2.23 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003221/0.329, allocations: 47.77 kB / 0.5641 GB, free: 2.184 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003281/0.3293, allocations: 87.61 kB / 0.5642 GB, free: 2.098 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002138/0.3295, allocations: 83.66 kB / 0.5642 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001893/0.3297, allocations: 103.7 kB / 0.5643 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.974e-05/0.3298, allocations: 11.94 kB / 0.5643 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.3299, allocations: 47.77 kB / 0.5644 GB, free: 1.855 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.258e-05/0.33, allocations: 31.8 kB / 0.5644 GB, free: 1.824 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.84e-05/0.33, allocations: 4 kB / 0.5644 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.972e-05/0.3301, allocations: 43.97 kB / 0.5645 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.022e-05/0.3302, allocations: 19.92 kB / 0.5645 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.735e-05/0.3303, allocations: 39.73 kB / 0.5645 GB, free: 1.719 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000231/0.3305, allocations: 130.2 kB / 0.5646 GB, free: 1.594 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3305, allocations: 0 / 0.5646 GB, free: 1.594 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3305, allocations: 4 kB / 0.5646 GB, free: 1.59 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.3305, allocations: 0 / 0.5646 GB, free: 1.59 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006046/0.3311, allocations: 426.6 kB / 0.5651 GB, free: 1.125 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.3311, allocations: 8.031 kB / 0.5651 GB, free: 1.117 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.55e-05/0.3312, allocations: 8.891 kB / 0.5651 GB, free: 1.109 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000308/0.3315, allocations: 220.1 kB / 0.5653 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.3315, allocations: 4.375 kB / 0.5653 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.823e-05/0.3315, allocations: 384 / 0.5653 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/0.3317, allocations: 65.92 kB / 0.5653 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.3317, allocations: 4 kB / 0.5654 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.3317, allocations: 0 / 0.5654 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.216e-06/0.3317, allocations: 0 / 0.5654 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.712e-05/0.3318, allocations: 23.98 kB / 0.5654 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00039/0.3322, allocations: 296.8 kB / 0.5657 GB, free: 424 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001677/0.3323, allocations: 58.62 kB / 0.5657 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.267e-05/0.3324, allocations: 20.84 kB / 0.5657 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/0.3324, allocations: 0 / 0.5657 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001521/0.3326, allocations: 63.39 kB / 0.5658 GB, free: 256 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.3326, allocations: 0 / 0.5658 GB, free: 256 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005298/0.3331, allocations: 185.3 kB / 0.566 GB, free: 64 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.361e-05/0.3332, allocations: 55.45 kB / 0.566 GB, free: 15.99 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002207/0.3334, allocations: 210.1 kB / 0.5662 GB, free: 15.78 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/0.3334, allocations: 29.64 kB / 0.5663 GB, free: 15.74 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.772e-05/0.3335, allocations: 104.1 kB / 0.5664 GB, free: 15.64 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.803e-05/0.3335, allocations: 27.78 kB / 0.5664 GB, free: 15.61 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.303e-05/0.3336, allocations: 21.72 kB / 0.5664 GB, free: 15.58 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.3337, allocations: 330.8 kB / 0.5667 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.748e-05/0.3338, allocations: 15.98 kB / 0.5667 GB, free: 15.23 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.948e-05/0.3339, allocations: 45.64 kB / 0.5668 GB, free: 15.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001172/0.334, allocations: 61.7 kB / 0.5668 GB, free: 15.12 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.334, allocations: 0 / 0.5668 GB, free: 15.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002/0.3342, allocations: 105.6 kB / 0.5669 GB, free: 15.01 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.3342, allocations: 4 kB / 0.5669 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.3342, allocations: 0 / 0.5669 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.3342, allocations: 4 kB / 0.5669 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.287e-05/0.3343, allocations: 20.02 kB / 0.567 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.3343, allocations: 0 / 0.567 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.879e-05/0.3344, allocations: 8 kB / 0.567 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.3344, allocations: 0 / 0.567 GB, free: 14.97 MB / 414.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 0.0001173/0.3345, allocations: 137.7 kB / 0.5671 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.89e-05/0.3345, allocations: 19.84 kB / 0.5671 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002435/0.3348, allocations: 111 kB / 0.5672 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.798e-06/0.3348, allocations: 0 / 0.5672 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3348, allocations: 4 kB / 0.5672 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.582e-05/0.3348, allocations: 85.06 kB / 0.5673 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.387e-05/0.3348, allocations: 4 kB / 0.5673 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.598e-05/0.3349, allocations: 12.3 kB / 0.5673 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.609e-05/0.3349, allocations: 0 / 0.5673 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002227/0.3351, allocations: 180.9 kB / 0.5675 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002734/0.3354, allocations: 278.7 kB / 0.5678 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.161e-05/0.3355, allocations: 19.98 kB / 0.5678 GB, free: 14.08 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001406/0.3356, allocations: 164.8 kB / 0.5679 GB, free: 13.92 MB / 414.1 MB Notification: Performance of Backend: time 2.71e-07/0.3356, allocations: 0 / 0.5679 GB, free: 13.92 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002033/0.3376, allocations: 491.3 kB / 0.5684 GB, free: 13.61 MB / 414.1 MB Notification: Performance of SimCode: time 0.0007534/0.3384, allocations: 0.6824 MB / 0.5691 GB, free: 12.88 MB / 414.1 MB Notification: Performance of Templates: time 0.005022/0.3434, allocations: 1.82 MB / 0.5709 GB, free: 11.07 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test23.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.883081710897386]