Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.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.001306/0.001306, allocations: 71.77 kB / 21.24 MB, free: 396 kB / 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.001441/0.001441, allocations: 162.4 kB / 24.5 MB, free: 3.453 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.439/1.439, allocations: 177.2 MB / 204.9 MB, free: 9.008 MB / 190.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.2108/0.2108, allocations: 34.27 MB / 295.5 MB, free: 14.58 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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002064/0.002064, allocations: 67.88 kB / 443.2 MB, free: 6.617 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3557/0.3577, allocations: 66 MB / 0.4973 GB, free: 29.89 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.002789/0.3605, allocations: 1.801 MB / 0.499 GB, free: 28.65 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001466/0.362, allocations: 1.037 MB / 0.5 GB, free: 27.99 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.217e-05/0.3621, allocations: 3.25 kB / 0.5 GB, free: 27.99 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004322/0.3625, allocations: 313.3 kB / 0.5003 GB, free: 27.94 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003926/0.3629, allocations: 262.3 kB / 0.5006 GB, free: 27.86 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001873/0.3631, allocations: 109.3 kB / 0.5007 GB, free: 27.8 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002651/0.3633, allocations: 265.6 kB / 0.501 GB, free: 27.7 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.956e-05/0.3634, allocations: 5 kB / 0.501 GB, free: 27.7 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001263/0.3635, allocations: 135.3 kB / 0.5011 GB, free: 27.65 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002002/0.3637, allocations: 217.8 kB / 0.5013 GB, free: 27.61 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.628e-05/0.3637, allocations: 9.062 kB / 0.5013 GB, free: 27.61 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001012/0.3638, allocations: 45.91 kB / 0.5013 GB, free: 27.6 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001253/0.364, allocations: 146.8 kB / 0.5015 GB, free: 27.55 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.36e-05/0.3641, allocations: 108.8 kB / 0.5016 GB, free: 27.48 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003174/0.3644, allocations: 382.8 kB / 0.502 GB, free: 27.33 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3644, allocations: 0 / 0.502 GB, free: 27.33 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3644, allocations: 4 kB / 0.502 GB, free: 27.32 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.683e-06/0.3644, allocations: 0 / 0.502 GB, free: 27.32 MB / 446.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.0007834/0.3652, allocations: 0.6842 MB / 0.5026 GB, free: 26.79 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.157e-05/0.3652, allocations: 13.06 kB / 0.5026 GB, free: 26.79 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.384e-05/0.3653, allocations: 49.86 kB / 0.5027 GB, free: 26.76 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004596/0.3657, allocations: 390.5 kB / 0.5031 GB, free: 26.5 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.3658, allocations: 10.83 kB / 0.5031 GB, free: 26.5 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.348e-05/0.3658, allocations: 7.156 kB / 0.5031 GB, free: 26.49 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001758/0.366, allocations: 94.86 kB / 0.5032 GB, free: 26.42 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.366, allocations: 0 / 0.5032 GB, free: 26.42 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.366, allocations: 0 / 0.5032 GB, free: 26.42 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.366, allocations: 3.094 kB / 0.5032 GB, free: 26.42 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001054/0.3661, allocations: 37.56 kB / 0.5032 GB, free: 26.41 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002684/0.3664, allocations: 311.7 kB / 0.5035 GB, free: 26.22 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002349/0.3666, allocations: 102.4 kB / 0.5036 GB, free: 26.16 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.091e-05/0.3667, allocations: 41.53 kB / 0.5036 GB, free: 26.13 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.768e-05/0.3667, allocations: 3.469 kB / 0.5036 GB, free: 26.13 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001764/0.3669, allocations: 114.5 kB / 0.5038 GB, free: 26.04 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.182e-06/0.3669, allocations: 0 / 0.5038 GB, free: 26.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004504/0.3673, allocations: 220.2 kB / 0.504 GB, free: 25.94 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/0.3673, allocations: 77.11 kB / 0.504 GB, free: 25.84 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008348/0.3682, allocations: 1.055 MB / 0.5051 GB, free: 25.49 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/0.3682, allocations: 34.64 kB / 0.5051 GB, free: 25.45 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/0.3683, allocations: 241.1 kB / 0.5053 GB, free: 25.26 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.665e-05/0.3684, allocations: 35.33 kB / 0.5054 GB, free: 25.23 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.94e-05/0.3684, allocations: 29.53 kB / 0.5054 GB, free: 25.21 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.339e-05/0.3685, allocations: 371.9 kB / 0.5057 GB, free: 24.87 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.045e-05/0.3685, allocations: 30.84 kB / 0.5058 GB, free: 24.86 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.946e-05/0.3686, allocations: 59.52 kB / 0.5058 GB, free: 24.82 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001541/0.3688, allocations: 90.92 kB / 0.5059 GB, free: 24.76 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.3688, allocations: 2.969 kB / 0.5059 GB, free: 24.76 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002516/0.369, allocations: 185.5 kB / 0.5061 GB, free: 24.66 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.369, allocations: 5.906 kB / 0.5061 GB, free: 24.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.369, allocations: 3 kB / 0.5061 GB, free: 24.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.3691, allocations: 0 / 0.5061 GB, free: 24.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.3692, allocations: 21.19 kB / 0.5061 GB, free: 24.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.3692, allocations: 6.984 kB / 0.5061 GB, free: 24.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.914e-05/0.3693, allocations: 10.94 kB / 0.5061 GB, free: 24.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.3693, allocations: 9.312 kB / 0.5062 GB, free: 24.64 MB / 446.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.000147/0.3694, allocations: 226.1 kB / 0.5064 GB, free: 24.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.19e-05/0.3695, allocations: 59.88 kB / 0.5064 GB, free: 24.46 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003218/0.3698, allocations: 207.2 kB / 0.5066 GB, free: 24.38 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.3698, allocations: 10.45 kB / 0.5066 GB, free: 24.37 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3698, allocations: 0 / 0.5066 GB, free: 24.37 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.3698, allocations: 0 / 0.5066 GB, free: 24.37 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001915/0.37, allocations: 267.2 kB / 0.5069 GB, free: 24.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.37, allocations: 0 / 0.5069 GB, free: 24.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.125e-05/0.37, allocations: 13 kB / 0.5069 GB, free: 24.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.37, allocations: 3.938 kB / 0.5069 GB, free: 24.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.3701, allocations: 10.38 kB / 0.5069 GB, free: 24.19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.3701, allocations: 0 / 0.5069 GB, free: 24.19 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3701, allocations: 3.031 kB / 0.5069 GB, free: 24.19 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002666/0.3703, allocations: 219 kB / 0.5071 GB, free: 24.05 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.495e-05/0.3704, allocations: 74.34 kB / 0.5072 GB, free: 24.01 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.226e-05/0.3705, allocations: 6.625 kB / 0.5072 GB, free: 24.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.932e-05/0.3705, allocations: 3.062 kB / 0.5072 GB, free: 24.01 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.282e-05/0.3706, allocations: 10.36 kB / 0.5072 GB, free: 24.01 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.77e-05/0.3706, allocations: 9.422 kB / 0.5072 GB, free: 24.01 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006013/0.3712, allocations: 0.7887 MB / 0.508 GB, free: 23.73 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3712, allocations: 7 kB / 0.508 GB, free: 23.73 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002579/0.3715, allocations: 39.97 kB / 0.508 GB, free: 23.73 MB / 446.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.001509/0.373, allocations: 442 kB / 0.5085 GB, free: 23.53 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002335/0.3732, allocations: 87.58 kB / 0.5085 GB, free: 23.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3732, allocations: 3 kB / 0.5086 GB, free: 23.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.432e-05/0.3733, allocations: 43.2 kB / 0.5086 GB, free: 23.49 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003909/0.3737, allocations: 79.12 kB / 0.5087 GB, free: 23.45 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009799/0.3747, allocations: 0.9006 MB / 0.5095 GB, free: 23.05 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002468/0.3749, allocations: 242.9 kB / 0.5098 GB, free: 22.95 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001286/0.375, allocations: 55.39 kB / 0.5098 GB, free: 22.95 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.109e-05/0.3751, allocations: 35.58 kB / 0.5099 GB, free: 22.93 MB / 446.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3751, allocations: 4 kB / 0.5099 GB, free: 22.93 MB / 446.1 MB Notification: Performance of Templates: time 0.008614/0.3837, allocations: 4.008 MB / 0.5138 GB, free: 22.4 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.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: 4.98054545710329]