Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001704/0.001704, allocations: 107.2 kB / 20.37 MB, free: 2.105 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001975/0.001975, allocations: 192.4 kB / 23.52 MB, free: 5.418 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 225.6 MB / 252.1 MB, free: 13.42 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2251/0.2251, allocations: 44.91 MB / 352.1 MB, free: 12.32 MB / 286.1 MB [Timeout remaining time 90] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001907/0.001907, allocations: 67.89 kB / 495.7 MB, free: 1.938 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.293/0.2949, allocations: 64.25 MB / 0.5469 GB, free: 13.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003208/0.2981, allocations: 1.739 MB / 0.5485 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00157/0.2997, allocations: 0.8834 MB / 0.5494 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.774e-05/0.2997, allocations: 5.781 kB / 0.5494 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003716/0.3001, allocations: 103.1 kB / 0.5495 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002456/0.3004, allocations: 91.45 kB / 0.5496 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003086/0.3007, allocations: 110.8 kB / 0.5497 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001952/0.3009, allocations: 128.5 kB / 0.5498 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.602e-05/0.301, allocations: 9.719 kB / 0.5498 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001115/0.3011, allocations: 59.28 kB / 0.5499 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001207/0.3012, allocations: 79.44 kB / 0.55 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.014e-05/0.3012, allocations: 4.062 kB / 0.55 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001168/0.3013, allocations: 58.86 kB / 0.55 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.232e-05/0.3014, allocations: 30.61 kB / 0.5501 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.624e-05/0.3015, allocations: 50.47 kB / 0.5501 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002466/0.3017, allocations: 151.3 kB / 0.5503 GB, free: 10.66 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.3017, allocations: 0 / 0.5503 GB, free: 10.66 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3017, allocations: 0 / 0.5503 GB, free: 10.66 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.141e-06/0.3017, allocations: 5.531 kB / 0.5503 GB, free: 10.66 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006237/0.3023, allocations: 452.7 kB / 0.5507 GB, free: 10.2 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.3024, allocations: 9.406 kB / 0.5507 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.711e-05/0.3024, allocations: 19.47 kB / 0.5507 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003135/0.3027, allocations: 226.9 kB / 0.5509 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.3028, allocations: 3.625 kB / 0.5509 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.795e-05/0.3028, allocations: 9.938 kB / 0.5509 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.303, allocations: 71.84 kB / 0.551 GB, free: 9.883 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.303, allocations: 0 / 0.551 GB, free: 9.883 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.303, allocations: 5.219 kB / 0.551 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.303, allocations: 1.531 kB / 0.551 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.872e-05/0.3031, allocations: 32.25 kB / 0.5511 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004339/0.3035, allocations: 318.5 kB / 0.5514 GB, free: 9.535 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002931/0.3038, allocations: 74.78 kB / 0.5514 GB, free: 9.484 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.63e-05/0.3039, allocations: 27 kB / 0.5515 GB, free: 9.465 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.798e-05/0.3039, allocations: 1.469 kB / 0.5515 GB, free: 9.465 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001529/0.3041, allocations: 76.66 kB / 0.5515 GB, free: 9.395 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.342e-06/0.3041, allocations: 0 / 0.5515 GB, free: 9.395 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0007974/0.3049, allocations: 268.5 kB / 0.5518 GB, free: 9.254 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.362e-05/0.3049, allocations: 60.59 kB / 0.5518 GB, free: 9.184 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002572/0.3052, allocations: 245.2 kB / 0.5521 GB, free: 9.02 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.441e-05/0.3052, allocations: 30.86 kB / 0.5521 GB, free: 8.984 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.595e-05/0.3053, allocations: 111.8 kB / 0.5522 GB, free: 8.879 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.425e-05/0.3053, allocations: 45.3 kB / 0.5523 GB, free: 8.84 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.954e-05/0.3053, allocations: 26.91 kB / 0.5523 GB, free: 8.816 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.3055, allocations: 336.3 kB / 0.5526 GB, free: 8.484 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.22e-05/0.3056, allocations: 33.17 kB / 0.5526 GB, free: 8.469 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.807e-05/0.3057, allocations: 49.61 kB / 0.5527 GB, free: 8.434 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001684/0.3058, allocations: 93.59 kB / 0.5528 GB, free: 8.375 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-06/0.3058, allocations: 1.125 kB / 0.5528 GB, free: 8.375 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002631/0.3061, allocations: 145.4 kB / 0.5529 GB, free: 8.289 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.3061, allocations: 5.531 kB / 0.5529 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.3061, allocations: 1.094 kB / 0.5529 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.3061, allocations: 5.25 kB / 0.5529 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.853e-05/0.3062, allocations: 22.48 kB / 0.5529 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.3062, allocations: 5.062 kB / 0.5529 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.911e-05/0.3063, allocations: 6.219 kB / 0.553 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.3063, allocations: 8.312 kB / 0.553 GB, free: 8.27 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.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.0001179/0.3064, allocations: 136.8 kB / 0.5531 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.105e-05/0.3064, allocations: 15.62 kB / 0.5531 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003452/0.3068, allocations: 158.2 kB / 0.5533 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.3068, allocations: 5.062 kB / 0.5533 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.3068, allocations: 7.922 kB / 0.5533 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.3068, allocations: 1.156 kB / 0.5533 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000617/0.3074, allocations: 473.5 kB / 0.5537 GB, free: 7.598 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.3074, allocations: 5.031 kB / 0.5537 GB, free: 7.594 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.786e-05/0.3075, allocations: 21.11 kB / 0.5537 GB, free: 7.586 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.3075, allocations: 1.125 kB / 0.5537 GB, free: 7.586 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.3075, allocations: 11.25 kB / 0.5538 GB, free: 7.578 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.3075, allocations: 1.094 kB / 0.5538 GB, free: 7.578 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.3075, allocations: 1 kB / 0.5538 GB, free: 7.578 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003111/0.3078, allocations: 250.6 kB / 0.554 GB, free: 7.375 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.908e-05/0.3079, allocations: 88.55 kB / 0.5541 GB, free: 7.273 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.768e-05/0.3079, allocations: 7.266 kB / 0.5541 GB, free: 7.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.844e-05/0.308, allocations: 14.41 kB / 0.5541 GB, free: 7.258 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.941e-05/0.308, allocations: 9.141 kB / 0.5541 GB, free: 7.254 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-05/0.308, allocations: 4.281 kB / 0.5541 GB, free: 7.254 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001737/0.3082, allocations: 184.4 kB / 0.5543 GB, free: 7.137 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3082, allocations: 3.938 kB / 0.5543 GB, free: 7.133 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002781/0.3085, allocations: 30.47 kB / 0.5543 GB, free: 7.125 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0019/0.3104, allocations: 0.5153 MB / 0.5548 GB, free: 6.879 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000228/0.3106, allocations: 79.41 kB / 0.5549 GB, free: 6.848 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3106, allocations: 0 / 0.5549 GB, free: 6.848 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001015/0.3107, allocations: 44.2 kB / 0.5549 GB, free: 6.828 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004006/0.3111, allocations: 43.03 kB / 0.555 GB, free: 6.805 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006816/0.3118, allocations: 344.3 kB / 0.5553 GB, free: 6.539 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004035/0.3122, allocations: 0.7195 MB / 0.556 GB, free: 5.824 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.446e-05/0.3123, allocations: 22.69 kB / 0.556 GB, free: 5.812 MB / 398.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3123, allocations: 0 / 0.556 GB, free: 5.812 MB / 398.1 MB Notification: Performance of Templates: time 0.00515/0.3174, allocations: 2.389 MB / 0.5584 GB, free: 3.871 MB / 398.1 MB [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches