Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.001652/0.001652, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001571/0.001571, allocations: 213.2 kB / 24.48 MB, free: 3.84 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.51/1.51, allocations: 230.6 MB / 258.2 MB, free: 7.801 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.238/0.238, allocations: 46.97 MB / 361.6 MB, free: 4.055 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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002286/0.002286, allocations: 63.91 kB / 0.4974 GB, free: 7.184 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3101/0.3124, allocations: 66.04 MB / 0.5619 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003382/0.3158, allocations: 1.791 MB / 0.5636 GB, free: 2.336 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002876/0.3186, allocations: 1.726 MB / 0.5653 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.799e-05/0.3187, allocations: 7.938 kB / 0.5653 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003091/0.319, allocations: 55.62 kB / 0.5654 GB, free: 0.543 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004304/0.3195, allocations: 147.4 kB / 0.5655 GB, free: 408 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002379/0.3197, allocations: 103.7 kB / 0.5656 GB, free: 304 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002639/0.32, allocations: 203.4 kB / 0.5658 GB, free: 100 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.829e-05/0.32, allocations: 9.812 kB / 0.5658 GB, free: 88 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001458/0.3202, allocations: 91.66 kB / 0.5659 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001843/0.3203, allocations: 75.47 kB / 0.566 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.837e-05/0.3204, allocations: 8 kB / 0.566 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002017/0.3206, allocations: 115.9 kB / 0.5661 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.569e-05/0.3207, allocations: 31.86 kB / 0.5661 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.458e-05/0.3207, allocations: 55.66 kB / 0.5662 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003399/0.3211, allocations: 225.5 kB / 0.5664 GB, free: 15.5 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.3211, allocations: 3.984 kB / 0.5664 GB, free: 15.5 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3211, allocations: 0 / 0.5664 GB, free: 15.5 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.66e-06/0.3211, allocations: 0 / 0.5664 GB, free: 15.5 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007367/0.3218, allocations: 436.8 kB / 0.5668 GB, free: 15.04 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.3219, allocations: 8.031 kB / 0.5668 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.966e-05/0.3219, allocations: 20.83 kB / 0.5668 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003482/0.3223, allocations: 182.2 kB / 0.567 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.3223, allocations: 4.375 kB / 0.567 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.838e-05/0.3223, allocations: 12.12 kB / 0.567 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000251/0.3225, allocations: 152.4 kB / 0.5672 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.3226, allocations: 0 / 0.5672 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.3226, allocations: 0 / 0.5672 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.3226, allocations: 4 kB / 0.5672 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001121/0.3227, allocations: 31.97 kB / 0.5672 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002154/0.3229, allocations: 162.2 kB / 0.5674 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002808/0.3232, allocations: 109.2 kB / 0.5675 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.596e-05/0.3233, allocations: 41.64 kB / 0.5675 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.791e-05/0.3233, allocations: 4 kB / 0.5675 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002285/0.3235, allocations: 116.9 kB / 0.5676 GB, free: 14.08 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.3235, allocations: 0 / 0.5676 GB, free: 14.08 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004762/0.324, allocations: 185.6 kB / 0.5678 GB, free: 13.89 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.976e-05/0.3241, allocations: 132.5 kB / 0.5679 GB, free: 13.73 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000299/0.3244, allocations: 248.1 kB / 0.5682 GB, free: 13.48 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.206e-05/0.3244, allocations: 29.7 kB / 0.5682 GB, free: 13.44 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.444e-05/0.3245, allocations: 116.1 kB / 0.5683 GB, free: 13.32 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.84e-05/0.3246, allocations: 31.78 kB / 0.5683 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.393e-05/0.3246, allocations: 33.7 kB / 0.5684 GB, free: 13.25 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.3248, allocations: 326.8 kB / 0.5687 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.964e-05/0.3249, allocations: 27.98 kB / 0.5687 GB, free: 12.9 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001515/0.325, allocations: 128.5 kB / 0.5688 GB, free: 12.74 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001968/0.3252, allocations: 99.38 kB / 0.5689 GB, free: 12.63 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.3252, allocations: 0 / 0.5689 GB, free: 12.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002885/0.3255, allocations: 149.4 kB / 0.5691 GB, free: 12.48 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.3255, allocations: 4 kB / 0.5691 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.3255, allocations: 0 / 0.5691 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.3255, allocations: 4 kB / 0.5691 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.3256, allocations: 19.98 kB / 0.5691 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.333e-06/0.3257, allocations: 4 kB / 0.5691 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.767e-05/0.3257, allocations: 15.89 kB / 0.5691 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.3258, allocations: 8.5 kB / 0.5691 GB, free: 12.43 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_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0001233/0.3259, allocations: 134.3 kB / 0.5692 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.899e-05/0.3259, allocations: 19.84 kB / 0.5693 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003606/0.3263, allocations: 166.7 kB / 0.5694 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.3263, allocations: 0 / 0.5694 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.3263, allocations: 4 kB / 0.5694 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.3263, allocations: 0 / 0.5694 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00018/0.3265, allocations: 165.2 kB / 0.5696 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.3265, allocations: 0 / 0.5696 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.404e-05/0.3265, allocations: 12 kB / 0.5696 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.3265, allocations: 3.938 kB / 0.5696 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.3265, allocations: 7.984 kB / 0.5696 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3265, allocations: 0 / 0.5696 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/0.3265, allocations: 7.922 kB / 0.5696 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003387/0.3269, allocations: 189.7 kB / 0.5698 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.959e-05/0.3269, allocations: 23.8 kB / 0.5698 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.43e-05/0.327, allocations: 4 kB / 0.5698 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.341e-05/0.327, allocations: 7.984 kB / 0.5698 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.997e-05/0.3271, allocations: 7.984 kB / 0.5698 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.081e-05/0.3271, allocations: 16 kB / 0.5698 GB, free: 11.6 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002083/0.3273, allocations: 181.8 kB / 0.57 GB, free: 11.42 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3273, allocations: 0 / 0.57 GB, free: 11.42 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002956/0.3276, allocations: 55.88 kB / 0.5701 GB, free: 11.37 MB / 414.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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,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 (12): * Single equations (assignments): 8 * 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.001908/0.3295, allocations: 0.5285 MB / 0.5706 GB, free: 11.05 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000269/0.3298, allocations: 88.02 kB / 0.5707 GB, free: 10.96 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3298, allocations: 0 / 0.5707 GB, free: 10.96 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001169/0.3299, allocations: 47.97 kB / 0.5707 GB, free: 10.92 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003731/0.3303, allocations: 54.12 kB / 0.5708 GB, free: 10.87 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006219/0.3309, allocations: 329.2 kB / 0.5711 GB, free: 10.52 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001077/0.331, allocations: 107.4 kB / 0.5712 GB, free: 10.39 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.472e-05/0.3311, allocations: 31.42 kB / 0.5712 GB, free: 10.36 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3311, allocations: 4 kB / 0.5712 GB, free: 10.36 MB / 414.1 MB Notification: Performance of Templates: time 0.005681/0.3367, allocations: 3.231 MB / 0.5744 GB, free: 7.137 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.328657095786184]