Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001632/0.001632, allocations: 102 kB / 21.22 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 185.2 kB / 24.51 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 225.6 MB / 253.3 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2288/0.2288, allocations: 44.91 MB / 353.5 MB, free: 11.84 MB / 286.1 MB " [Timeout remaining time 180] 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.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002174/0.002174, allocations: 63.89 kB / 497.8 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4341/0.4362, allocations: 64.3 MB / 0.5489 GB, free: 13.15 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.003811/0.4401, allocations: 1.725 MB / 0.5506 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001875/0.4419, allocations: 0.9042 MB / 0.5514 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.659e-05/0.442, allocations: 5.25 kB / 0.5515 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003705/0.4424, allocations: 48.94 kB / 0.5515 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002734/0.4427, allocations: 61 kB / 0.5516 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003316/0.443, allocations: 112 kB / 0.5517 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002154/0.4432, allocations: 98.36 kB / 0.5518 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.4433, allocations: 15.45 kB / 0.5518 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001126/0.4435, allocations: 44.62 kB / 0.5518 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.747e-05/0.4435, allocations: 30.64 kB / 0.5518 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.508e-05/0.4436, allocations: 3.344 kB / 0.5518 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001218/0.4437, allocations: 47.03 kB / 0.5519 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.827e-05/0.4438, allocations: 38.34 kB / 0.5519 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.492e-05/0.4438, allocations: 36.12 kB / 0.552 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002683/0.4441, allocations: 134.3 kB / 0.5521 GB, free: 10.68 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.4441, allocations: 0 / 0.5521 GB, free: 10.68 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.494e-06/0.4441, allocations: 1.438 kB / 0.5521 GB, free: 10.68 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.4441, allocations: 0 / 0.5521 GB, free: 10.68 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007049/0.4448, allocations: 365.1 kB / 0.5524 GB, free: 10.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.518e-05/0.4449, allocations: 13.98 kB / 0.5525 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.094e-05/0.445, allocations: 15.97 kB / 0.5525 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003238/0.4453, allocations: 163.4 kB / 0.5526 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.4453, allocations: 1.656 kB / 0.5526 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.008e-05/0.4453, allocations: 6.844 kB / 0.5526 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001827/0.4455, allocations: 53.8 kB / 0.5527 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.4455, allocations: 3.984 kB / 0.5527 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.4455, allocations: 1.094 kB / 0.5527 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.4456, allocations: 9.094 kB / 0.5527 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.406e-05/0.4456, allocations: 17.7 kB / 0.5527 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004737/0.4461, allocations: 266.6 kB / 0.553 GB, free: 9.797 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002117/0.4463, allocations: 60.17 kB / 0.553 GB, free: 9.75 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.134e-05/0.4464, allocations: 16.8 kB / 0.553 GB, free: 9.738 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.655e-05/0.4464, allocations: 5.188 kB / 0.553 GB, free: 9.734 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001749/0.4466, allocations: 68.91 kB / 0.5531 GB, free: 9.668 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.522e-06/0.4466, allocations: 0 / 0.5531 GB, free: 9.668 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007515/0.4473, allocations: 176.3 kB / 0.5533 GB, free: 9.566 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.491e-05/0.4474, allocations: 52.5 kB / 0.5533 GB, free: 9.504 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003599/0.4478, allocations: 259.4 kB / 0.5536 GB, free: 9.332 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.099e-05/0.4478, allocations: 30.95 kB / 0.5536 GB, free: 9.297 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.4479, allocations: 118.8 kB / 0.5537 GB, free: 9.184 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.195e-05/0.448, allocations: 32.2 kB / 0.5538 GB, free: 9.156 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.535e-05/0.448, allocations: 20.56 kB / 0.5538 GB, free: 9.137 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001938/0.4482, allocations: 335.3 kB / 0.5541 GB, free: 8.805 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.573e-05/0.4483, allocations: 15.44 kB / 0.5541 GB, free: 8.801 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.694e-05/0.4483, allocations: 35.08 kB / 0.5541 GB, free: 8.773 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001391/0.4485, allocations: 63.11 kB / 0.5542 GB, free: 8.73 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.4485, allocations: 1.156 kB / 0.5542 GB, free: 8.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002416/0.4487, allocations: 111.8 kB / 0.5543 GB, free: 8.656 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.4487, allocations: 5.656 kB / 0.5543 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.4487, allocations: 1.125 kB / 0.5543 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.432e-05/0.4488, allocations: 5.328 kB / 0.5543 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.4489, allocations: 16.75 kB / 0.5543 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/0.4489, allocations: 1.281 kB / 0.5543 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.794e-05/0.449, allocations: 14.41 kB / 0.5544 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.449, allocations: 2.531 kB / 0.5544 GB, free: 8.637 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 (10): * Single equations (assignments): 10 * 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.0001752/0.4492, allocations: 136.7 kB / 0.5545 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.525e-05/0.4492, allocations: 18.3 kB / 0.5545 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002891/0.4495, allocations: 119.4 kB / 0.5546 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.4495, allocations: 1 kB / 0.5546 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.4495, allocations: 3.938 kB / 0.5546 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.4495, allocations: 3.938 kB / 0.5546 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005371/0.45, allocations: 367.8 kB / 0.555 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.45, allocations: 3.938 kB / 0.555 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.939e-05/0.4501, allocations: 15.77 kB / 0.555 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.4501, allocations: 1.219 kB / 0.555 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/0.4501, allocations: 5.094 kB / 0.555 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.4501, allocations: 1.188 kB / 0.555 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.4501, allocations: 1.062 kB / 0.555 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002959/0.4504, allocations: 205.1 kB / 0.5552 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.942e-05/0.4504, allocations: 12.81 kB / 0.5552 GB, free: 7.867 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.135e-05/0.4504, allocations: 9.438 kB / 0.5552 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.948e-05/0.4505, allocations: 6.703 kB / 0.5552 GB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.349e-05/0.4506, allocations: 10.45 kB / 0.5552 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-05/0.4506, allocations: 7.922 kB / 0.5552 GB, free: 7.844 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002369/0.4509, allocations: 199.5 kB / 0.5554 GB, free: 7.719 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4509, allocations: 4 kB / 0.5554 GB, free: 7.715 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002838/0.4511, allocations: 24.41 kB / 0.5555 GB, free: 7.707 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 6 * 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.00179/0.4529, allocations: 463.6 kB / 0.5559 GB, free: 7.484 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00023/0.4532, allocations: 64.06 kB / 0.556 GB, free: 7.453 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.4532, allocations: 1.094 kB / 0.556 GB, free: 7.453 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.342e-05/0.4532, allocations: 23.45 kB / 0.556 GB, free: 7.445 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003866/0.4536, allocations: 41.88 kB / 0.556 GB, free: 7.422 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006492/0.4543, allocations: 285.4 kB / 0.5563 GB, free: 7.211 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004291/0.4547, allocations: 0.7261 MB / 0.557 GB, free: 6.488 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.833e-05/0.4548, allocations: 13.78 kB / 0.557 GB, free: 6.48 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.516e-05/0.4548, allocations: 15.41 kB / 0.557 GB, free: 6.473 MB / 398.1 MB Notification: Performance of SimCode: time 9.22e-07/0.4548, allocations: 0 / 0.557 GB, free: 6.473 MB / 398.1 MB Notification: Performance of Templates: time 0.005578/0.4604, allocations: 1.785 MB / 0.5588 GB, free: 5.117 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.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: 5.552858508192003]