Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009557/0.0009557, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001912/0.002868, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001671/0.002835, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9205/0.9205, allocations: 173.4 MB / 186 MB, free: 7.531 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1848/1.105, allocations: 52.48 MB / 238.5 MB, free: 7.648 MB / 234.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.1394/0.1394, allocations: 32.8 MB / 272 MB, free: 6.316 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02247/0.1618, allocations: 12.53 MB / 284.5 MB, free: 9.742 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 285.9 MB, free: 8.344 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.925e-05/2.045e-05, allocations: 2.312 kB / 285.9 MB, free: 8.34 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.002455/0.002476, allocations: 1.787 MB / 287.7 MB, free: 6.543 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001184/0.00366, allocations: 0.8805 MB / 288.6 MB, free: 5.656 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.985e-05/0.003719, allocations: 3.938 kB / 288.6 MB, free: 5.652 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001769/0.003896, allocations: 39.77 kB / 288.6 MB, free: 5.613 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001405/0.004037, allocations: 63.56 kB / 288.7 MB, free: 5.551 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000223/0.00426, allocations: 111.5 kB / 288.8 MB, free: 5.441 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001432/0.004403, allocations: 99.7 kB / 288.9 MB, free: 5.344 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.027e-05/0.004473, allocations: 12.16 kB / 288.9 MB, free: 5.328 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001206/0.004594, allocations: 75.77 kB / 289 MB, free: 5.254 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.68e-05/0.004661, allocations: 27.91 kB / 289 MB, free: 5.227 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.621e-05/0.004677, allocations: 4 kB / 289 MB, free: 5.223 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.13e-05/0.004758, allocations: 43.92 kB / 289.1 MB, free: 5.18 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.091e-05/0.004799, allocations: 15.94 kB / 289.1 MB, free: 5.164 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.799e-05/0.004827, allocations: 11.94 kB / 289.1 MB, free: 5.152 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001585/0.004986, allocations: 99.55 kB / 289.2 MB, free: 5.055 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.659e-06/0.004995, allocations: 4 kB / 289.2 MB, free: 5.051 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.004996, allocations: 0 / 289.2 MB, free: 5.051 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.005004, allocations: 4 kB / 289.2 MB, free: 5.047 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.0003972/0.005401, allocations: 327.9 kB / 289.5 MB, free: 4.703 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.717e-05/0.005429, allocations: 8.031 kB / 289.5 MB, free: 4.695 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.407e-05/0.005463, allocations: 12.92 kB / 289.6 MB, free: 4.684 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.005607, allocations: 144.2 kB / 289.7 MB, free: 4.52 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.005619, allocations: 384 / 289.7 MB, free: 4.52 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.659e-05/0.005636, allocations: 4.375 kB / 289.7 MB, free: 4.516 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.883e-05/0.005735, allocations: 65.7 kB / 289.8 MB, free: 4.441 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.005744, allocations: 7.938 kB / 289.8 MB, free: 4.434 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.414e-06/0.005752, allocations: 3.984 kB / 289.8 MB, free: 4.43 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.005757, allocations: 8 kB / 289.8 MB, free: 4.422 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.322e-05/0.00578, allocations: 8 kB / 289.8 MB, free: 4.414 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001878/0.005968, allocations: 169.9 kB / 290 MB, free: 4.23 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.071e-05/0.006058, allocations: 81.3 kB / 290 MB, free: 4.141 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.598e-05/0.006124, allocations: 16.86 kB / 290 MB, free: 4.121 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.172e-05/0.006136, allocations: 7.984 kB / 290.1 MB, free: 4.113 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.077e-05/0.006227, allocations: 58.16 kB / 290.1 MB, free: 4.043 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.006228, allocations: 0 / 290.1 MB, free: 4.043 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002805/0.006508, allocations: 121.5 kB / 290.2 MB, free: 3.918 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.501e-05/0.006533, allocations: 55.39 kB / 290.3 MB, free: 3.852 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.006648, allocations: 173 kB / 290.5 MB, free: 3.668 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.006663, allocations: 29.7 kB / 290.5 MB, free: 3.633 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.867e-05/0.006701, allocations: 104 kB / 290.6 MB, free: 3.527 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.877e-05/0.00673, allocations: 27.78 kB / 290.6 MB, free: 3.5 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.175e-05/0.006762, allocations: 13.72 kB / 290.6 MB, free: 3.48 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.301e-05/0.006845, allocations: 334.8 kB / 291 MB, free: 3.145 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.904e-05/0.006864, allocations: 10.83 kB / 291 MB, free: 3.133 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.784e-05/0.006892, allocations: 25.64 kB / 291 MB, free: 3.102 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.053e-05/0.006942, allocations: 44.52 kB / 291 MB, free: 3.051 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.006943, allocations: 0 / 291 MB, free: 3.051 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001301/0.007073, allocations: 76.44 kB / 291.1 MB, free: 2.969 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.007087, allocations: 6.656 kB / 291.1 MB, free: 2.965 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.007091, allocations: 0 / 291.1 MB, free: 2.965 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.007101, allocations: 4 kB / 291.1 MB, free: 2.961 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.243e-05/0.007174, allocations: 15.98 kB / 291.1 MB, free: 2.945 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.776e-06/0.007177, allocations: 0 / 291.1 MB, free: 2.945 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.199e-05/0.007209, allocations: 8 kB / 291.1 MB, free: 2.938 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-06/0.007215, allocations: 4.031 kB / 291.1 MB, free: 2.934 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 6.733e-05/0.007282, allocations: 124.6 kB / 291.3 MB, free: 2.801 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.835e-05/0.0073, allocations: 15.92 kB / 291.3 MB, free: 2.785 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001153/0.007416, allocations: 67.14 kB / 291.3 MB, free: 2.715 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.007418, allocations: 0 / 291.3 MB, free: 2.715 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-06/0.007419, allocations: 384 / 291.3 MB, free: 2.715 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.007424, allocations: 3.984 kB / 291.4 MB, free: 2.711 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00026/0.007684, allocations: 291.4 kB / 291.6 MB, free: 2.398 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.007687, allocations: 4 kB / 291.6 MB, free: 2.395 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.062e-05/0.007727, allocations: 15.94 kB / 291.7 MB, free: 2.379 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.421e-05/0.007741, allocations: 15.94 kB / 291.7 MB, free: 2.363 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.007744, allocations: 0 / 291.7 MB, free: 2.363 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.555e-06/0.007751, allocations: 3.984 kB / 291.7 MB, free: 2.359 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.007755, allocations: 4 kB / 291.7 MB, free: 2.355 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.007756, allocations: 0 / 291.7 MB, free: 2.355 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001313/0.007888, allocations: 219 kB / 291.9 MB, free: 2.121 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.751e-05/0.007905, allocations: 0 / 291.9 MB, free: 2.121 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.691e-05/0.007972, allocations: 8 kB / 291.9 MB, free: 2.113 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.601e-05/0.007998, allocations: 7.984 kB / 291.9 MB, free: 2.105 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-05/0.00801, allocations: 0 / 291.9 MB, free: 2.105 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.372e-05/0.008064, allocations: 56.34 kB / 292 MB, free: 2.047 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008064, allocations: 3.938 kB / 292 MB, free: 2.043 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002064/0.00827, allocations: 27.92 kB / 292 MB, free: 2.016 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.001816/0.01009, allocations: 0.6281 MB / 292.6 MB, free: 1.703 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001073/0.01019, allocations: 52.75 kB / 292.7 MB, free: 1.648 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.917e-06/0.0102, allocations: 4 kB / 292.7 MB, free: 1.645 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.304e-05/0.01025, allocations: 28.78 kB / 292.7 MB, free: 1.613 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002766/0.01052, allocations: 187.7 kB / 292.9 MB, free: 1.406 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004832/0.011, allocations: 227.1 kB / 293.1 MB, free: 1.152 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.424e-05/0.01105, allocations: 75.52 kB / 293.2 MB, free: 1.059 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.104e-05/0.01109, allocations: 16.48 kB / 293.2 MB, free: 1.043 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.17e-05/0.01116, allocations: 63.38 kB / 293.3 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of SimCode: time 7.42e-07/0.01116, allocations: 0 / 293.3 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of Templates: time 0.004076/0.01524, allocations: 2.015 MB / 295.3 MB, free: 14.99 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.809884692542255]