Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.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.001169/0.001169, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003088/0.004258, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001231/0.001231, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001551/0.002783, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.133/1.133, allocations: 177.2 MB / 189.6 MB, free: 5.293 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1012/1.234, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] 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.3215/0.3215, allocations: 32.81 MB / 276.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03437/0.3558, allocations: 12.52 MB / 289.3 MB, free: 8.672 MB / 282.7 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.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.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53") translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.953e-06/1.953e-06, allocations: 0 / 290.7 MB, free: 7.57 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.358e-05/2.553e-05, allocations: 4 kB / 290.7 MB, free: 7.566 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.00257/0.002596, allocations: 1.806 MB / 292.5 MB, free: 6.102 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001394/0.00399, allocations: 1.019 MB / 293.5 MB, free: 5.336 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.437e-05/0.004084, allocations: 3.906 kB / 293.5 MB, free: 5.336 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002362/0.00432, allocations: 47.44 kB / 293.6 MB, free: 5.301 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002533/0.004573, allocations: 92 kB / 293.7 MB, free: 5.215 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002052/0.004779, allocations: 83.59 kB / 293.7 MB, free: 5.133 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001924/0.004971, allocations: 107.6 kB / 293.9 MB, free: 5.027 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001227/0.005094, allocations: 8.734 kB / 293.9 MB, free: 5.02 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000167/0.005261, allocations: 89.62 kB / 293.9 MB, free: 4.934 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.475e-05/0.005356, allocations: 27.91 kB / 294 MB, free: 4.906 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.809e-05/0.005374, allocations: 4 kB / 294 MB, free: 4.902 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.00548, allocations: 47.92 kB / 294 MB, free: 4.855 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.518e-05/0.005535, allocations: 19.92 kB / 294 MB, free: 4.836 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.716e-05/0.005582, allocations: 19.88 kB / 294.1 MB, free: 4.816 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002062/0.005788, allocations: 103.6 kB / 294.2 MB, free: 4.715 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.179e-05/0.00581, allocations: 0 / 294.2 MB, free: 4.715 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.005811, allocations: 0 / 294.2 MB, free: 4.715 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.091e-05/0.005832, allocations: 3.938 kB / 294.2 MB, free: 4.711 MB / 282.7 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.0005854/0.006418, allocations: 352.4 kB / 294.5 MB, free: 4.344 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.006461, allocations: 12.03 kB / 294.5 MB, free: 4.332 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.12e-05/0.006502, allocations: 8.922 kB / 294.5 MB, free: 4.324 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001731/0.006675, allocations: 154.4 kB / 294.7 MB, free: 4.145 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.006692, allocations: 384 / 294.7 MB, free: 4.145 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.988e-05/0.006712, allocations: 384 / 294.7 MB, free: 4.145 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/0.006836, allocations: 69.75 kB / 294.8 MB, free: 4.066 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.006848, allocations: 3.938 kB / 294.8 MB, free: 4.062 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.226e-06/0.006856, allocations: 0 / 294.8 MB, free: 4.062 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.006862, allocations: 0 / 294.8 MB, free: 4.062 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.506e-05/0.006897, allocations: 11.94 kB / 294.8 MB, free: 4.051 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002461/0.007143, allocations: 177.9 kB / 294.9 MB, free: 3.859 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001084/0.007252, allocations: 85.28 kB / 295 MB, free: 3.766 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.2e-05/0.007274, allocations: 8.859 kB / 295 MB, free: 3.754 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.276e-05/0.007286, allocations: 0 / 295 MB, free: 3.754 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001296/0.007416, allocations: 74.08 kB / 295.1 MB, free: 3.668 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.362e-06/0.007417, allocations: 0 / 295.1 MB, free: 3.668 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003805/0.007798, allocations: 105.8 kB / 295.2 MB, free: 3.559 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.841e-05/0.007846, allocations: 59.39 kB / 295.3 MB, free: 3.488 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001595/0.008006, allocations: 189.6 kB / 295.5 MB, free: 3.289 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.36e-05/0.008029, allocations: 37.69 kB / 295.5 MB, free: 3.246 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.287e-05/0.008072, allocations: 96.08 kB / 295.6 MB, free: 3.148 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.597e-05/0.008108, allocations: 23.77 kB / 295.6 MB, free: 3.125 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.803e-05/0.008146, allocations: 21.72 kB / 295.6 MB, free: 3.098 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.008257, allocations: 334.8 kB / 296 MB, free: 2.762 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.976e-05/0.008277, allocations: 10.83 kB / 296 MB, free: 2.75 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.655e-05/0.008314, allocations: 21.83 kB / 296 MB, free: 2.723 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.44e-05/0.008368, allocations: 48.45 kB / 296 MB, free: 2.668 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.008369, allocations: 0 / 296 MB, free: 2.668 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.99e-05/0.008459, allocations: 80.36 kB / 296.1 MB, free: 2.582 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.008474, allocations: 4 kB / 296.1 MB, free: 2.578 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.00848, allocations: 0 / 296.1 MB, free: 2.578 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.008493, allocations: 7.938 kB / 296.1 MB, free: 2.57 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.162e-05/0.008574, allocations: 15.98 kB / 296.1 MB, free: 2.555 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.00858, allocations: 4 kB / 296.1 MB, free: 2.551 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.056e-05/0.00861, allocations: 4 kB / 296.1 MB, free: 2.547 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.008618, allocations: 4 kB / 296.2 MB, free: 2.543 MB / 282.7 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 8.094e-05/0.008699, allocations: 116.7 kB / 296.3 MB, free: 2.418 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.383e-05/0.008713, allocations: 19.95 kB / 296.3 MB, free: 2.398 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001139/0.008827, allocations: 75.22 kB / 296.4 MB, free: 2.32 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.008829, allocations: 4 kB / 296.4 MB, free: 2.316 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.008832, allocations: 0 / 296.4 MB, free: 2.316 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.008836, allocations: 0 / 296.4 MB, free: 2.316 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002731/0.009109, allocations: 299.4 kB / 296.7 MB, free: 1.996 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.00911, allocations: 0 / 296.7 MB, free: 1.996 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.181e-05/0.009142, allocations: 15.98 kB / 296.7 MB, free: 1.98 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.716e-05/0.009159, allocations: 11.91 kB / 296.7 MB, free: 1.969 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.009162, allocations: 0 / 296.7 MB, free: 1.969 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.009169, allocations: 4.031 kB / 296.7 MB, free: 1.965 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.878e-06/0.009173, allocations: 7.938 kB / 296.7 MB, free: 1.957 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.009174, allocations: 0 / 296.7 MB, free: 1.957 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001268/0.009301, allocations: 219 kB / 296.9 MB, free: 1.723 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.724e-05/0.009318, allocations: 4 kB / 296.9 MB, free: 1.719 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.742e-05/0.009356, allocations: 4 kB / 296.9 MB, free: 1.715 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.28e-05/0.009388, allocations: 11.92 kB / 296.9 MB, free: 1.703 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/0.0094, allocations: 4 kB / 296.9 MB, free: 1.699 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.458e-05/0.009454, allocations: 61.41 kB / 297 MB, free: 1.637 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.009455, allocations: 0 / 297 MB, free: 1.637 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001627/0.009617, allocations: 31.92 kB / 297 MB, free: 1.605 MB / 282.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: 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.001563/0.01118, allocations: 0.6299 MB / 297.7 MB, free: 1.332 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001492/0.01133, allocations: 48.72 kB / 297.7 MB, free: 1.281 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.027e-05/0.01134, allocations: 3.938 kB / 297.7 MB, free: 1.277 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.114e-05/0.01138, allocations: 32.77 kB / 297.7 MB, free: 1.242 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002292/0.01161, allocations: 42.23 kB / 297.8 MB, free: 1.207 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005653/0.01218, allocations: 242.6 kB / 298 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.069e-05/0.01224, allocations: 71.33 kB / 298.1 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.53e-05/0.01228, allocations: 25.25 kB / 298.1 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.93e-05/0.01236, allocations: 71.48 kB / 298.2 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of SimCode: time 1.462e-06/0.01236, allocations: 0 / 298.2 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of Templates: time 0.004697/0.01706, allocations: 2.045 MB / 300.2 MB, free: 14.74 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.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.4216127023100853]