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.00156/0.00156, allocations: 92.31 kB / 20.96 MB, free: 3.473 MB / 18.57 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.001905/0.001905, allocations: 161.7 kB / 24.26 MB, free: 176 kB / 18.57 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.566/1.566, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 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.3478/0.3478, allocations: 34.26 MB / 295.3 MB, free: 0.6562 MB / 266.7 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 2.124e-06/2.124e-06, allocations: 0 / 377.4 MB, free: 2.863 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.42e-05/3.633e-05, allocations: 2.312 kB / 377.4 MB, free: 2.859 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.004094/0.00413, allocations: 1.793 MB / 379.2 MB, free: 1.051 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002251/0.006381, allocations: 1.056 MB / 380.2 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001239/0.006505, allocations: 8 kB / 380.2 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006268/0.007132, allocations: 303.2 kB / 380.5 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006474/0.007779, allocations: 270.9 kB / 380.8 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003439/0.008123, allocations: 107.6 kB / 380.9 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004708/0.008594, allocations: 267.2 kB / 381.1 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.853e-05/0.008653, allocations: 5.812 kB / 381.1 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003483/0.009001, allocations: 155.6 kB / 381.3 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004274/0.009428, allocations: 203.6 kB / 381.5 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.755e-05/0.009466, allocations: 11.98 kB / 381.5 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001393/0.009605, allocations: 51.92 kB / 381.6 MB, free: 14.63 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001791/0.009784, allocations: 139.6 kB / 381.7 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001243/0.009909, allocations: 79.59 kB / 381.8 MB, free: 14.42 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005216/0.01043, allocations: 358.7 kB / 382.1 MB, free: 14.07 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.01043, allocations: 0 / 382.1 MB, free: 14.07 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.01043, allocations: 0 / 382.1 MB, free: 14.07 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.776e-06/0.01044, allocations: 0 / 382.1 MB, free: 14.07 MB / 362.7 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.001204/0.01165, allocations: 0.6708 MB / 382.8 MB, free: 13.36 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.01169, allocations: 12.03 kB / 382.8 MB, free: 13.35 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001546/0.01184, allocations: 56.56 kB / 382.9 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006771/0.01252, allocations: 393.8 kB / 383.2 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.124e-05/0.01254, allocations: 4.359 kB / 383.3 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.01256, allocations: 8.312 kB / 383.3 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002387/0.0128, allocations: 91.91 kB / 383.4 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.01281, allocations: 3.938 kB / 383.4 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.683e-05/0.01283, allocations: 4 kB / 383.4 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.01283, allocations: 0 / 383.4 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001455/0.01298, allocations: 35.97 kB / 383.4 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004538/0.01343, allocations: 302 kB / 383.7 MB, free: 12.4 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003146/0.01375, allocations: 113.2 kB / 383.8 MB, free: 12.27 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001102/0.01386, allocations: 37.7 kB / 383.8 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.149e-05/0.01388, allocations: 7.938 kB / 383.8 MB, free: 12.22 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002671/0.01414, allocations: 105 kB / 383.9 MB, free: 12.1 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.042e-06/0.01415, allocations: 0 / 383.9 MB, free: 12.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0006013/0.01475, allocations: 225.1 kB / 384.2 MB, free: 11.88 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.212e-05/0.01482, allocations: 81.09 kB / 384.2 MB, free: 11.78 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001441/0.01626, allocations: 1.058 MB / 385.3 MB, free: 10.71 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.804e-05/0.01629, allocations: 29.69 kB / 385.3 MB, free: 10.68 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002497/0.01654, allocations: 236.1 kB / 385.6 MB, free: 10.44 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.561e-05/0.01659, allocations: 27.84 kB / 385.6 MB, free: 10.41 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.194e-05/0.01667, allocations: 29.7 kB / 385.6 MB, free: 10.38 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002521/0.01692, allocations: 366.8 kB / 386 MB, free: 10.01 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001056/0.01702, allocations: 31.98 kB / 386 MB, free: 9.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/0.01714, allocations: 63.84 kB / 386.1 MB, free: 9.906 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002041/0.01734, allocations: 95.36 kB / 386.2 MB, free: 9.801 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.01735, allocations: 0 / 386.2 MB, free: 9.801 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003664/0.01771, allocations: 181.2 kB / 386.3 MB, free: 9.617 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.01773, allocations: 8 kB / 386.3 MB, free: 9.609 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.874e-06/0.01774, allocations: 3.938 kB / 386.4 MB, free: 9.605 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.261e-05/0.01776, allocations: 4 kB / 386.4 MB, free: 9.602 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001389/0.0179, allocations: 23.92 kB / 386.4 MB, free: 9.578 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.0179, allocations: 4.062 kB / 386.4 MB, free: 9.574 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001087/0.01801, allocations: 19.88 kB / 386.4 MB, free: 9.555 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.398e-05/0.01803, allocations: 11.98 kB / 386.4 MB, free: 9.543 MB / 362.7 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.0002504/0.01828, allocations: 222.4 kB / 386.6 MB, free: 9.316 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.216e-05/0.01836, allocations: 51.67 kB / 386.7 MB, free: 9.266 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004452/0.0188, allocations: 205.8 kB / 386.9 MB, free: 9.059 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.01881, allocations: 4 kB / 386.9 MB, free: 9.055 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.01882, allocations: 3.984 kB / 386.9 MB, free: 9.051 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.01882, allocations: 0 / 386.9 MB, free: 9.051 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003371/0.01916, allocations: 281.4 kB / 387.2 MB, free: 8.746 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.01916, allocations: 4 kB / 387.2 MB, free: 8.742 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.997e-05/0.01921, allocations: 11.98 kB / 387.2 MB, free: 8.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.01921, allocations: 0 / 387.2 MB, free: 8.73 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/0.01923, allocations: 4 kB / 387.2 MB, free: 8.727 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.022e-06/0.01924, allocations: 7.875 kB / 387.2 MB, free: 8.719 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.01924, allocations: 0 / 387.2 MB, free: 8.719 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004148/0.01965, allocations: 229.5 kB / 387.4 MB, free: 8.473 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001366/0.01979, allocations: 67.55 kB / 387.5 MB, free: 8.406 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.82e-05/0.01984, allocations: 4 kB / 387.5 MB, free: 8.402 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.212e-05/0.01993, allocations: 15.94 kB / 387.5 MB, free: 8.387 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.758e-05/0.01999, allocations: 7.984 kB / 387.5 MB, free: 8.379 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.092e-05/0.02001, allocations: 7.984 kB / 387.5 MB, free: 8.371 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0009806/0.02099, allocations: 0.7878 MB / 388.3 MB, free: 7.586 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02099, allocations: 0 / 388.3 MB, free: 7.586 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002871/0.02127, allocations: 44 kB / 388.3 MB, free: 7.543 MB / 362.7 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.0021/0.02337, allocations: 445.3 kB / 388.8 MB, free: 7.285 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002806/0.02366, allocations: 87.91 kB / 388.9 MB, free: 7.199 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.02366, allocations: 4 kB / 388.9 MB, free: 7.195 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001297/0.02379, allocations: 47.89 kB / 388.9 MB, free: 7.148 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004531/0.02424, allocations: 79.16 kB / 389 MB, free: 7.078 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001519/0.02576, allocations: 0.9131 MB / 389.9 MB, free: 6.129 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003041/0.02606, allocations: 245.8 kB / 390.2 MB, free: 5.867 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001298/0.02619, allocations: 54.94 kB / 390.2 MB, free: 5.809 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.885e-05/0.02627, allocations: 32.5 kB / 390.2 MB, free: 5.777 MB / 362.7 MB Notification: Performance of SimCode: time 9.12e-07/0.02627, allocations: 0 / 390.2 MB, free: 5.777 MB / 362.7 MB Notification: Performance of Templates: time 0.009482/0.03575, allocations: 4.046 MB / 394.3 MB, free: 1.766 MB / 362.7 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins/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.973186337039806]