Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test42.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.002127/0.002127, allocations: 114.5 kB / 21.18 MB, free: 0.7422 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.002283/0.002283, allocations: 211.4 kB / 24.48 MB, free: 4.191 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.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.2258/0.2258, allocations: 46.9 MB / 361.1 MB, free: 4.621 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.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test42") [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.002568/0.002568, allocations: 83.81 kB / 0.4969 GB, free: 7.715 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3218/0.3244, allocations: 65.99 MB / 0.5613 GB, free: 4.969 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.003899/0.3283, allocations: 1.739 MB / 0.563 GB, free: 3.219 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0019/0.3302, allocations: 1.056 MB / 0.564 GB, free: 2.156 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.634e-05/0.3303, allocations: 0 / 0.564 GB, free: 2.156 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003301/0.3306, allocations: 43.78 kB / 0.5641 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003447/0.331, allocations: 95.59 kB / 0.5642 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002237/0.3312, allocations: 79.66 kB / 0.5642 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001902/0.3314, allocations: 103.7 kB / 0.5643 GB, free: 1.84 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.3315, allocations: 4 kB / 0.5643 GB, free: 1.836 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001047/0.3316, allocations: 51.77 kB / 0.5644 GB, free: 1.785 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.009e-05/0.3317, allocations: 35.8 kB / 0.5644 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.689e-05/0.3317, allocations: 4 kB / 0.5644 GB, free: 1.746 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/0.3318, allocations: 39.98 kB / 0.5645 GB, free: 1.707 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.993e-05/0.3319, allocations: 23.91 kB / 0.5645 GB, free: 1.684 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.137e-05/0.3319, allocations: 35.73 kB / 0.5645 GB, free: 1.648 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002478/0.3322, allocations: 130.1 kB / 0.5646 GB, free: 1.523 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.3322, allocations: 0 / 0.5646 GB, free: 1.523 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3322, allocations: 0 / 0.5646 GB, free: 1.523 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.3322, allocations: 0 / 0.5646 GB, free: 1.523 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.0006391/0.3328, allocations: 434.6 kB / 0.5651 GB, free: 1.051 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.3329, allocations: 8.031 kB / 0.5651 GB, free: 1.043 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.579e-05/0.3329, allocations: 8.891 kB / 0.5651 GB, free: 1.035 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003216/0.3332, allocations: 228.1 kB / 0.5653 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.3332, allocations: 4.375 kB / 0.5653 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.524e-05/0.3333, allocations: 8.359 kB / 0.5653 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/0.3334, allocations: 57.98 kB / 0.5654 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.3334, allocations: 0 / 0.5654 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.3334, allocations: 7.984 kB / 0.5654 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.3334, allocations: 0 / 0.5654 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.884e-05/0.3335, allocations: 23.92 kB / 0.5654 GB, free: 0.668 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003953/0.3339, allocations: 284.8 kB / 0.5657 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001756/0.3341, allocations: 54.69 kB / 0.5657 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.562e-05/0.3342, allocations: 24.84 kB / 0.5657 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/0.3342, allocations: 0 / 0.5657 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001903/0.3344, allocations: 67.33 kB / 0.5658 GB, free: 176 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.3344, allocations: 4 kB / 0.5658 GB, free: 172 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005573/0.3349, allocations: 181.3 kB / 0.566 GB, free: 15.98 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.335, allocations: 51.41 kB / 0.566 GB, free: 15.92 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002195/0.3352, allocations: 214.1 kB / 0.5662 GB, free: 15.7 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.42e-05/0.3352, allocations: 33.69 kB / 0.5663 GB, free: 15.66 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.698e-05/0.3353, allocations: 96.14 kB / 0.5664 GB, free: 15.57 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.461e-05/0.3353, allocations: 27.78 kB / 0.5664 GB, free: 15.54 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.754e-05/0.3354, allocations: 25.72 kB / 0.5664 GB, free: 15.51 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.3355, allocations: 326.8 kB / 0.5667 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.593e-05/0.3356, allocations: 23.98 kB / 0.5667 GB, free: 15.16 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.693e-05/0.3357, allocations: 33.7 kB / 0.5668 GB, free: 15.12 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001222/0.3358, allocations: 65.64 kB / 0.5668 GB, free: 15.05 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.3358, allocations: 0 / 0.5668 GB, free: 15.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001889/0.336, allocations: 101.6 kB / 0.5669 GB, free: 14.94 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.336, allocations: 4 kB / 0.5669 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.336, allocations: 4 kB / 0.5669 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.336, allocations: 0 / 0.5669 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.181e-05/0.3361, allocations: 19.92 kB / 0.567 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.3361, allocations: 4.031 kB / 0.567 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.852e-05/0.3362, allocations: 4 kB / 0.567 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-06/0.3362, allocations: 4.375 kB / 0.567 GB, free: 14.9 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.0001132/0.3363, allocations: 129.8 kB / 0.5671 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.727e-05/0.3363, allocations: 15.91 kB / 0.5671 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002554/0.3366, allocations: 127.1 kB / 0.5672 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.3366, allocations: 0 / 0.5672 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.3366, allocations: 4 kB / 0.5672 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.362e-05/0.3366, allocations: 89.06 kB / 0.5673 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.508e-05/0.3367, allocations: 3.984 kB / 0.5673 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.144e-05/0.3367, allocations: 7.938 kB / 0.5673 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.175e-05/0.3367, allocations: 4 kB / 0.5673 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002359/0.337, allocations: 168.9 kB / 0.5675 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002857/0.3373, allocations: 278.6 kB / 0.5678 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.386e-05/0.3373, allocations: 27.98 kB / 0.5678 GB, free: 14 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001512/0.3375, allocations: 160.8 kB / 0.5679 GB, free: 13.85 MB / 414.1 MB Notification: Performance of Backend: time 2.91e-07/0.3375, allocations: 0 / 0.5679 GB, free: 13.85 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002033/0.3395, allocations: 479.2 kB / 0.5684 GB, free: 13.55 MB / 414.1 MB Notification: Performance of SimCode: time 0.000809/0.3403, allocations: 0.6892 MB / 0.5691 GB, free: 12.81 MB / 414.1 MB Notification: Performance of Templates: time 0.005356/0.3457, allocations: 1.822 MB / 0.5709 GB, free: 11 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test42.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test42.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.797201651148498]