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.0008871/0.0008871, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.001048/0.001048, allocations: 174.3 kB / 24.92 MB, free: 8.766 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 0.9383/0.9383, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.2614/0.2614, allocations: 34.27 MB / 296.1 MB, free: 0.7227 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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",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.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 325.3 MB, free: 7.605 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.152e-05/2.288e-05, allocations: 6.188 kB / 325.3 MB, free: 7.602 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.002672/0.002695, allocations: 1.837 MB / 327.2 MB, free: 5.75 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001494/0.004189, allocations: 1.096 MB / 328.3 MB, free: 4.648 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.971e-05/0.004269, allocations: 4 kB / 328.3 MB, free: 4.645 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004575/0.004726, allocations: 303.1 kB / 328.6 MB, free: 4.348 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004174/0.005144, allocations: 267 kB / 328.8 MB, free: 4.086 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002116/0.005355, allocations: 107.6 kB / 328.9 MB, free: 3.98 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002814/0.005637, allocations: 267.2 kB / 329.2 MB, free: 3.719 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.34e-05/0.00568, allocations: 6.969 kB / 329.2 MB, free: 3.715 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005263/0.006207, allocations: 155.6 kB / 329.3 MB, free: 3.562 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001924/0.006399, allocations: 175.7 kB / 329.5 MB, free: 3.391 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.281e-05/0.006422, allocations: 4 kB / 329.5 MB, free: 3.387 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.101e-05/0.006513, allocations: 51.92 kB / 329.6 MB, free: 3.336 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001204/0.006633, allocations: 152 kB / 329.7 MB, free: 3.188 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.192e-05/0.006705, allocations: 67.67 kB / 329.8 MB, free: 3.121 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002918/0.006997, allocations: 286.9 kB / 330.1 MB, free: 2.84 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.006999, allocations: 0 / 330.1 MB, free: 2.84 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.006999, allocations: 0 / 330.1 MB, free: 2.84 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.126e-06/0.007003, allocations: 0 / 330.1 MB, free: 2.84 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.0006468/0.007649, allocations: 0.6355 MB / 330.7 MB, free: 2.18 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.007682, allocations: 12.03 kB / 330.7 MB, free: 2.168 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.249e-05/0.007734, allocations: 28.91 kB / 330.7 MB, free: 2.141 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003042/0.008038, allocations: 313.9 kB / 331 MB, free: 1.809 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.008054, allocations: 384 / 331 MB, free: 1.809 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.548e-05/0.008069, allocations: 12.25 kB / 331.1 MB, free: 1.797 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001324/0.008202, allocations: 91.44 kB / 331.1 MB, free: 1.691 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.00821, allocations: 3.938 kB / 331.2 MB, free: 1.688 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.744e-06/0.008218, allocations: 0 / 331.2 MB, free: 1.688 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.008224, allocations: 4 kB / 331.2 MB, free: 1.684 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.552e-05/0.008259, allocations: 17.64 kB / 331.2 MB, free: 1.664 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001573/0.008417, allocations: 126.2 kB / 331.3 MB, free: 1.52 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001184/0.008535, allocations: 82.86 kB / 331.4 MB, free: 1.418 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.229e-05/0.008567, allocations: 21.7 kB / 331.4 MB, free: 1.391 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.09e-05/0.008578, allocations: 4 kB / 331.4 MB, free: 1.387 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001087/0.008687, allocations: 95.83 kB / 331.5 MB, free: 1.273 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 9.51e-07/0.008688, allocations: 4 kB / 331.5 MB, free: 1.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.000172/0.00886, allocations: 111.2 kB / 331.6 MB, free: 1.152 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.943e-05/0.008899, allocations: 85.05 kB / 331.7 MB, free: 1.047 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004809/0.00938, allocations: 0.6063 MB / 332.3 MB, free: 436 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.009396, allocations: 25.7 kB / 332.3 MB, free: 404 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.08e-05/0.009467, allocations: 153.3 kB / 332.5 MB, free: 244 kB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.589e-05/0.009503, allocations: 31.73 kB / 332.5 MB, free: 212 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.973e-05/0.009543, allocations: 25.7 kB / 332.5 MB, free: 180 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.009662, allocations: 366.7 kB / 332.9 MB, free: 15.81 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.771e-05/0.009689, allocations: 14.81 kB / 332.9 MB, free: 15.79 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.793e-05/0.009727, allocations: 45.59 kB / 332.9 MB, free: 15.74 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.355e-05/0.009801, allocations: 68.39 kB / 333 MB, free: 15.66 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.009803, allocations: 0 / 333 MB, free: 15.66 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001326/0.009936, allocations: 115.2 kB / 333.1 MB, free: 15.54 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.009947, allocations: 4 kB / 333.1 MB, free: 15.53 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.009951, allocations: 0 / 333.1 MB, free: 15.53 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.009964, allocations: 4 kB / 333.1 MB, free: 15.53 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.884e-05/0.01004, allocations: 27.91 kB / 333.2 MB, free: 15.5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.389e-06/0.01005, allocations: 3.938 kB / 333.2 MB, free: 15.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.581e-05/0.01011, allocations: 8 kB / 333.2 MB, free: 15.49 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.705e-06/0.01012, allocations: 4 kB / 333.2 MB, free: 15.48 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.995e-05/0.01021, allocations: 125.3 kB / 333.3 MB, free: 15.35 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.119e-05/0.01025, allocations: 27.97 kB / 333.3 MB, free: 15.32 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001519/0.0104, allocations: 121.9 kB / 333.4 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.01041, allocations: 4 kB / 333.4 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/0.01041, allocations: 7.875 kB / 333.5 MB, free: 15.19 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.01041, allocations: 0 / 333.5 MB, free: 15.19 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001612/0.01057, allocations: 177.6 kB / 333.6 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.01057, allocations: 0 / 333.6 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.926e-05/0.0106, allocations: 8 kB / 333.6 MB, free: 14.99 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.01061, allocations: 4 kB / 333.6 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/0.01061, allocations: 4 kB / 333.6 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.01062, allocations: 3.984 kB / 333.7 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.01062, allocations: 0 / 333.7 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001264/0.01074, allocations: 135.5 kB / 333.8 MB, free: 14.82 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.898e-05/0.0108, allocations: 55.66 kB / 333.8 MB, free: 14.77 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.283e-05/0.01084, allocations: 4 kB / 333.8 MB, free: 14.76 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.727e-05/0.01089, allocations: 11.98 kB / 333.9 MB, free: 14.75 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.676e-05/0.01092, allocations: 7.984 kB / 333.9 MB, free: 14.74 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.301e-05/0.01093, allocations: 7.938 kB / 333.9 MB, free: 14.73 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002848/0.01122, allocations: 327.2 kB / 334.2 MB, free: 14.41 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01122, allocations: 4 kB / 334.2 MB, free: 14.41 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000215/0.01143, 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.001564/0.013, allocations: 0.5023 MB / 334.7 MB, free: 14.12 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001133/0.01311, allocations: 56.75 kB / 334.8 MB, free: 14.06 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.254e-06/0.01312, allocations: 4 kB / 334.8 MB, free: 14.06 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.846e-05/0.01317, allocations: 32.84 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.0002424/0.01341, allocations: 79.88 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.0007303/0.01414, allocations: 0.6653 MB / 335.6 MB, free: 13.25 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.513e-05/0.01423, allocations: 128.2 kB / 335.7 MB, free: 13.1 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.759e-05/0.01431, allocations: 38.95 kB / 335.7 MB, free: 13.06 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001225/0.01443, allocations: 91.36 kB / 335.8 MB, free: 12.97 MB / 314.7 MB Notification: Performance of SimCode: time 9.12e-07/0.01443, allocations: 0 / 335.8 MB, free: 12.97 MB / 314.7 MB Notification: Performance of Templates: time 0.007448/0.02188, allocations: 4.32 MB / 340.1 MB, free: 8.73 MB / 314.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.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: 2.896379958372563]