Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.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.001683/0.001683, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.002251/0.002251, allocations: 209.8 kB / 24.5 MB, free: 4.133 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.507/1.507, allocations: 230.6 MB / 258.3 MB, free: 8.012 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.2255/0.2255, allocations: 44.91 MB / 359.6 MB, free: 6.289 MB / 286.1 MB " [Timeout remaining time 179] 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.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48") [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.002216/0.002216, allocations: 63.89 kB / 0.4944 GB, free: 10.15 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3193/0.3216, allocations: 65.47 MB / 0.5583 GB, free: 7.707 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.00316/0.3247, allocations: 1.744 MB / 0.56 GB, free: 5.961 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001744/0.3265, allocations: 1.056 MB / 0.561 GB, free: 4.902 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.095e-05/0.3265, allocations: 0 / 0.561 GB, free: 4.902 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000286/0.3268, allocations: 63.69 kB / 0.5611 GB, free: 4.84 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002867/0.3271, allocations: 99.59 kB / 0.5612 GB, free: 4.742 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001909/0.3273, allocations: 83.66 kB / 0.5613 GB, free: 4.66 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001858/0.3275, allocations: 103.7 kB / 0.5614 GB, free: 4.559 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.775e-05/0.3276, allocations: 4 kB / 0.5614 GB, free: 4.555 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001107/0.3277, allocations: 55.7 kB / 0.5614 GB, free: 4.5 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.977e-05/0.3278, allocations: 27.86 kB / 0.5615 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.746e-05/0.3278, allocations: 8 kB / 0.5615 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.117e-05/0.3279, allocations: 39.98 kB / 0.5615 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.658e-05/0.3279, allocations: 31.84 kB / 0.5615 GB, free: 4.395 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.68e-05/0.328, allocations: 47.61 kB / 0.5616 GB, free: 4.348 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002169/0.3282, allocations: 137.8 kB / 0.5617 GB, free: 4.219 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.3282, allocations: 3.984 kB / 0.5617 GB, free: 4.215 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.3282, allocations: 0 / 0.5617 GB, free: 4.215 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.3282, allocations: 0 / 0.5617 GB, free: 4.215 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.0005624/0.3288, allocations: 377.2 kB / 0.5621 GB, free: 3.816 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.179e-05/0.3288, allocations: 12.03 kB / 0.5621 GB, free: 3.805 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.577e-05/0.3289, allocations: 16.84 kB / 0.5621 GB, free: 3.789 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002626/0.3291, allocations: 159.3 kB / 0.5623 GB, free: 3.605 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.3291, allocations: 8.312 kB / 0.5623 GB, free: 3.598 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.833e-05/0.3292, allocations: 4.125 kB / 0.5623 GB, free: 3.594 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/0.3293, allocations: 53.67 kB / 0.5623 GB, free: 3.535 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.3293, allocations: 0 / 0.5623 GB, free: 3.535 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.3293, allocations: 4 kB / 0.5623 GB, free: 3.531 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.396e-06/0.3293, allocations: 0 / 0.5623 GB, free: 3.531 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.306e-05/0.3294, allocations: 15.98 kB / 0.5623 GB, free: 3.516 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003804/0.3298, allocations: 283.8 kB / 0.5626 GB, free: 3.195 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001672/0.3299, allocations: 58.61 kB / 0.5627 GB, free: 3.129 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.15e-05/0.33, allocations: 20.78 kB / 0.5627 GB, free: 3.105 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.772e-05/0.33, allocations: 4 kB / 0.5627 GB, free: 3.102 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001419/0.3302, allocations: 67.39 kB / 0.5628 GB, free: 3.023 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.3302, allocations: 0 / 0.5628 GB, free: 3.023 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005321/0.3307, allocations: 185.3 kB / 0.5629 GB, free: 2.836 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.143e-05/0.3307, allocations: 51.41 kB / 0.563 GB, free: 2.773 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000292/0.331, allocations: 275.8 kB / 0.5632 GB, free: 2.492 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.331, allocations: 29.7 kB / 0.5633 GB, free: 2.457 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.919e-05/0.3311, allocations: 120.1 kB / 0.5634 GB, free: 2.336 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.098e-05/0.3312, allocations: 27.78 kB / 0.5634 GB, free: 2.309 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.773e-05/0.3312, allocations: 17.72 kB / 0.5634 GB, free: 2.285 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.3314, allocations: 334.8 kB / 0.5638 GB, free: 1.949 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.922e-05/0.3314, allocations: 23.92 kB / 0.5638 GB, free: 1.926 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.594e-05/0.3315, allocations: 37.7 kB / 0.5638 GB, free: 1.883 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001262/0.3316, allocations: 57.7 kB / 0.5639 GB, free: 1.82 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-06/0.3316, allocations: 0 / 0.5639 GB, free: 1.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001992/0.3318, allocations: 113.5 kB / 0.564 GB, free: 1.703 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.3318, allocations: 8 kB / 0.564 GB, free: 1.695 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.3318, allocations: 3.938 kB / 0.564 GB, free: 1.691 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.3318, allocations: 0 / 0.564 GB, free: 1.691 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.663e-05/0.3319, allocations: 15.98 kB / 0.564 GB, free: 1.676 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.3319, allocations: 4 kB / 0.564 GB, free: 1.672 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.564e-05/0.332, allocations: 3.938 kB / 0.564 GB, free: 1.668 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.332, allocations: 11.97 kB / 0.564 GB, free: 1.656 MB / 398.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.0001232/0.3321, allocations: 137.8 kB / 0.5641 GB, free: 1.512 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.521e-05/0.3321, allocations: 11.91 kB / 0.5642 GB, free: 1.5 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002561/0.3324, allocations: 115.1 kB / 0.5643 GB, free: 1.371 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.3324, allocations: 4 kB / 0.5643 GB, free: 1.367 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.3324, allocations: 3.984 kB / 0.5643 GB, free: 1.363 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.3324, allocations: 3.938 kB / 0.5643 GB, free: 1.359 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004692/0.3329, allocations: 378.6 kB / 0.5646 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3329, allocations: 0 / 0.5646 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.856e-05/0.3329, allocations: 15.92 kB / 0.5647 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.3329, allocations: 4 kB / 0.5647 GB, free: 0.918 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.685e-05/0.3329, allocations: 3.938 kB / 0.5647 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.3329, allocations: 0 / 0.5647 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3329, allocations: 192 / 0.5647 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002439/0.3332, allocations: 208.3 kB / 0.5649 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.941e-05/0.3332, allocations: 15.84 kB / 0.5649 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.623e-05/0.3332, allocations: 7.922 kB / 0.5649 GB, free: 0.668 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.616e-05/0.3333, allocations: 8.375 kB / 0.5649 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.122e-05/0.3334, allocations: 7.984 kB / 0.5649 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.221e-05/0.3334, allocations: 0 / 0.5649 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001842/0.3335, allocations: 204.5 kB / 0.5651 GB, free: 464 kB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3335, allocations: 0 / 0.5651 GB, free: 464 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002754/0.3338, allocations: 31.92 kB / 0.5651 GB, free: 432 kB / 398.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.001717/0.3355, allocations: 468.2 kB / 0.5656 GB, free: 148 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001829/0.3357, allocations: 59.89 kB / 0.5656 GB, free: 88 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3357, allocations: 4.062 kB / 0.5656 GB, free: 84 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.852e-05/0.3358, allocations: 20 kB / 0.5657 GB, free: 64 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003432/0.3361, allocations: 27.97 kB / 0.5657 GB, free: 36 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005573/0.3367, allocations: 325.2 kB / 0.566 GB, free: 15.68 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003652/0.3371, allocations: 0.7197 MB / 0.5667 GB, free: 14.94 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.136e-05/0.3371, allocations: 19.42 kB / 0.5667 GB, free: 14.92 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3371, allocations: 0 / 0.5667 GB, free: 14.92 MB / 414.1 MB Notification: Performance of Templates: time 0.004228/0.3413, allocations: 2.119 MB / 0.5688 GB, free: 12.8 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.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.962862245971337]