Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.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.00162/0.00162, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002071/0.002071, allocations: 209 kB / 24.47 MB, free: 3.941 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.546/1.546, allocations: 230.6 MB / 258.2 MB, free: 7.742 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.2944/0.2944, allocations: 46.98 MB / 361.6 MB, free: 4.078 MB / 286.1 MB " [Timeout remaining time 179] 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.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002117/0.002117, allocations: 71.89 kB / 0.4974 GB, free: 7.133 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3064/0.3086, allocations: 66.04 MB / 0.5619 GB, free: 4.121 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003255/0.3118, allocations: 1.78 MB / 0.5636 GB, free: 2.324 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001898/0.3137, allocations: 1.037 MB / 0.5646 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.893e-05/0.3138, allocations: 11.94 kB / 0.5646 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005189/0.3143, allocations: 299.3 kB / 0.5649 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004953/0.3148, allocations: 259.2 kB / 0.5652 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002418/0.315, allocations: 107.6 kB / 0.5653 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003236/0.3154, allocations: 263.3 kB / 0.5655 GB, free: 372 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.058e-05/0.3154, allocations: 9.797 kB / 0.5655 GB, free: 360 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001632/0.3156, allocations: 119.6 kB / 0.5656 GB, free: 240 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002837/0.3159, allocations: 223.8 kB / 0.5659 GB, free: 16 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.882e-05/0.3159, allocations: 8 kB / 0.5659 GB, free: 8 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000149/0.316, allocations: 43.98 kB / 0.5659 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001609/0.3162, allocations: 144.5 kB / 0.566 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001211/0.3163, allocations: 111 kB / 0.5662 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004395/0.3168, allocations: 376.8 kB / 0.5665 GB, free: 15.35 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3168, allocations: 0 / 0.5665 GB, free: 15.35 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3168, allocations: 0 / 0.5665 GB, free: 15.35 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.264e-06/0.3168, allocations: 0 / 0.5665 GB, free: 15.35 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.0009972/0.3178, allocations: 0.6747 MB / 0.5672 GB, free: 14.64 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.3178, allocations: 8.031 kB / 0.5672 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.639e-05/0.3179, allocations: 52.61 kB / 0.5672 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006089/0.3185, allocations: 390.5 kB / 0.5676 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.3185, allocations: 12.36 kB / 0.5676 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.545e-05/0.3185, allocations: 4.125 kB / 0.5676 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002092/0.3188, allocations: 91.34 kB / 0.5677 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.3188, allocations: 0 / 0.5677 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.3188, allocations: 0 / 0.5677 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.3188, allocations: 4 kB / 0.5677 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001197/0.3189, allocations: 35.91 kB / 0.5677 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003682/0.3193, allocations: 306.1 kB / 0.568 GB, free: 13.69 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002803/0.3196, allocations: 105.2 kB / 0.5681 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.3197, allocations: 41.64 kB / 0.5682 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.592e-05/0.3197, allocations: 3.938 kB / 0.5682 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002233/0.3199, allocations: 113 kB / 0.5683 GB, free: 13.39 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.182e-06/0.3199, allocations: 0 / 0.5683 GB, free: 13.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004913/0.3204, allocations: 209.2 kB / 0.5685 GB, free: 13.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.35e-05/0.3205, allocations: 89.11 kB / 0.5686 GB, free: 13.07 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001181/0.3216, allocations: 1.03 MB / 0.5696 GB, free: 12.03 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.654e-05/0.3217, allocations: 29.7 kB / 0.5696 GB, free: 12 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001877/0.3218, allocations: 228.1 kB / 0.5698 GB, free: 11.77 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.701e-05/0.3219, allocations: 31.72 kB / 0.5699 GB, free: 11.74 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.419e-05/0.3219, allocations: 33.7 kB / 0.5699 GB, free: 11.7 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000185/0.3221, allocations: 366.8 kB / 0.5702 GB, free: 11.33 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.162e-05/0.3222, allocations: 27.98 kB / 0.5703 GB, free: 11.3 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001131/0.3223, allocations: 67.41 kB / 0.5703 GB, free: 11.23 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001903/0.3225, allocations: 95.34 kB / 0.5704 GB, free: 11.12 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3225, allocations: 0 / 0.5704 GB, free: 11.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003169/0.3228, allocations: 177.7 kB / 0.5706 GB, free: 10.94 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.3229, allocations: 8 kB / 0.5706 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.3229, allocations: 0 / 0.5706 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.3229, allocations: 0 / 0.5706 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.323, allocations: 31.92 kB / 0.5706 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.323, allocations: 4 kB / 0.5706 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.3231, allocations: 19.88 kB / 0.5706 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.3231, allocations: 4 kB / 0.5706 GB, free: 10.88 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.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.0002251/0.3233, allocations: 217.8 kB / 0.5709 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.493e-05/0.3234, allocations: 59.59 kB / 0.5709 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004117/0.3238, allocations: 201.8 kB / 0.5711 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.145e-06/0.3238, allocations: 0 / 0.5711 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.3238, allocations: 0 / 0.5711 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.3238, allocations: 4 kB / 0.5711 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002942/0.3241, allocations: 269.2 kB / 0.5714 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3241, allocations: 0 / 0.5714 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.807e-05/0.3242, allocations: 11.94 kB / 0.5714 GB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.3242, allocations: 3.938 kB / 0.5714 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.3242, allocations: 8 kB / 0.5714 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3242, allocations: 0 / 0.5714 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3242, allocations: 0 / 0.5714 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003616/0.3246, allocations: 225.5 kB / 0.5716 GB, free: 9.824 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001232/0.3247, allocations: 71.47 kB / 0.5717 GB, free: 9.754 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.941e-05/0.3247, allocations: 8 kB / 0.5717 GB, free: 9.746 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.743e-05/0.3248, allocations: 12.17 kB / 0.5717 GB, free: 9.734 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.601e-05/0.3249, allocations: 15.98 kB / 0.5717 GB, free: 9.719 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-05/0.3249, allocations: 4 kB / 0.5717 GB, free: 9.715 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008789/0.3258, allocations: 0.7721 MB / 0.5725 GB, free: 8.945 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3258, allocations: 3.938 kB / 0.5725 GB, free: 8.941 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000276/0.326, allocations: 40 kB / 0.5725 GB, free: 8.902 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,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.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.001701/0.3277, allocations: 433.9 kB / 0.5729 GB, free: 8.656 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002733/0.328, allocations: 83.95 kB / 0.573 GB, free: 8.574 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.328, allocations: 4.062 kB / 0.573 GB, free: 8.57 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001218/0.3281, allocations: 51.83 kB / 0.5731 GB, free: 8.52 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004331/0.3286, allocations: 75.16 kB / 0.5731 GB, free: 8.449 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001324/0.3299, allocations: 0.9222 MB / 0.574 GB, free: 7.492 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002688/0.3302, allocations: 241.7 kB / 0.5743 GB, free: 7.234 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.893e-05/0.3302, allocations: 31.44 kB / 0.5743 GB, free: 7.207 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3302, allocations: 0 / 0.5743 GB, free: 7.207 MB / 414.1 MB Notification: Performance of Templates: time 0.008925/0.3392, allocations: 5.235 MB / 0.5794 GB, free: 1.977 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.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.414211481809616]