Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.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.001924/0.001924, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 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.002367/0.002367, allocations: 209.7 kB / 23.73 MB, free: 4.387 MB / 14.72 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.568/1.568, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.2383/0.2383, allocations: 44.93 MB / 358.8 MB, free: 6.055 MB / 286.1 MB " [Timeout remaining time 179] 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.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.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002261/0.002261, allocations: 66.28 kB / 0.4936 GB, free: 9.969 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3959/0.3982, allocations: 65.47 MB / 0.5575 GB, free: 7.469 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.004192/0.4023, allocations: 1.718 MB / 0.5592 GB, free: 5.734 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002024/0.4044, allocations: 0.9637 MB / 0.5601 GB, free: 4.766 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.911e-05/0.4045, allocations: 0 / 0.5601 GB, free: 4.766 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002919/0.4047, allocations: 39.77 kB / 0.5602 GB, free: 4.727 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003365/0.4051, allocations: 103.5 kB / 0.5603 GB, free: 4.625 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000216/0.4053, allocations: 79.72 kB / 0.5603 GB, free: 4.547 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001968/0.4055, allocations: 103.6 kB / 0.5604 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.4056, allocations: 7.984 kB / 0.5605 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.4057, allocations: 43.8 kB / 0.5605 GB, free: 4.395 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.84e-05/0.4058, allocations: 31.78 kB / 0.5605 GB, free: 4.363 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.999e-05/0.4058, allocations: 4 kB / 0.5605 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.4059, allocations: 43.92 kB / 0.5606 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.753e-05/0.406, allocations: 27.91 kB / 0.5606 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.483e-05/0.406, allocations: 27.8 kB / 0.5606 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000252/0.4063, allocations: 125.9 kB / 0.5607 GB, free: 4.145 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.4063, allocations: 0 / 0.5607 GB, free: 4.145 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4063, allocations: 0 / 0.5607 GB, free: 4.145 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.044e-05/0.4063, allocations: 0 / 0.5607 GB, free: 4.145 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.0005881/0.4069, allocations: 349.5 kB / 0.5611 GB, free: 3.773 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.4069, allocations: 8.031 kB / 0.5611 GB, free: 3.766 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.41e-05/0.407, allocations: 12.89 kB / 0.5611 GB, free: 3.754 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003389/0.4073, allocations: 158.9 kB / 0.5613 GB, free: 3.574 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.545e-05/0.4073, allocations: 384 / 0.5613 GB, free: 3.574 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.89e-05/0.4074, allocations: 8.109 kB / 0.5613 GB, free: 3.566 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/0.4075, allocations: 61.67 kB / 0.5613 GB, free: 3.5 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.4075, allocations: 0 / 0.5613 GB, free: 3.5 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.4076, allocations: 3.984 kB / 0.5613 GB, free: 3.496 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.4076, allocations: 0 / 0.5613 GB, free: 3.496 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.148e-05/0.4076, allocations: 23.98 kB / 0.5613 GB, free: 3.473 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003736/0.408, allocations: 232.5 kB / 0.5616 GB, free: 3.215 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001807/0.4082, allocations: 54.69 kB / 0.5616 GB, free: 3.152 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.764e-05/0.4083, allocations: 20.84 kB / 0.5616 GB, free: 3.129 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.357e-05/0.4083, allocations: 0 / 0.5616 GB, free: 3.129 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001559/0.4084, allocations: 71.39 kB / 0.5617 GB, free: 3.047 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.362e-06/0.4084, allocations: 3.938 kB / 0.5617 GB, free: 3.043 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000614/0.409, allocations: 185.6 kB / 0.5619 GB, free: 2.855 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.382e-05/0.4091, allocations: 51.41 kB / 0.5619 GB, free: 2.793 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000227/0.4093, allocations: 206.2 kB / 0.5621 GB, free: 2.582 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.4093, allocations: 25.7 kB / 0.5622 GB, free: 2.551 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.2e-05/0.4094, allocations: 112.1 kB / 0.5623 GB, free: 2.438 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.68e-05/0.4095, allocations: 27.78 kB / 0.5623 GB, free: 2.41 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.485e-05/0.4095, allocations: 25.7 kB / 0.5623 GB, free: 2.379 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.4097, allocations: 330.8 kB / 0.5626 GB, free: 2.047 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.079e-05/0.4097, allocations: 20 kB / 0.5627 GB, free: 2.027 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.127e-05/0.4098, allocations: 33.83 kB / 0.5627 GB, free: 1.988 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001273/0.4099, allocations: 65.7 kB / 0.5627 GB, free: 1.918 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.4099, allocations: 3.938 kB / 0.5627 GB, free: 1.914 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002099/0.4101, allocations: 105.6 kB / 0.5629 GB, free: 1.805 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.4102, allocations: 10.75 kB / 0.5629 GB, free: 1.797 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/0.4102, allocations: 4 kB / 0.5629 GB, free: 1.793 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.4102, allocations: 0 / 0.5629 GB, free: 1.793 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.581e-05/0.4103, allocations: 23.95 kB / 0.5629 GB, free: 1.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.4103, allocations: 0 / 0.5629 GB, free: 1.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.589e-05/0.4103, allocations: 4 kB / 0.5629 GB, free: 1.766 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.4103, allocations: 4 kB / 0.5629 GB, free: 1.762 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.0001209/0.4105, allocations: 132.7 kB / 0.563 GB, free: 1.625 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.664e-05/0.4105, allocations: 11.91 kB / 0.563 GB, free: 1.613 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002917/0.4108, allocations: 127.1 kB / 0.5632 GB, free: 1.473 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.4108, allocations: 0 / 0.5632 GB, free: 1.473 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.4108, allocations: 0 / 0.5632 GB, free: 1.473 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.4108, allocations: 4 kB / 0.5632 GB, free: 1.469 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000516/0.4113, allocations: 350.9 kB / 0.5635 GB, free: 1.086 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.4113, allocations: 0 / 0.5635 GB, free: 1.086 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.924e-05/0.4113, allocations: 8 kB / 0.5635 GB, free: 1.078 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.4113, allocations: 0 / 0.5635 GB, free: 1.078 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/0.4114, allocations: 11.98 kB / 0.5635 GB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.4114, allocations: 0 / 0.5635 GB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.4114, allocations: 3.938 kB / 0.5635 GB, free: 1.062 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002794/0.4116, allocations: 216.5 kB / 0.5637 GB, free: 0.832 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.208e-05/0.4117, allocations: 7.953 kB / 0.5637 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.219e-05/0.4117, allocations: 4.031 kB / 0.5637 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.758e-05/0.4118, allocations: 11.98 kB / 0.5637 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.527e-05/0.4118, allocations: 11.88 kB / 0.5638 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-05/0.4118, allocations: 7.984 kB / 0.5638 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001468/0.412, allocations: 152.2 kB / 0.5639 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.412, allocations: 0 / 0.5639 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002691/0.4122, allocations: 27.94 kB / 0.5639 GB, free: 0.6133 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 (9): * Single equations (assignments): 7 * 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.001892/0.4141, allocations: 491.7 kB / 0.5644 GB, free: 344 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002103/0.4143, allocations: 59.91 kB / 0.5645 GB, free: 284 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.4143, allocations: 0 / 0.5645 GB, free: 284 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.773e-05/0.4144, allocations: 35.92 kB / 0.5645 GB, free: 248 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003578/0.4148, allocations: 31.48 kB / 0.5645 GB, free: 220 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005326/0.4153, allocations: 250.8 kB / 0.5648 GB, free: 15.94 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.656e-05/0.4154, allocations: 88.19 kB / 0.5648 GB, free: 15.84 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.509e-05/0.4155, allocations: 17.27 kB / 0.5649 GB, free: 15.82 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4e-05/0.4155, allocations: 19.44 kB / 0.5649 GB, free: 15.8 MB / 414.1 MB Notification: Performance of SimCode: time 3.4e-07/0.4155, allocations: 3.938 kB / 0.5649 GB, free: 15.79 MB / 414.1 MB Notification: Performance of Templates: time 0.005193/0.4207, allocations: 1.907 MB / 0.5667 GB, free: 13.91 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.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.4279650673270226]