Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.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.001384/0.001384, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001822/0.003206, 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.001118/0.001118, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001382/0.002501, 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.037/1.037, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1063/1.143, allocations: 53.64 MB / 243.3 MB, free: 15.58 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.3279/0.3279, allocations: 32.8 MB / 276.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03175/0.3597, allocations: 12.53 MB / 289.3 MB, free: 8.668 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.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.295e-06/2.295e-06, allocations: 0 / 290.7 MB, free: 7.57 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.773e-05/3.003e-05, allocations: 3.438 kB / 290.7 MB, free: 7.566 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.005029/0.005059, allocations: 1.805 MB / 292.5 MB, free: 6.102 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003775/0.008834, allocations: 1.758 MB / 294.3 MB, free: 4.625 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001529/0.008987, allocations: 3.938 kB / 294.3 MB, free: 4.621 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000379/0.009366, allocations: 35.78 kB / 294.3 MB, free: 4.586 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005493/0.009915, allocations: 107.4 kB / 294.4 MB, free: 4.48 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003814/0.0103, allocations: 71.67 kB / 294.5 MB, free: 4.41 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002859/0.01058, allocations: 115.6 kB / 294.6 MB, free: 4.297 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.01071, allocations: 8.734 kB / 294.6 MB, free: 4.289 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002661/0.01097, allocations: 87.75 kB / 294.7 MB, free: 4.203 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001971/0.01117, allocations: 27.91 kB / 294.7 MB, free: 4.176 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.318e-05/0.01119, allocations: 4 kB / 294.7 MB, free: 4.172 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002605/0.01145, allocations: 111.8 kB / 294.8 MB, free: 4.062 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.328e-05/0.01152, allocations: 11.94 kB / 294.8 MB, free: 4.051 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.718e-05/0.01155, allocations: 19.94 kB / 294.9 MB, free: 4.031 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003319/0.01189, allocations: 151.4 kB / 295 MB, free: 3.883 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-05/0.01191, allocations: 0 / 295 MB, free: 3.883 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.01191, allocations: 0 / 295 MB, free: 3.883 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.638e-05/0.01194, allocations: 4 kB / 295 MB, free: 3.879 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.0006839/0.01263, allocations: 352.4 kB / 295.4 MB, free: 3.512 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.271e-05/0.01268, allocations: 8.031 kB / 295.4 MB, free: 3.504 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.13e-05/0.01273, allocations: 12.92 kB / 295.4 MB, free: 3.492 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002435/0.01297, allocations: 142.2 kB / 295.5 MB, free: 3.328 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/0.013, allocations: 384 / 295.5 MB, free: 3.328 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.648e-05/0.01302, allocations: 8.375 kB / 295.5 MB, free: 3.32 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001963/0.01322, allocations: 108.5 kB / 295.6 MB, free: 3.191 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.01323, allocations: 3.984 kB / 295.6 MB, free: 3.188 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.01324, allocations: 0 / 295.6 MB, free: 3.188 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.01325, allocations: 0 / 295.6 MB, free: 3.188 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.212e-05/0.01328, allocations: 10.83 kB / 295.6 MB, free: 3.176 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002592/0.01354, allocations: 166 kB / 295.8 MB, free: 2.996 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/0.01365, allocations: 81.3 kB / 295.9 MB, free: 2.906 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.794e-05/0.01368, allocations: 28.72 kB / 295.9 MB, free: 2.875 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.532e-05/0.01369, allocations: 4 kB / 295.9 MB, free: 2.871 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000118/0.01381, allocations: 70.16 kB / 296 MB, free: 2.789 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.723e-06/0.01381, allocations: 0 / 296 MB, free: 2.789 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003601/0.01417, allocations: 109.8 kB / 296.1 MB, free: 2.676 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.519e-05/0.01421, allocations: 51.41 kB / 296.1 MB, free: 2.613 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.01433, allocations: 162.6 kB / 296.3 MB, free: 2.441 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.01435, allocations: 29.7 kB / 296.3 MB, free: 2.406 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.708e-05/0.01439, allocations: 92.11 kB / 296.4 MB, free: 2.312 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.183e-05/0.01442, allocations: 35.72 kB / 296.5 MB, free: 2.277 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.74e-05/0.01446, allocations: 17.72 kB / 296.5 MB, free: 2.254 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.595e-05/0.01455, allocations: 326.8 kB / 296.8 MB, free: 1.926 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.761e-05/0.01458, allocations: 10.83 kB / 296.8 MB, free: 1.914 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.135e-05/0.01463, allocations: 64.19 kB / 296.9 MB, free: 1.836 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.197e-05/0.01468, allocations: 40.45 kB / 296.9 MB, free: 1.789 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.01468, allocations: 0 / 296.9 MB, free: 1.789 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.615e-05/0.01478, allocations: 72.44 kB / 297 MB, free: 1.711 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.0148, allocations: 8 kB / 297 MB, free: 1.703 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.0148, allocations: 0 / 297 MB, free: 1.703 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.01481, allocations: 64 / 297 MB, free: 1.703 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.385e-05/0.0149, allocations: 27.92 kB / 297 MB, free: 1.676 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.386e-06/0.0149, allocations: 0 / 297 MB, free: 1.676 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.389e-05/0.01493, allocations: 0 / 297 MB, free: 1.676 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.01494, allocations: 4 kB / 297 MB, free: 1.672 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.901e-05/0.01503, allocations: 128.5 kB / 297.1 MB, free: 1.535 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.5e-05/0.01505, allocations: 4 kB / 297.1 MB, free: 1.531 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001267/0.01517, allocations: 74.59 kB / 297.2 MB, free: 1.453 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.01518, allocations: 4 kB / 297.2 MB, free: 1.449 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.806e-06/0.01518, allocations: 0 / 297.2 MB, free: 1.449 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.01519, allocations: 3.984 kB / 297.2 MB, free: 1.445 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002865/0.01547, allocations: 295.4 kB / 297.5 MB, free: 1.129 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/0.01548, allocations: 7.984 kB / 297.5 MB, free: 1.121 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-05/0.01553, allocations: 11.94 kB / 297.5 MB, free: 1.109 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.593e-05/0.01554, allocations: 7.953 kB / 297.5 MB, free: 1.102 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.01554, allocations: 0 / 297.5 MB, free: 1.102 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.01555, allocations: 4 kB / 297.5 MB, free: 1.098 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.01556, allocations: 3.984 kB / 297.5 MB, free: 1.094 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.01556, allocations: 0 / 297.5 MB, free: 1.094 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001404/0.0157, allocations: 223 kB / 297.8 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.01572, allocations: 8.031 kB / 297.8 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.65e-05/0.01577, allocations: 0 / 297.8 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.787e-05/0.0158, allocations: 7.984 kB / 297.8 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/0.01582, allocations: 8 kB / 297.8 MB, free: 0.832 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.311e-05/0.01587, allocations: 42.88 kB / 297.8 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01587, allocations: 0 / 297.8 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002082/0.01608, allocations: 55.8 kB / 297.9 MB, free: 0.7344 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.00181/0.01789, allocations: 0.7718 MB / 298.7 MB, free: 388 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001338/0.01803, allocations: 44.77 kB / 298.7 MB, free: 340 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.054e-05/0.01804, allocations: 0 / 298.7 MB, free: 340 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.175e-05/0.01807, allocations: 28.78 kB / 298.7 MB, free: 308 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002187/0.01829, allocations: 49.39 kB / 298.8 MB, free: 264 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005521/0.01884, allocations: 211.7 kB / 299 MB, free: 20 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.707e-05/0.01891, allocations: 63.34 kB / 299 MB, free: 15.94 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.785e-05/0.01896, allocations: 17.27 kB / 299.1 MB, free: 15.92 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.676e-05/0.01905, allocations: 71.36 kB / 299.1 MB, free: 15.85 MB / 298.7 MB Notification: Performance of SimCode: time 7.51e-07/0.01905, allocations: 0 / 299.1 MB, free: 15.85 MB / 298.7 MB Notification: Performance of Templates: time 0.005137/0.02419, allocations: 2.818 MB / 301.9 MB, free: 13.07 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.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.335414101369679]