Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001358/0.001358, 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.001395/0.001395, 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.512/1.512, allocations: 230.6 MB / 258.3 MB, free: 8.051 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2298/0.2298, allocations: 46.94 MB / 361.6 MB, free: 4.297 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+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.1.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.1.0_ModelicaTest.Tables.CombiTimeTable.Test74") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002264/0.002264, allocations: 67.91 kB / 0.4975 GB, free: 7.359 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3446/0.3469, allocations: 66.03 MB / 0.5619 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003481/0.3504, allocations: 1.947 MB / 0.5638 GB, free: 2.445 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001941/0.3523, allocations: 1.151 MB / 0.565 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.258e-05/0.3524, allocations: 7.938 kB / 0.565 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005145/0.3529, allocations: 255.3 kB / 0.5652 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004638/0.3534, allocations: 227.2 kB / 0.5654 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002737/0.3537, allocations: 123.6 kB / 0.5656 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000365/0.354, allocations: 279.2 kB / 0.5658 GB, free: 424 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.3541, allocations: 13.97 kB / 0.5658 GB, free: 408 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001992/0.3543, allocations: 147.5 kB / 0.566 GB, free: 260 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002586/0.3546, allocations: 203.4 kB / 0.5662 GB, free: 56 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.3546, allocations: 8 kB / 0.5662 GB, free: 48 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001488/0.3548, allocations: 72.05 kB / 0.5662 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.95e-05/0.3548, allocations: 63.7 kB / 0.5663 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.857e-05/0.3549, allocations: 103.1 kB / 0.5664 GB, free: 15.81 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003405/0.3553, allocations: 253.2 kB / 0.5666 GB, free: 15.57 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3553, allocations: 0 / 0.5666 GB, free: 15.57 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.3553, allocations: 0 / 0.5666 GB, free: 15.57 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.3553, allocations: 0 / 0.5666 GB, free: 15.57 MB / 414.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.0007829/0.3561, allocations: 0.5234 MB / 0.5672 GB, free: 15.02 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.3561, allocations: 16.03 kB / 0.5672 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.76e-05/0.3562, allocations: 28.75 kB / 0.5672 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003894/0.3566, allocations: 236.9 kB / 0.5674 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/0.3566, allocations: 8.375 kB / 0.5674 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.567e-05/0.3566, allocations: 8.125 kB / 0.5674 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002358/0.3569, allocations: 111.3 kB / 0.5676 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.3569, allocations: 0 / 0.5676 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.3569, allocations: 8 kB / 0.5676 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.718e-06/0.3569, allocations: 4 kB / 0.5676 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000129/0.357, allocations: 43.95 kB / 0.5676 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005934/0.3576, allocations: 459.8 kB / 0.568 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003804/0.358, allocations: 121.2 kB / 0.5682 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.557e-05/0.3581, allocations: 37.83 kB / 0.5682 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.565e-05/0.3581, allocations: 4 kB / 0.5682 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002329/0.3583, allocations: 125 kB / 0.5683 GB, free: 13.7 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.213e-06/0.3583, allocations: 4 kB / 0.5683 GB, free: 13.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001284/0.3596, allocations: 0.5085 MB / 0.5688 GB, free: 13.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.54e-05/0.3597, allocations: 85.09 kB / 0.5689 GB, free: 13.08 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005312/0.3602, allocations: 497.6 kB / 0.5694 GB, free: 12.59 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.709e-05/0.3603, allocations: 37.69 kB / 0.5694 GB, free: 12.54 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.3604, allocations: 172.5 kB / 0.5696 GB, free: 12.37 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.809e-05/0.3605, allocations: 71.42 kB / 0.5696 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.383e-05/0.3605, allocations: 41.7 kB / 0.5697 GB, free: 12.25 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.3607, allocations: 346.8 kB / 0.57 GB, free: 11.9 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001363/0.3608, allocations: 59.97 kB / 0.5701 GB, free: 11.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001462/0.361, allocations: 91.34 kB / 0.5702 GB, free: 11.74 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002757/0.3613, allocations: 163.5 kB / 0.5703 GB, free: 11.57 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-06/0.3613, allocations: 0 / 0.5703 GB, free: 11.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004205/0.3617, allocations: 245.2 kB / 0.5705 GB, free: 11.32 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.3617, allocations: 7.938 kB / 0.5706 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.3617, allocations: 4 kB / 0.5706 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.3617, allocations: 4.062 kB / 0.5706 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001424/0.3619, allocations: 43.97 kB / 0.5706 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.942e-06/0.3619, allocations: 3.938 kB / 0.5706 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.105e-05/0.3619, allocations: 8 kB / 0.5706 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.79e-05/0.362, allocations: 12 kB / 0.5706 GB, free: 11.24 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.0001735/0.3621, allocations: 178.3 kB / 0.5708 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.256e-05/0.3622, allocations: 39.7 kB / 0.5708 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005017/0.3627, allocations: 273.3 kB / 0.5711 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.3627, allocations: 4 kB / 0.5711 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3627, allocations: 0 / 0.5711 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.3627, allocations: 3.984 kB / 0.5711 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009392/0.3636, allocations: 0.7029 MB / 0.5718 GB, free: 9.973 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3636, allocations: 4.125 kB / 0.5718 GB, free: 9.969 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.615e-05/0.3637, allocations: 36.11 kB / 0.5718 GB, free: 9.934 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.3637, allocations: 4 kB / 0.5718 GB, free: 9.93 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/0.3638, allocations: 11.92 kB / 0.5718 GB, free: 9.918 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.3638, allocations: 4 kB / 0.5718 GB, free: 9.914 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3638, allocations: 0 / 0.5718 GB, free: 9.914 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004919/0.3642, allocations: 427.7 kB / 0.5723 GB, free: 9.469 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.696e-05/0.3643, allocations: 35.8 kB / 0.5723 GB, free: 9.434 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.96e-05/0.3643, allocations: 8 kB / 0.5723 GB, free: 9.426 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/0.3645, allocations: 4 kB / 0.5723 GB, free: 9.422 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.071e-05/0.3645, allocations: 27.91 kB / 0.5723 GB, free: 9.395 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-05/0.3645, allocations: 19.92 kB / 0.5723 GB, free: 9.375 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003836/0.3649, allocations: 371.1 kB / 0.5727 GB, free: 9.012 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3649, allocations: 0 / 0.5727 GB, free: 9.012 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003427/0.3653, allocations: 51.94 kB / 0.5727 GB, free: 8.961 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.001897/0.3672, allocations: 0.5176 MB / 0.5733 GB, free: 8.652 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003525/0.3675, allocations: 151.8 kB / 0.5734 GB, free: 8.504 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3675, allocations: 3.938 kB / 0.5734 GB, free: 8.5 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001488/0.3677, allocations: 71.84 kB / 0.5735 GB, free: 8.43 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005701/0.3682, allocations: 63.89 kB / 0.5735 GB, free: 8.371 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009843/0.3692, allocations: 0.6388 MB / 0.5742 GB, free: 7.684 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004455/0.3697, allocations: 0.7831 MB / 0.5749 GB, free: 6.875 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.377e-05/0.3697, allocations: 31.44 kB / 0.575 GB, free: 6.844 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3697, allocations: 0 / 0.575 GB, free: 6.844 MB / 414.1 MB Notification: Performance of Templates: time 0.00648/0.3762, allocations: 3.889 MB / 0.5787 GB, free: 2.965 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 8.051835682010278]