Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.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.0007931/0.0007931, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009756/0.001769, 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.0007049/0.0007049, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008951/0.0016, 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 0.9871/0.9871, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1001/1.087, 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.3245/0.3245, allocations: 32.79 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02563/0.3501, 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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 290.7 MB, free: 7.582 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.465e-05/2.678e-05, allocations: 7.297 kB / 290.7 MB, free: 7.574 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.004056/0.004083, allocations: 1.807 MB / 292.5 MB, free: 6.105 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00201/0.006093, allocations: 1.019 MB / 293.5 MB, free: 5.344 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.006195, allocations: 0 / 293.5 MB, free: 5.344 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003055/0.006501, allocations: 92.28 kB / 293.6 MB, free: 5.277 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003794/0.00688, allocations: 119.4 kB / 293.7 MB, free: 5.16 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002854/0.007165, allocations: 83.59 kB / 293.8 MB, free: 5.078 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002242/0.00739, allocations: 111.7 kB / 293.9 MB, free: 4.969 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.373e-05/0.007483, allocations: 4.75 kB / 293.9 MB, free: 4.965 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001951/0.007678, allocations: 99.73 kB / 294 MB, free: 4.867 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000123/0.007801, allocations: 47.88 kB / 294.1 MB, free: 4.82 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.856e-05/0.00782, allocations: 8 kB / 294.1 MB, free: 4.812 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001114/0.007931, allocations: 43.92 kB / 294.1 MB, free: 4.77 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.58e-05/0.007987, allocations: 23.86 kB / 294.1 MB, free: 4.746 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.201e-05/0.008029, allocations: 15.94 kB / 294.2 MB, free: 4.73 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002092/0.008238, allocations: 103.6 kB / 294.3 MB, free: 4.629 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.738e-05/0.008256, allocations: 0 / 294.3 MB, free: 4.629 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.008257, allocations: 0 / 294.3 MB, free: 4.629 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.986e-05/0.008277, allocations: 4 kB / 294.3 MB, free: 4.625 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.0005614/0.008838, allocations: 348.4 kB / 294.6 MB, free: 4.262 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.008874, allocations: 8.031 kB / 294.6 MB, free: 4.254 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.532e-05/0.008919, allocations: 8.922 kB / 294.6 MB, free: 4.246 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002088/0.009128, allocations: 158 kB / 294.8 MB, free: 4.066 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.009147, allocations: 4.375 kB / 294.8 MB, free: 4.062 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.907e-05/0.009167, allocations: 384 / 294.8 MB, free: 4.062 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001456/0.009312, allocations: 65.77 kB / 294.8 MB, free: 3.988 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.009323, allocations: 7.875 kB / 294.9 MB, free: 3.98 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.009332, allocations: 3.984 kB / 294.9 MB, free: 3.977 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.009338, allocations: 0 / 294.9 MB, free: 3.977 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.022e-05/0.009378, allocations: 8 kB / 294.9 MB, free: 3.969 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002737/0.009652, allocations: 166 kB / 295 MB, free: 3.789 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001228/0.009775, allocations: 85.3 kB / 295.1 MB, free: 3.695 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.931e-05/0.009804, allocations: 16.84 kB / 295.1 MB, free: 3.676 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.232e-05/0.009816, allocations: 0 / 295.1 MB, free: 3.676 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001312/0.009947, allocations: 70.09 kB / 295.2 MB, free: 3.594 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.794e-06/0.009949, allocations: 0 / 295.2 MB, free: 3.594 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004/0.01035, allocations: 113.7 kB / 295.3 MB, free: 3.477 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.493e-05/0.01039, allocations: 51.41 kB / 295.4 MB, free: 3.414 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001602/0.01055, allocations: 189 kB / 295.5 MB, free: 3.211 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.373e-05/0.01058, allocations: 33.7 kB / 295.6 MB, free: 3.172 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.396e-05/0.01062, allocations: 96.11 kB / 295.7 MB, free: 3.074 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.952e-05/0.01066, allocations: 27.77 kB / 295.7 MB, free: 3.047 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.423e-05/0.01071, allocations: 21.72 kB / 295.7 MB, free: 3.02 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.01081, allocations: 326.8 kB / 296 MB, free: 2.691 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.721e-05/0.01084, allocations: 7.016 kB / 296 MB, free: 2.684 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.889e-05/0.01088, allocations: 37.62 kB / 296.1 MB, free: 2.641 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.981e-05/0.01094, allocations: 40.47 kB / 296.1 MB, free: 2.594 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.01094, allocations: 0 / 296.1 MB, free: 2.594 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001137/0.01105, allocations: 76.38 kB / 296.2 MB, free: 2.512 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.01107, allocations: 13.73 kB / 296.2 MB, free: 2.5 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.01107, allocations: 0 / 296.2 MB, free: 2.5 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/0.01108, allocations: 0 / 296.2 MB, free: 2.5 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.046e-05/0.01117, allocations: 16 kB / 296.2 MB, free: 2.484 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.507e-06/0.01118, allocations: 0 / 296.2 MB, free: 2.484 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.295e-05/0.01122, allocations: 7.984 kB / 296.2 MB, free: 2.477 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.01123, allocations: 4 kB / 296.2 MB, free: 2.473 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.773e-05/0.01132, allocations: 116.7 kB / 296.3 MB, free: 2.348 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.607e-05/0.01134, allocations: 19.92 kB / 296.4 MB, free: 2.328 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001421/0.01148, allocations: 71.08 kB / 296.4 MB, free: 2.254 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.01149, allocations: 4 kB / 296.4 MB, free: 2.25 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.01149, allocations: 0 / 296.4 MB, free: 2.25 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.01149, allocations: 0 / 296.4 MB, free: 2.25 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003148/0.01181, allocations: 303.5 kB / 296.7 MB, free: 1.926 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.01181, allocations: 4 kB / 296.7 MB, free: 1.922 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.021e-05/0.01186, allocations: 8 kB / 296.8 MB, free: 1.914 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.009e-05/0.01188, allocations: 7.953 kB / 296.8 MB, free: 1.906 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.01189, allocations: 3.938 kB / 296.8 MB, free: 1.902 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.0119, allocations: 7.984 kB / 296.8 MB, free: 1.895 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.0119, allocations: 0 / 296.8 MB, free: 1.895 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.0119, allocations: 4.031 kB / 296.8 MB, free: 1.891 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001583/0.01206, allocations: 219 kB / 297 MB, free: 1.656 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.337e-05/0.01208, allocations: 3.938 kB / 297 MB, free: 1.652 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.774e-05/0.01216, allocations: 7.984 kB / 297 MB, free: 1.645 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.437e-05/0.0122, allocations: 4 kB / 297 MB, free: 1.641 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/0.01221, allocations: 7.984 kB / 297 MB, free: 1.633 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.136e-05/0.01228, allocations: 57.61 kB / 297.1 MB, free: 1.574 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01228, allocations: 0 / 297.1 MB, free: 1.574 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002325/0.01252, allocations: 27.94 kB / 297.1 MB, free: 1.547 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.002096/0.01461, allocations: 0.6341 MB / 297.7 MB, free: 1.266 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001187/0.01473, allocations: 44.7 kB / 297.8 MB, free: 1.219 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.138e-05/0.01474, allocations: 8 kB / 297.8 MB, free: 1.211 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.651e-05/0.01479, allocations: 32.84 kB / 297.8 MB, free: 1.176 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002722/0.01506, allocations: 53.94 kB / 297.9 MB, free: 1.129 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006286/0.01569, allocations: 226.4 kB / 298.1 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.182e-05/0.01574, allocations: 71.33 kB / 298.2 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.401e-05/0.0158, allocations: 17.27 kB / 298.2 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.68e-05/0.01588, allocations: 71.36 kB / 298.2 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of SimCode: time 9.12e-07/0.01588, allocations: 4.062 kB / 298.2 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of Templates: time 0.00499/0.02087, allocations: 2.049 MB / 300.3 MB, free: 14.68 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.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.1415694588795304]