Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.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.0009961/0.0009961, allocations: 80.8 kB / 21.5 MB, free: 2.996 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.001263/0.001263, allocations: 170.3 kB / 24.91 MB, free: 9.195 MB / 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.012/1.012, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] 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.256/0.256, allocations: 34.25 MB / 296.1 MB, free: 0.6562 MB / 266.7 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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 325.3 MB, free: 7.598 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.647e-05/2.827e-05, allocations: 3.516 kB / 325.3 MB, free: 7.594 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003377/0.003405, allocations: 1.838 MB / 327.2 MB, free: 5.742 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002065/0.00547, allocations: 1.092 MB / 328.3 MB, free: 4.645 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001048/0.005575, allocations: 0 / 328.3 MB, free: 4.645 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006125/0.006187, allocations: 303.1 kB / 328.5 MB, free: 4.348 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005584/0.006746, allocations: 263 kB / 328.8 MB, free: 4.09 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002044/0.00695, allocations: 111.6 kB / 328.9 MB, free: 3.98 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002425/0.007193, allocations: 271.2 kB / 329.2 MB, free: 3.715 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.263e-05/0.007235, allocations: 10.47 kB / 329.2 MB, free: 3.707 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001495/0.007385, allocations: 155.6 kB / 329.3 MB, free: 3.555 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001608/0.007546, allocations: 175.7 kB / 329.5 MB, free: 3.383 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.768e-05/0.007563, allocations: 8 kB / 329.5 MB, free: 3.375 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.687e-05/0.00764, allocations: 47.92 kB / 329.6 MB, free: 3.328 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.007743, allocations: 148 kB / 329.7 MB, free: 3.184 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.317e-05/0.007806, allocations: 75.66 kB / 329.8 MB, free: 3.109 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002523/0.008058, allocations: 286.9 kB / 330.1 MB, free: 2.828 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.008063, allocations: 0 / 330.1 MB, free: 2.828 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.008065, allocations: 4 kB / 330.1 MB, free: 2.824 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.008069, allocations: 0 / 330.1 MB, free: 2.824 MB / 298.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.0006029/0.008672, allocations: 0.6355 MB / 330.7 MB, free: 2.164 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.008705, allocations: 8.031 kB / 330.7 MB, free: 2.156 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.742e-05/0.008752, allocations: 28.91 kB / 330.7 MB, free: 2.129 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002698/0.009022, allocations: 309.8 kB / 331 MB, free: 1.801 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.009039, allocations: 8.375 kB / 331.1 MB, free: 1.793 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.009052, allocations: 4.375 kB / 331.1 MB, free: 1.789 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001285/0.00918, allocations: 91.39 kB / 331.1 MB, free: 1.684 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.009188, allocations: 3.938 kB / 331.1 MB, free: 1.68 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.602e-06/0.009195, allocations: 0 / 331.1 MB, free: 1.68 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-06/0.009199, allocations: 7.938 kB / 331.2 MB, free: 1.672 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.054e-05/0.00923, allocations: 17.64 kB / 331.2 MB, free: 1.652 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000133/0.009363, allocations: 126.3 kB / 331.3 MB, free: 1.508 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001072/0.00947, allocations: 74.78 kB / 331.4 MB, free: 1.414 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.636e-05/0.009496, allocations: 21.7 kB / 331.4 MB, free: 1.387 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.114e-05/0.009507, allocations: 4 kB / 331.4 MB, free: 1.383 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001083/0.009616, allocations: 99.83 kB / 331.5 MB, free: 1.266 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 1.803e-06/0.009617, allocations: 3.984 kB / 331.5 MB, free: 1.262 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.000157/0.009774, allocations: 111.2 kB / 331.6 MB, free: 1.145 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.788e-05/0.009812, allocations: 85.05 kB / 331.7 MB, free: 1.039 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003918/0.0102, allocations: 0.6063 MB / 332.3 MB, free: 428 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.01022, allocations: 29.7 kB / 332.3 MB, free: 392 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.988e-05/0.01028, allocations: 145.3 kB / 332.5 MB, free: 240 kB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.83e-05/0.01032, allocations: 39.72 kB / 332.5 MB, free: 200 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.134e-05/0.01035, allocations: 21.72 kB / 332.5 MB, free: 172 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.01047, allocations: 370.7 kB / 332.9 MB, free: 15.8 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.558e-05/0.01049, allocations: 14.83 kB / 332.9 MB, free: 15.78 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.187e-05/0.01052, allocations: 39.41 kB / 332.9 MB, free: 15.73 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.518e-05/0.01059, allocations: 72.31 kB / 333 MB, free: 15.64 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.01059, allocations: 0 / 333 MB, free: 15.64 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001092/0.0107, allocations: 111.2 kB / 333.1 MB, free: 15.53 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.01071, allocations: 10.34 kB / 333.1 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.01072, allocations: 0 / 333.1 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.01073, allocations: 4.062 kB / 333.1 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.149e-05/0.0108, allocations: 23.92 kB / 333.2 MB, free: 15.49 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.946e-06/0.0108, allocations: 4 kB / 333.2 MB, free: 15.49 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.86e-05/0.01085, allocations: 4 kB / 333.2 MB, free: 15.48 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/0.01086, allocations: 15.92 kB / 333.2 MB, free: 15.47 MB / 314.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 8.133e-05/0.01094, allocations: 117.3 kB / 333.3 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.429e-05/0.01098, allocations: 27.97 kB / 333.3 MB, free: 15.32 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001347/0.01111, allocations: 117.9 kB / 333.4 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.01112, allocations: 4 kB / 333.4 MB, free: 15.19 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.01112, allocations: 7.938 kB / 333.4 MB, free: 15.18 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.01112, allocations: 0 / 333.4 MB, free: 15.18 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001319/0.01125, allocations: 173.6 kB / 333.6 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.01126, allocations: 0 / 333.6 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.683e-05/0.01128, allocations: 11.94 kB / 333.6 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.01128, allocations: 4 kB / 333.6 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.602e-06/0.01129, allocations: 3.984 kB / 333.6 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.01129, allocations: 0 / 333.6 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.01129, allocations: 4 kB / 333.6 MB, free: 14.97 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001123/0.01141, allocations: 139.5 kB / 333.8 MB, free: 14.81 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.783e-05/0.01145, allocations: 51.66 kB / 333.8 MB, free: 14.76 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.747e-05/0.01148, allocations: 12 kB / 333.8 MB, free: 14.75 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.252e-05/0.01152, allocations: 11.98 kB / 333.9 MB, free: 14.74 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.777e-05/0.01155, allocations: 3.984 kB / 333.9 MB, free: 14.73 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.227e-05/0.01156, allocations: 7.938 kB / 333.9 MB, free: 14.73 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002185/0.01178, allocations: 323.2 kB / 334.2 MB, free: 14.41 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01178, allocations: 0 / 334.2 MB, free: 14.41 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001627/0.01195, allocations: 47.94 kB / 334.2 MB, free: 14.36 MB / 314.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.00116/0.01311, allocations: 0.5007 MB / 334.7 MB, free: 14.12 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001062/0.01321, allocations: 64.58 kB / 334.8 MB, free: 14.06 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/0.01322, allocations: 8 kB / 334.8 MB, free: 14.05 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.724e-05/0.01326, allocations: 32.83 kB / 334.8 MB, free: 14.02 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002136/0.01347, allocations: 82.38 kB / 334.9 MB, free: 13.95 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006815/0.01415, allocations: 0.6537 MB / 335.6 MB, free: 13.25 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.212e-05/0.01423, allocations: 132.2 kB / 335.7 MB, free: 13.1 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.674e-05/0.0143, allocations: 42.95 kB / 335.7 MB, free: 13.06 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/0.01441, allocations: 99.34 kB / 335.8 MB, free: 12.96 MB / 314.7 MB Notification: Performance of SimCode: time 9.62e-07/0.01441, allocations: 0 / 335.8 MB, free: 12.96 MB / 314.7 MB Notification: Performance of Templates: time 0.006459/0.02087, allocations: 4.308 MB / 340.1 MB, free: 8.727 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.110050252173096]