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.001032/0.001032, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001149/0.001149, allocations: 163.9 kB / 25.61 MB, free: 8.582 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.9627/0.9627, allocations: 177.1 MB / 206 MB, free: 4.5 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.1679/0.1679, allocations: 34.25 MB / 296.8 MB, free: 13.93 MB / 282.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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",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.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 3.938 kB / 379.4 MB, free: 23.34 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.289e-05/2.463e-05, allocations: 6.25 kB / 379.4 MB, free: 23.34 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.00566/0.005685, allocations: 1.824 MB / 381.2 MB, free: 21.5 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001389/0.007074, allocations: 1.072 MB / 382.3 MB, free: 20.42 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.74e-05/0.007171, allocations: 0 / 382.3 MB, free: 20.42 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00354/0.01071, allocations: 307.2 kB / 382.6 MB, free: 20.12 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00048/0.01119, allocations: 266.9 kB / 382.8 MB, free: 19.86 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00027/0.01146, allocations: 107.6 kB / 382.9 MB, free: 19.75 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002725/0.01173, allocations: 271.2 kB / 383.2 MB, free: 19.49 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.737e-05/0.01179, allocations: 5.812 kB / 383.2 MB, free: 19.48 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001876/0.01198, allocations: 159.5 kB / 383.3 MB, free: 19.33 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002107/0.01219, allocations: 203.6 kB / 383.5 MB, free: 19.13 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.145e-05/0.01221, allocations: 8 kB / 383.6 MB, free: 19.12 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.987e-05/0.01231, allocations: 47.92 kB / 383.6 MB, free: 19.07 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001117/0.01242, allocations: 147.6 kB / 383.7 MB, free: 18.93 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.312e-05/0.0125, allocations: 75.66 kB / 383.8 MB, free: 18.86 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002719/0.01277, allocations: 282.9 kB / 384.1 MB, free: 18.58 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.01277, allocations: 3.938 kB / 384.1 MB, free: 18.57 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.01277, allocations: 0 / 384.1 MB, free: 18.57 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.01278, allocations: 4 kB / 384.1 MB, free: 18.57 MB / 314.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.0006094/0.01339, allocations: 0.7823 MB / 384.9 MB, free: 17.75 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.00305/0.01644, allocations: 15.97 kB / 384.9 MB, free: 17.73 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000119/0.01656, allocations: 56.56 kB / 385 MB, free: 17.68 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003145/0.01687, allocations: 324.6 kB / 385.3 MB, free: 17.34 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.01689, allocations: 8.375 kB / 385.3 MB, free: 17.33 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.818e-06/0.0169, allocations: 384 / 385.3 MB, free: 17.33 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/0.01704, allocations: 94.28 kB / 385.4 MB, free: 17.22 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.01705, allocations: 3.938 kB / 385.4 MB, free: 17.21 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.01706, allocations: 4 kB / 385.4 MB, free: 17.21 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.01707, allocations: 3.984 kB / 385.4 MB, free: 17.21 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.73e-05/0.0171, allocations: 19.92 kB / 385.4 MB, free: 17.19 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002091/0.01731, allocations: 220.8 kB / 385.6 MB, free: 16.94 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001212/0.01743, allocations: 86.16 kB / 385.7 MB, free: 16.83 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.177e-05/0.01747, allocations: 35.34 kB / 385.7 MB, free: 16.79 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.072e-05/0.01748, allocations: 0 / 385.7 MB, free: 16.79 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001104/0.01759, allocations: 112.3 kB / 385.9 MB, free: 16.66 MB / 314.7 MB Notification: Performance of pre-optimization done (n=10): time 7.71e-07/0.01759, allocations: 0 / 385.9 MB, free: 16.66 MB / 314.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002378/0.01783, allocations: 169.2 kB / 386 MB, free: 16.48 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.354e-05/0.01785, allocations: 89.05 kB / 386.1 MB, free: 16.38 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004304/0.01828, allocations: 0.6859 MB / 386.8 MB, free: 15.68 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.01829, allocations: 33.7 kB / 386.8 MB, free: 15.64 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000151/0.01844, allocations: 310.7 kB / 387.1 MB, free: 15.33 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.426e-05/0.01849, allocations: 27.83 kB / 387.2 MB, free: 15.3 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.707e-05/0.01853, allocations: 31.36 kB / 387.2 MB, free: 15.26 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.01865, allocations: 0.5742 MB / 387.8 MB, free: 14.68 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.304e-05/0.01868, allocations: 8 kB / 387.8 MB, free: 14.67 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.366e-05/0.01873, allocations: 57.97 kB / 387.8 MB, free: 14.6 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.5e-05/0.0188, allocations: 66.67 kB / 387.9 MB, free: 14.52 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.01881, allocations: 0 / 387.9 MB, free: 14.52 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001799/0.01899, allocations: 153.8 kB / 388 MB, free: 14.36 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.019, allocations: 10.12 kB / 388 MB, free: 14.35 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.01901, allocations: 8.047 kB / 388.1 MB, free: 14.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.01902, allocations: 7.938 kB / 388.1 MB, free: 14.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.84e-05/0.01912, allocations: 23.98 kB / 388.1 MB, free: 14.31 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.888e-06/0.01912, allocations: 4 kB / 388.1 MB, free: 14.31 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.484e-05/0.01921, allocations: 11.89 kB / 388.1 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.01922, allocations: 0 / 388.1 MB, free: 14.3 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 0.00313/0.02235, allocations: 173.1 kB / 388.3 MB, free: 14.12 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.845e-05/0.02242, allocations: 55.67 kB / 388.3 MB, free: 14.06 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002445/0.02266, allocations: 154 kB / 388.5 MB, free: 13.91 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.02266, allocations: 7.875 kB / 388.5 MB, free: 13.9 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.02267, allocations: 4 kB / 388.5 MB, free: 13.89 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.02267, allocations: 3.984 kB / 388.5 MB, free: 13.89 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002123/0.02288, allocations: 225 kB / 388.7 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.02289, allocations: 0 / 388.7 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.169e-05/0.02294, allocations: 19.98 kB / 388.7 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.02294, allocations: 0 / 388.7 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.02295, allocations: 0 / 388.7 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.02295, allocations: 4 kB / 388.7 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.02296, allocations: 0 / 388.7 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002118/0.02317, allocations: 211.6 kB / 388.9 MB, free: 13.39 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.526e-05/0.02323, allocations: 63.55 kB / 389 MB, free: 13.32 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.558e-05/0.02327, allocations: 4.188 kB / 389 MB, free: 13.32 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.83e-05/0.02334, allocations: 11.98 kB / 389 MB, free: 13.31 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.249e-05/0.02337, allocations: 15.91 kB / 389 MB, free: 13.29 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.521e-05/0.02338, allocations: 8 kB / 389 MB, free: 13.29 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002602/0.02364, allocations: 438.6 kB / 389.5 MB, free: 12.86 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.02364, allocations: 0 / 389.5 MB, free: 12.86 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002435/0.02389, allocations: 44 kB / 389.5 MB, free: 12.82 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.0009564/0.02484, allocations: 393.3 kB / 389.9 MB, free: 12.57 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001176/0.02496, allocations: 63.53 kB / 390 MB, free: 12.5 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.02496, allocations: 0 / 390 MB, free: 12.5 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.307e-05/0.02501, allocations: 39.59 kB / 390 MB, free: 12.46 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00242/0.02743, allocations: 85.16 kB / 390.1 MB, free: 12.38 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008579/0.02828, allocations: 0.6537 MB / 390.7 MB, free: 11.69 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.703e-05/0.02837, allocations: 132.1 kB / 390.9 MB, free: 11.54 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 9.517e-05/0.02847, allocations: 46.88 kB / 390.9 MB, free: 11.49 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001268/0.02859, allocations: 118.2 kB / 391 MB, free: 11.38 MB / 314.7 MB Notification: Performance of SimCode: time 1.192e-06/0.02859, allocations: 0 / 391 MB, free: 11.38 MB / 314.7 MB Notification: Performance of Templates: time 0.007405/0.036, allocations: 4.428 MB / 395.5 MB, free: 6.996 MB / 314.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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 240] 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","",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.126360866241157]