Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.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.001535/0.001535, allocations: 111 kB / 21.18 MB, free: 0.6758 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.00146/0.00146, allocations: 212.2 kB / 24.48 MB, free: 3.977 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.532/1.532, allocations: 230.6 MB / 258.2 MB, free: 7.785 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.2445/0.2445, allocations: 46.96 MB / 361.6 MB, free: 4.039 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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002024/0.002024, allocations: 67.89 kB / 0.4974 GB, free: 7.168 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4249/0.4269, allocations: 66.04 MB / 0.5619 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003597/0.4305, allocations: 1.779 MB / 0.5636 GB, free: 2.383 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001998/0.4325, allocations: 1.046 MB / 0.5646 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.431e-05/0.4326, allocations: 7.938 kB / 0.5646 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005904/0.4332, allocations: 311.3 kB / 0.5649 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005069/0.4337, allocations: 251.2 kB / 0.5652 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002529/0.434, allocations: 107.7 kB / 0.5653 GB, free: 0.668 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003345/0.4343, allocations: 267.3 kB / 0.5655 GB, free: 416 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.272e-05/0.4344, allocations: 5.812 kB / 0.5655 GB, free: 408 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001864/0.4346, allocations: 143.4 kB / 0.5657 GB, free: 264 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002669/0.4348, allocations: 219.4 kB / 0.5659 GB, free: 44 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.83e-05/0.4349, allocations: 12 kB / 0.5659 GB, free: 32 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000123/0.435, allocations: 44.03 kB / 0.5659 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001745/0.4352, allocations: 143.5 kB / 0.5661 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001242/0.4353, allocations: 111.1 kB / 0.5662 GB, free: 15.74 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004949/0.4358, allocations: 388.6 kB / 0.5665 GB, free: 15.36 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.4358, allocations: 0 / 0.5665 GB, free: 15.36 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.4358, allocations: 4 kB / 0.5666 GB, free: 15.36 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.4358, allocations: 0 / 0.5666 GB, free: 15.36 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.001065/0.4369, allocations: 0.6824 MB / 0.5672 GB, free: 14.64 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.4369, allocations: 8.031 kB / 0.5672 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.355e-05/0.437, allocations: 56.61 kB / 0.5673 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006448/0.4376, allocations: 386.5 kB / 0.5677 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.4376, allocations: 8.359 kB / 0.5677 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.63e-05/0.4377, allocations: 12.12 kB / 0.5677 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002196/0.4379, allocations: 87.28 kB / 0.5678 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.4379, allocations: 0 / 0.5678 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.4379, allocations: 7.938 kB / 0.5678 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.4379, allocations: 4 kB / 0.5678 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001212/0.438, allocations: 31.97 kB / 0.5678 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003888/0.4384, allocations: 314.1 kB / 0.5681 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002961/0.4387, allocations: 109.2 kB / 0.5682 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.471e-05/0.4388, allocations: 33.7 kB / 0.5682 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.664e-05/0.4388, allocations: 4 kB / 0.5682 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002342/0.4391, allocations: 116.9 kB / 0.5683 GB, free: 13.38 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.162e-06/0.4391, allocations: 0 / 0.5683 GB, free: 13.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005071/0.4396, allocations: 209.7 kB / 0.5685 GB, free: 13.17 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.272e-05/0.4396, allocations: 85.09 kB / 0.5686 GB, free: 13.07 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001209/0.4408, allocations: 1.058 MB / 0.5697 GB, free: 12 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.003e-05/0.4409, allocations: 25.7 kB / 0.5697 GB, free: 11.96 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002053/0.4411, allocations: 240.1 kB / 0.5699 GB, free: 11.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.274e-05/0.4411, allocations: 35.73 kB / 0.5699 GB, free: 11.69 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.466e-05/0.4412, allocations: 29.7 kB / 0.57 GB, free: 11.66 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000197/0.4414, allocations: 366.8 kB / 0.5703 GB, free: 11.29 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.874e-05/0.4415, allocations: 31.98 kB / 0.5704 GB, free: 11.26 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001084/0.4416, allocations: 74.84 kB / 0.5704 GB, free: 11.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001818/0.4418, allocations: 91.42 kB / 0.5705 GB, free: 11.07 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.4418, allocations: 0 / 0.5705 GB, free: 11.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003195/0.4421, allocations: 185.1 kB / 0.5707 GB, free: 10.89 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.4421, allocations: 10.66 kB / 0.5707 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.4421, allocations: 0 / 0.5707 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.4421, allocations: 4 kB / 0.5707 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.4423, allocations: 24.05 kB / 0.5707 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.4423, allocations: 0 / 0.5707 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.604e-05/0.4424, allocations: 15.92 kB / 0.5707 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.4424, allocations: 8 kB / 0.5708 GB, free: 10.83 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.0002223/0.4426, allocations: 221.7 kB / 0.571 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.907e-05/0.4427, allocations: 55.56 kB / 0.571 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004084/0.4431, allocations: 205.8 kB / 0.5712 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.4431, allocations: 0 / 0.5712 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.4431, allocations: 256 / 0.5712 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.4431, allocations: 4 kB / 0.5712 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003034/0.4434, allocations: 277.2 kB / 0.5715 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.4434, allocations: 3.938 kB / 0.5715 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.259e-05/0.4434, allocations: 8 kB / 0.5715 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.022e-06/0.4434, allocations: 7.938 kB / 0.5715 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.4435, allocations: 7.984 kB / 0.5715 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.4435, allocations: 4 kB / 0.5715 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.4435, allocations: 0 / 0.5715 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003767/0.4438, allocations: 217.5 kB / 0.5717 GB, free: 9.766 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001423/0.444, allocations: 71.53 kB / 0.5718 GB, free: 9.695 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.849e-05/0.444, allocations: 12 kB / 0.5718 GB, free: 9.684 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.996e-05/0.4441, allocations: 0 / 0.5718 GB, free: 9.684 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.615e-05/0.4442, allocations: 7.984 kB / 0.5718 GB, free: 9.676 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.648e-05/0.4442, allocations: 15.98 kB / 0.5718 GB, free: 9.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009043/0.4451, allocations: 0.7878 MB / 0.5726 GB, free: 8.875 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4451, allocations: 0 / 0.5726 GB, free: 8.875 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002713/0.4454, allocations: 44 kB / 0.5726 GB, free: 8.832 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.001631/0.447, allocations: 440.7 kB / 0.5731 GB, free: 8.574 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002866/0.4473, allocations: 83.89 kB / 0.5731 GB, free: 8.492 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.4473, allocations: 0 / 0.5731 GB, free: 8.492 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001309/0.4474, allocations: 47.95 kB / 0.5732 GB, free: 8.445 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005047/0.4479, allocations: 69.33 kB / 0.5732 GB, free: 8.379 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001666/0.4496, allocations: 0.9012 MB / 0.5741 GB, free: 7.449 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003163/0.4499, allocations: 249.7 kB / 0.5744 GB, free: 7.184 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001575/0.4501, allocations: 58.94 kB / 0.5744 GB, free: 7.129 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.236e-05/0.4502, allocations: 27.44 kB / 0.5744 GB, free: 7.105 MB / 414.1 MB Notification: Performance of SimCode: time 1.022e-06/0.4502, allocations: 0 / 0.5744 GB, free: 7.105 MB / 414.1 MB Notification: Performance of Templates: time 0.01025/0.4604, allocations: 4.397 MB / 0.5787 GB, free: 2.754 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.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: 5.369669364998117]