Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.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.0008117/0.0008117, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001165/0.001976, 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.0007649/0.0007649, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009264/0.001691, 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.006/1.006, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1552/1.161, allocations: 53.65 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.2866/0.2866, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05941/0.3461, allocations: 12.53 MB / 289.3 MB, free: 8.676 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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 290.7 MB, free: 7.582 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.086e-05/2.228e-05, allocations: 2.312 kB / 290.7 MB, free: 7.578 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.003268/0.00329, allocations: 1.816 MB / 292.5 MB, free: 6.105 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.006805/0.0101, allocations: 1.013 MB / 293.5 MB, free: 5.344 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.135e-05/0.01017, allocations: 1.156 kB / 293.5 MB, free: 5.344 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002455/0.01041, allocations: 47.94 kB / 293.6 MB, free: 5.309 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002783/0.01069, allocations: 100.5 kB / 293.7 MB, free: 5.227 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002445/0.01094, allocations: 79.61 kB / 293.7 MB, free: 5.148 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00022/0.01116, allocations: 99.7 kB / 293.8 MB, free: 5.051 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.01126, allocations: 12.73 kB / 293.9 MB, free: 5.039 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003231/0.0145, allocations: 79.75 kB / 293.9 MB, free: 4.961 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.928e-05/0.0146, allocations: 27.91 kB / 294 MB, free: 4.934 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.033e-05/0.01462, allocations: 4 kB / 294 MB, free: 4.93 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001117/0.01473, allocations: 43.92 kB / 294 MB, free: 4.887 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.261e-05/0.01478, allocations: 23.88 kB / 294 MB, free: 4.863 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.602e-05/0.01483, allocations: 15.94 kB / 294 MB, free: 4.848 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000244/0.01507, allocations: 95.66 kB / 294.1 MB, free: 4.754 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.061e-05/0.01509, allocations: 4 kB / 294.1 MB, free: 4.75 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.01509, allocations: 4 kB / 294.1 MB, free: 4.746 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.934e-05/0.01511, allocations: 0 / 294.1 MB, free: 4.746 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.0005546/0.01567, allocations: 340.4 kB / 294.5 MB, free: 4.391 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.0157, allocations: 12.03 kB / 294.5 MB, free: 4.379 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.993e-05/0.01574, allocations: 8.922 kB / 294.5 MB, free: 4.371 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000192/0.01593, allocations: 154.1 kB / 294.7 MB, free: 4.195 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.01595, allocations: 384 / 294.7 MB, free: 4.195 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.933e-05/0.01597, allocations: 4.375 kB / 294.7 MB, free: 4.191 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001333/0.0161, allocations: 61.77 kB / 294.7 MB, free: 4.121 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.01612, allocations: 7.938 kB / 294.7 MB, free: 4.113 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.01613, allocations: 7.969 kB / 294.7 MB, free: 4.105 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/0.01613, allocations: 4 kB / 294.7 MB, free: 4.102 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.746e-05/0.01617, allocations: 7.938 kB / 294.7 MB, free: 4.094 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002456/0.01642, allocations: 177.9 kB / 294.9 MB, free: 3.902 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/0.01652, allocations: 81.3 kB / 295 MB, free: 3.812 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.235e-05/0.01654, allocations: 8.859 kB / 295 MB, free: 3.801 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.059e-05/0.01655, allocations: 0 / 295 MB, free: 3.801 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001114/0.01667, allocations: 74.08 kB / 295.1 MB, free: 3.715 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 9.71e-07/0.01667, allocations: 4 kB / 295.1 MB, free: 3.711 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003295/0.017, allocations: 109.8 kB / 295.2 MB, free: 3.598 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.311e-05/0.01703, allocations: 55.41 kB / 295.2 MB, free: 3.531 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00317/0.0202, allocations: 184.8 kB / 295.4 MB, free: 3.336 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.298e-05/0.02022, allocations: 25.7 kB / 295.4 MB, free: 3.305 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.901e-05/0.02027, allocations: 100.1 kB / 295.5 MB, free: 3.203 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.434e-05/0.0203, allocations: 23.73 kB / 295.6 MB, free: 3.18 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.032e-05/0.02036, allocations: 25.7 kB / 295.6 MB, free: 3.148 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.02047, allocations: 326.8 kB / 295.9 MB, free: 2.82 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.789e-05/0.0205, allocations: 10.83 kB / 295.9 MB, free: 2.809 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.163e-05/0.02053, allocations: 25.83 kB / 296 MB, free: 2.777 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.786e-05/0.0206, allocations: 52.39 kB / 296 MB, free: 2.719 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.0206, allocations: 0 / 296 MB, free: 2.719 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001141/0.02071, allocations: 72.44 kB / 296.1 MB, free: 2.641 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.02073, allocations: 4 kB / 296.1 MB, free: 2.637 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.02073, allocations: 0 / 296.1 MB, free: 2.637 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.02075, allocations: 4 kB / 296.1 MB, free: 2.633 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.517e-05/0.02084, allocations: 19.92 kB / 296.1 MB, free: 2.613 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.02085, allocations: 0 / 296.1 MB, free: 2.613 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.965e-05/0.02088, allocations: 8.031 kB / 296.1 MB, free: 2.605 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/0.02089, allocations: 4 kB / 296.1 MB, free: 2.602 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.396e-05/0.02098, allocations: 116.7 kB / 296.2 MB, free: 2.477 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.08e-05/0.021, allocations: 11.94 kB / 296.2 MB, free: 2.465 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001515/0.02115, allocations: 79.22 kB / 296.3 MB, free: 2.383 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.02115, allocations: 0 / 296.3 MB, free: 2.383 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.02116, allocations: 4 kB / 296.3 MB, free: 2.379 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.02116, allocations: 0 / 296.3 MB, free: 2.379 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002828/0.02144, allocations: 295.4 kB / 296.6 MB, free: 2.062 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.02145, allocations: 8.031 kB / 296.6 MB, free: 2.055 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.5e-05/0.02149, allocations: 11.98 kB / 296.6 MB, free: 2.043 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.668e-05/0.02151, allocations: 11.91 kB / 296.6 MB, free: 2.031 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.02151, allocations: 0 / 296.6 MB, free: 2.031 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.02152, allocations: 4 kB / 296.6 MB, free: 2.027 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.02152, allocations: 0 / 296.6 MB, free: 2.027 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.02152, allocations: 0 / 296.6 MB, free: 2.027 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001414/0.02166, allocations: 227 kB / 296.9 MB, free: 1.785 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.978e-05/0.02168, allocations: 0 / 296.9 MB, free: 1.785 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.619e-05/0.02175, allocations: 0 / 296.9 MB, free: 1.785 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.795e-05/0.02178, allocations: 15.98 kB / 296.9 MB, free: 1.77 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.376e-05/0.02179, allocations: 4 kB / 296.9 MB, free: 1.766 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.537e-05/0.02186, allocations: 55.58 kB / 296.9 MB, free: 1.707 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02186, allocations: 0 / 296.9 MB, free: 1.707 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002363/0.02209, allocations: 23.94 kB / 297 MB, free: 1.684 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.005183/0.02728, allocations: 0.643 MB / 297.6 MB, free: 1.398 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001406/0.02742, allocations: 48.72 kB / 297.7 MB, free: 1.348 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.2e-05/0.02743, allocations: 0 / 297.7 MB, free: 1.348 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.976e-05/0.02748, allocations: 24.84 kB / 297.7 MB, free: 1.32 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003115/0.02779, allocations: 45.45 kB / 297.7 MB, free: 1.281 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007033/0.02849, allocations: 243.7 kB / 298 MB, free: 1.012 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.915e-05/0.02854, allocations: 63.34 kB / 298 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.045e-05/0.02859, allocations: 21.27 kB / 298 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.759e-05/0.02868, allocations: 67.36 kB / 298.1 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of SimCode: time 9.22e-07/0.02868, allocations: 0 / 298.1 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of Templates: time 0.003983/0.03266, allocations: 2.033 MB / 300.1 MB, free: 14.84 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.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.258500120602548]