Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.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.001726/0.001726, allocations: 112.2 kB / 21.19 MB, free: 0.7812 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.00215/0.00215, allocations: 214.5 kB / 24.49 MB, free: 4.18 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.516/1.516, allocations: 230.6 MB / 258.3 MB, free: 7.988 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.2266/0.2266, allocations: 44.91 MB / 359.6 MB, free: 6.281 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.Test74,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.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,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.Test74") [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.00213/0.00213, allocations: 63.89 kB / 0.4944 GB, free: 10.14 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.3298, allocations: 65.47 MB / 0.5583 GB, free: 7.691 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003584/0.3334, allocations: 1.941 MB / 0.5602 GB, free: 5.758 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002021/0.3354, allocations: 1.154 MB / 0.5613 GB, free: 4.602 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.349e-05/0.3355, allocations: 7.938 kB / 0.5614 GB, free: 4.594 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004953/0.336, allocations: 259.3 kB / 0.5616 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004719/0.3364, allocations: 231.2 kB / 0.5618 GB, free: 4.113 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002679/0.3367, allocations: 115.6 kB / 0.5619 GB, free: 4 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003777/0.3371, allocations: 271.3 kB / 0.5622 GB, free: 3.734 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.3372, allocations: 21.89 kB / 0.5622 GB, free: 3.711 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002076/0.3374, allocations: 143.5 kB / 0.5624 GB, free: 3.57 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002593/0.3377, allocations: 207.4 kB / 0.5625 GB, free: 3.367 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.678e-05/0.3377, allocations: 8 kB / 0.5626 GB, free: 3.359 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001368/0.3378, allocations: 71.91 kB / 0.5626 GB, free: 3.289 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.931e-05/0.3379, allocations: 63.7 kB / 0.5627 GB, free: 3.227 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001/0.338, allocations: 99.22 kB / 0.5628 GB, free: 3.129 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003449/0.3384, allocations: 253.2 kB / 0.563 GB, free: 2.887 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.3384, allocations: 7.938 kB / 0.563 GB, free: 2.879 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3384, allocations: 0 / 0.563 GB, free: 2.879 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.025e-05/0.3384, allocations: 0 / 0.563 GB, free: 2.879 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.0007507/0.3391, allocations: 0.5196 MB / 0.5635 GB, free: 2.328 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.3392, allocations: 12.03 kB / 0.5635 GB, free: 2.316 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.991e-05/0.3392, allocations: 28.75 kB / 0.5636 GB, free: 2.289 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003918/0.3396, allocations: 244.8 kB / 0.5638 GB, free: 2.023 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.3396, allocations: 4.375 kB / 0.5638 GB, free: 2.02 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.163e-05/0.3397, allocations: 12.12 kB / 0.5638 GB, free: 2.008 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000244/0.3399, allocations: 111.3 kB / 0.5639 GB, free: 1.887 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.3399, allocations: 0 / 0.5639 GB, free: 1.887 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.3399, allocations: 4 kB / 0.5639 GB, free: 1.883 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.3399, allocations: 0 / 0.5639 GB, free: 1.883 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001304/0.3401, allocations: 47.91 kB / 0.564 GB, free: 1.836 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005973/0.3407, allocations: 455.8 kB / 0.5644 GB, free: 1.344 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000374/0.3411, allocations: 121.2 kB / 0.5645 GB, free: 1.207 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.413e-05/0.3411, allocations: 37.83 kB / 0.5646 GB, free: 1.164 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.162e-05/0.3412, allocations: 4 kB / 0.5646 GB, free: 1.16 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002418/0.3414, allocations: 137 kB / 0.5647 GB, free: 1.008 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.513e-06/0.3414, allocations: 0 / 0.5647 GB, free: 1.008 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001288/0.3427, allocations: 0.5085 MB / 0.5652 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.788e-05/0.3428, allocations: 85.11 kB / 0.5653 GB, free: 400 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005447/0.3433, allocations: 0.4938 MB / 0.5658 GB, free: 15.88 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.746e-05/0.3433, allocations: 29.7 kB / 0.5658 GB, free: 15.85 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/0.3435, allocations: 168.5 kB / 0.566 GB, free: 15.68 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.991e-05/0.3435, allocations: 71.34 kB / 0.566 GB, free: 15.61 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.563e-05/0.3436, allocations: 45.7 kB / 0.5661 GB, free: 15.56 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.3438, allocations: 350.8 kB / 0.5664 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001268/0.3439, allocations: 51.97 kB / 0.5664 GB, free: 15.16 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001467/0.344, allocations: 99.28 kB / 0.5665 GB, free: 15.05 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002834/0.3443, allocations: 163.4 kB / 0.5667 GB, free: 14.88 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.3443, allocations: 0 / 0.5667 GB, free: 14.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004138/0.3447, allocations: 237.3 kB / 0.5669 GB, free: 14.64 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.3447, allocations: 7.938 kB / 0.5669 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.3447, allocations: 4 kB / 0.5669 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.3448, allocations: 0 / 0.5669 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000148/0.3449, allocations: 51.91 kB / 0.567 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.3449, allocations: 0 / 0.567 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.944e-05/0.345, allocations: 8 kB / 0.567 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.437e-05/0.345, allocations: 11.98 kB / 0.567 GB, free: 14.55 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.0001783/0.3452, allocations: 182.3 kB / 0.5672 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.295e-05/0.3452, allocations: 43.69 kB / 0.5672 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005041/0.3457, allocations: 265.6 kB / 0.5675 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.3457, allocations: 4 kB / 0.5675 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.3457, allocations: 0 / 0.5675 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.3458, allocations: 0 / 0.5675 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009235/0.3467, allocations: 0.7107 MB / 0.5682 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.3467, allocations: 4 kB / 0.5682 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.491e-05/0.3468, allocations: 35.92 kB / 0.5682 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.746e-06/0.3468, allocations: 0 / 0.5682 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.656e-05/0.3468, allocations: 8.188 kB / 0.5682 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.3468, allocations: 4 kB / 0.5682 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3468, allocations: 3.938 kB / 0.5682 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004832/0.3473, allocations: 431.6 kB / 0.5686 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.636e-05/0.3473, allocations: 35.75 kB / 0.5687 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.282e-05/0.3474, allocations: 11.98 kB / 0.5687 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001435/0.3475, allocations: 12 kB / 0.5687 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.96e-05/0.3476, allocations: 23.84 kB / 0.5687 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.362e-05/0.3476, allocations: 12 kB / 0.5687 GB, free: 12.68 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000378/0.348, allocations: 375.1 kB / 0.5691 GB, free: 12.32 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.348, allocations: 0 / 0.5691 GB, free: 12.32 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003668/0.3483, allocations: 47.94 kB / 0.5691 GB, free: 12.27 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 (22): * Single equations (assignments): 18 * 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.001917/0.3503, allocations: 0.5186 MB / 0.5696 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003548/0.3506, allocations: 147.7 kB / 0.5698 GB, free: 11.81 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3506, allocations: 0 / 0.5698 GB, free: 11.81 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001543/0.3508, allocations: 75.84 kB / 0.5698 GB, free: 11.74 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000563/0.3513, allocations: 63.69 kB / 0.5699 GB, free: 11.68 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009968/0.3523, allocations: 0.6388 MB / 0.5705 GB, free: 10.99 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004199/0.3527, allocations: 0.7831 MB / 0.5713 GB, free: 10.18 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.947e-05/0.3528, allocations: 31.42 kB / 0.5713 GB, free: 10.15 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3528, allocations: 0 / 0.5713 GB, free: 10.15 MB / 414.1 MB Notification: Performance of Templates: time 0.006493/0.3593, allocations: 3.885 MB / 0.5751 GB, free: 6.277 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.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: 7.966519686160609]