Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001667/0.001667, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002025/0.002025, allocations: 210.9 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.638/1.638, allocations: 230.6 MB / 257.5 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2342/0.2342, allocations: 44.93 MB / 358.8 MB, free: 6.062 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002139/0.002139, allocations: 67.91 kB / 0.4936 GB, free: 9.961 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3274/0.3295, allocations: 65.46 MB / 0.5575 GB, free: 7.461 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003349/0.3329, allocations: 1.884 MB / 0.5594 GB, free: 5.562 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002008/0.3349, allocations: 1.073 MB / 0.5604 GB, free: 4.484 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.433e-05/0.335, allocations: 3.938 kB / 0.5604 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004521/0.3354, allocations: 163.5 kB / 0.5606 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000445/0.3359, allocations: 179.3 kB / 0.5607 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000265/0.3361, allocations: 115.7 kB / 0.5608 GB, free: 4.031 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003323/0.3364, allocations: 255.2 kB / 0.5611 GB, free: 3.781 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/0.3366, allocations: 21.95 kB / 0.5611 GB, free: 3.758 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001604/0.3367, allocations: 107.6 kB / 0.5612 GB, free: 3.652 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000193/0.3369, allocations: 143.5 kB / 0.5614 GB, free: 3.512 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.702e-05/0.337, allocations: 8 kB / 0.5614 GB, free: 3.504 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000144/0.3371, allocations: 63.98 kB / 0.5614 GB, free: 3.441 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001006/0.3372, allocations: 55.77 kB / 0.5615 GB, free: 3.387 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.312e-05/0.3373, allocations: 59.55 kB / 0.5615 GB, free: 3.328 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003292/0.3376, allocations: 237.2 kB / 0.5618 GB, free: 3.102 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.3376, allocations: 0 / 0.5618 GB, free: 3.102 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3376, allocations: 0 / 0.5618 GB, free: 3.102 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.3376, allocations: 4 kB / 0.5618 GB, free: 3.098 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008024/0.3384, allocations: 484.5 kB / 0.5622 GB, free: 2.594 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.3385, allocations: 8.031 kB / 0.5622 GB, free: 2.586 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.005e-05/0.3385, allocations: 28.75 kB / 0.5623 GB, free: 2.559 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003746/0.3389, allocations: 218.5 kB / 0.5625 GB, free: 2.324 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.3389, allocations: 384 / 0.5625 GB, free: 2.324 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.404e-05/0.339, allocations: 16.12 kB / 0.5625 GB, free: 2.309 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002592/0.3392, allocations: 107.3 kB / 0.5626 GB, free: 2.191 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.3392, allocations: 3.984 kB / 0.5626 GB, free: 2.188 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.3392, allocations: 8 kB / 0.5626 GB, free: 2.18 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.3393, allocations: 4 kB / 0.5626 GB, free: 2.176 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001439/0.3394, allocations: 51.91 kB / 0.5626 GB, free: 2.125 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005662/0.34, allocations: 400.5 kB / 0.563 GB, free: 1.699 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003915/0.3404, allocations: 121.2 kB / 0.5631 GB, free: 1.562 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001102/0.3405, allocations: 45.81 kB / 0.5632 GB, free: 1.512 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.575e-05/0.3405, allocations: 7.984 kB / 0.5632 GB, free: 1.504 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002361/0.3407, allocations: 133 kB / 0.5633 GB, free: 1.355 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.333e-06/0.3407, allocations: 0 / 0.5633 GB, free: 1.355 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001346/0.3421, allocations: 0.4976 MB / 0.5638 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.943e-05/0.3421, allocations: 85.05 kB / 0.5639 GB, free: 0.75 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004205/0.3426, allocations: 388.4 kB / 0.5643 GB, free: 364 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.56e-05/0.3426, allocations: 29.7 kB / 0.5643 GB, free: 328 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/0.3427, allocations: 152.5 kB / 0.5644 GB, free: 168 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.329e-05/0.3428, allocations: 79.36 kB / 0.5645 GB, free: 88 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.599e-05/0.3428, allocations: 41.7 kB / 0.5646 GB, free: 40 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001805/0.343, allocations: 338.9 kB / 0.5649 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001343/0.3431, allocations: 63.91 kB / 0.5649 GB, free: 15.64 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001622/0.3433, allocations: 99.33 kB / 0.565 GB, free: 15.53 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003037/0.3436, allocations: 167.4 kB / 0.5652 GB, free: 15.35 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.3436, allocations: 0 / 0.5652 GB, free: 15.35 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004822/0.3441, allocations: 233.3 kB / 0.5654 GB, free: 15.12 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/0.3441, allocations: 6.5 kB / 0.5654 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.3441, allocations: 3.938 kB / 0.5654 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.09e-05/0.3442, allocations: 7.984 kB / 0.5654 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001597/0.3443, allocations: 43.92 kB / 0.5655 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.794e-06/0.3443, allocations: 4 kB / 0.5655 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.675e-05/0.3444, allocations: 8 kB / 0.5655 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.174e-05/0.3444, allocations: 11.98 kB / 0.5655 GB, free: 15.04 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001831/0.3446, allocations: 158.4 kB / 0.5656 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.214e-05/0.3447, allocations: 31.81 kB / 0.5657 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005742/0.3452, allocations: 275.2 kB / 0.5659 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.3452, allocations: 4 kB / 0.5659 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.3452, allocations: 0 / 0.5659 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.3453, allocations: 4 kB / 0.5659 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009433/0.3462, allocations: 0.6644 MB / 0.5666 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.3462, allocations: 4.125 kB / 0.5666 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/0.3463, allocations: 35.98 kB / 0.5666 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.3463, allocations: 0 / 0.5666 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.711e-05/0.3463, allocations: 7.938 kB / 0.5666 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.019e-06/0.3463, allocations: 4.234 kB / 0.5666 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.3463, allocations: 192 / 0.5666 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005431/0.3469, allocations: 455.2 kB / 0.5671 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.083e-05/0.3469, allocations: 19.86 kB / 0.5671 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.49e-05/0.347, allocations: 8 kB / 0.5671 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001508/0.3471, allocations: 19.98 kB / 0.5671 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.035e-05/0.3472, allocations: 23.91 kB / 0.5671 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.491e-05/0.3472, allocations: 8 kB / 0.5672 GB, free: 13.24 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003114/0.3475, allocations: 287 kB / 0.5674 GB, free: 12.96 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3475, allocations: 0 / 0.5674 GB, free: 12.96 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003727/0.3479, allocations: 55.83 kB / 0.5675 GB, free: 12.91 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002227/0.3501, allocations: 0.557 MB / 0.568 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000401/0.3505, allocations: 159.8 kB / 0.5682 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.3505, allocations: 0 / 0.5682 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001831/0.3507, allocations: 79.84 kB / 0.5683 GB, free: 12.35 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005621/0.3513, allocations: 66.67 kB / 0.5683 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009435/0.3522, allocations: 0.5119 MB / 0.5688 GB, free: 11.74 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001786/0.3524, allocations: 161.8 kB / 0.569 GB, free: 11.56 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001169/0.3525, allocations: 41.91 kB / 0.569 GB, free: 11.52 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.071e-05/0.3526, allocations: 35.42 kB / 0.569 GB, free: 11.48 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3526, allocations: 0 / 0.569 GB, free: 11.48 MB / 414.1 MB Notification: Performance of Templates: time 0.008128/0.3607, allocations: 3.493 MB / 0.5725 GB, free: 8.043 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.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.511339779943228]