Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.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.001187/0.001187, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00191/0.003097, 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.001015/0.001015, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001001/0.002016, 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 1.015/1.015, allocations: 173.4 MB / 185.9 MB, free: 8.883 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08051/1.095, allocations: 52.49 MB / 238.4 MB, free: 4.336 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.1466/0.1466, allocations: 32.8 MB / 272 MB, free: 2.938 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1507/0.2973, allocations: 12.56 MB / 284.5 MB, free: 11.85 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.Test48,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.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,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.Test48") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 285.9 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.765e-05/2.949e-05, allocations: 5.797 kB / 285.9 MB, free: 10.75 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.002797/0.002827, allocations: 1.792 MB / 287.7 MB, free: 9.289 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001082/0.003909, allocations: 0.8672 MB / 288.6 MB, free: 8.637 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.585e-05/0.003975, allocations: 4.938 kB / 288.6 MB, free: 8.633 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002116/0.004186, allocations: 53.8 kB / 288.7 MB, free: 8.598 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001657/0.004352, allocations: 59.53 kB / 288.7 MB, free: 8.555 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002857/0.004638, allocations: 113.5 kB / 288.8 MB, free: 8.477 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000223/0.004861, allocations: 99.33 kB / 288.9 MB, free: 8.418 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.004971, allocations: 8.375 kB / 288.9 MB, free: 8.41 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001541/0.005125, allocations: 71.91 kB / 289 MB, free: 8.371 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001068/0.005232, allocations: 34.48 kB / 289 MB, free: 8.348 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.266e-05/0.005254, allocations: 3.781 kB / 289 MB, free: 8.348 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001078/0.005362, allocations: 45.77 kB / 289.1 MB, free: 8.328 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.842e-05/0.005431, allocations: 26.81 kB / 289.1 MB, free: 8.316 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.644e-05/0.005477, allocations: 15.84 kB / 289.1 MB, free: 8.312 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002062/0.005683, allocations: 101.6 kB / 289.2 MB, free: 8.262 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.573e-05/0.005699, allocations: 7.938 kB / 289.2 MB, free: 8.254 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.059e-06/0.005704, allocations: 1.219 kB / 289.2 MB, free: 8.254 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.227e-05/0.005716, allocations: 0 / 289.2 MB, free: 8.254 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.0004806/0.006197, allocations: 355.9 kB / 289.6 MB, free: 7.934 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.006229, allocations: 22.53 kB / 289.6 MB, free: 7.922 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.145e-05/0.006261, allocations: 6.312 kB / 289.6 MB, free: 7.922 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001633/0.006424, allocations: 170 kB / 289.8 MB, free: 7.75 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.006439, allocations: 1.719 kB / 289.8 MB, free: 7.75 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.984e-05/0.006459, allocations: 3.031 kB / 289.8 MB, free: 7.75 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001083/0.006567, allocations: 63.55 kB / 289.8 MB, free: 7.688 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.006576, allocations: 3.938 kB / 289.8 MB, free: 7.684 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.382e-06/0.006583, allocations: 3.938 kB / 289.8 MB, free: 7.68 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.006588, allocations: 2.219 kB / 289.8 MB, free: 7.68 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.211e-05/0.00661, allocations: 8.078 kB / 289.9 MB, free: 7.676 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002122/0.006823, allocations: 171.9 kB / 290 MB, free: 7.508 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.489e-05/0.006917, allocations: 88.61 kB / 290.1 MB, free: 7.426 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.974e-05/0.006937, allocations: 14.95 kB / 290.1 MB, free: 7.414 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.138e-05/0.006949, allocations: 0 / 290.1 MB, free: 7.414 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.737e-05/0.007046, allocations: 70.34 kB / 290.2 MB, free: 7.344 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 9.31e-07/0.007047, allocations: 0 / 290.2 MB, free: 7.344 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002924/0.007339, allocations: 119.2 kB / 290.3 MB, free: 7.273 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.792e-05/0.007367, allocations: 55.41 kB / 290.4 MB, free: 7.207 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.007493, allocations: 200.7 kB / 290.6 MB, free: 7.055 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.007511, allocations: 39.06 kB / 290.6 MB, free: 7.012 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.529e-05/0.007546, allocations: 94.98 kB / 290.7 MB, free: 6.922 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.766e-05/0.007574, allocations: 27.89 kB / 290.7 MB, free: 6.898 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.024e-05/0.007604, allocations: 19.22 kB / 290.7 MB, free: 6.879 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.923e-05/0.007703, allocations: 330.9 kB / 291.1 MB, free: 6.551 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.124e-05/0.007724, allocations: 9.703 kB / 291.1 MB, free: 6.547 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.985e-05/0.007754, allocations: 31.27 kB / 291.1 MB, free: 6.52 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.915e-05/0.007803, allocations: 43.83 kB / 291.1 MB, free: 6.488 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.007804, allocations: 0 / 291.1 MB, free: 6.488 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.367e-05/0.007888, allocations: 77 kB / 291.2 MB, free: 6.434 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.007901, allocations: 5.781 kB / 291.2 MB, free: 6.434 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.007906, allocations: 0 / 291.2 MB, free: 6.434 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.007919, allocations: 1.125 kB / 291.2 MB, free: 6.434 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.622e-05/0.007996, allocations: 22.61 kB / 291.2 MB, free: 6.426 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.008, allocations: 1 kB / 291.2 MB, free: 6.426 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.909e-05/0.008029, allocations: 5.75 kB / 291.3 MB, free: 6.422 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.008035, allocations: 2.375 kB / 291.3 MB, free: 6.422 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 7.086e-05/0.008106, allocations: 112.5 kB / 291.4 MB, free: 6.305 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.66e-05/0.008123, allocations: 22.8 kB / 291.4 MB, free: 6.289 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000116/0.008239, allocations: 83.72 kB / 291.5 MB, free: 6.23 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.008241, allocations: 1.25 kB / 291.5 MB, free: 6.23 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.008243, allocations: 1.438 kB / 291.5 MB, free: 6.23 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.008248, allocations: 0 / 291.5 MB, free: 6.23 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002662/0.008514, allocations: 300.2 kB / 291.8 MB, free: 5.953 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.008516, allocations: 0 / 291.8 MB, free: 5.953 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.486e-05/0.008551, allocations: 11.44 kB / 291.8 MB, free: 5.953 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.89e-05/0.00857, allocations: 11.25 kB / 291.8 MB, free: 5.945 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.008573, allocations: 1.062 kB / 291.8 MB, free: 5.945 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.008582, allocations: 10.22 kB / 291.8 MB, free: 5.938 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.008586, allocations: 9.047 kB / 291.8 MB, free: 5.93 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.008588, allocations: 0 / 291.8 MB, free: 5.93 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000142/0.00873, allocations: 213.3 kB / 292 MB, free: 5.73 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.008749, allocations: 1.188 kB / 292 MB, free: 5.73 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.63e-05/0.008795, allocations: 6.344 kB / 292 MB, free: 5.727 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.109e-05/0.008826, allocations: 11.95 kB / 292 MB, free: 5.719 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/0.00884, allocations: 1.375 kB / 292 MB, free: 5.719 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.719e-05/0.008917, allocations: 72.11 kB / 292.1 MB, free: 5.684 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.008917, allocations: 0 / 292.1 MB, free: 5.684 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001676/0.009085, allocations: 26.12 kB / 292.1 MB, free: 5.676 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.001524/0.01061, allocations: 0.6439 MB / 292.8 MB, free: 5.461 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001134/0.01072, allocations: 47.05 kB / 292.8 MB, free: 5.438 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.908e-06/0.01073, allocations: 2.531 kB / 292.8 MB, free: 5.438 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.706e-05/0.01078, allocations: 33.84 kB / 292.9 MB, free: 5.418 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002643/0.01104, allocations: 177.1 kB / 293 MB, free: 5.242 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005729/0.01162, allocations: 255.5 kB / 293.3 MB, free: 5.027 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.794e-05/0.01166, allocations: 75.7 kB / 293.4 MB, free: 4.945 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.064e-05/0.0117, allocations: 17.39 kB / 293.4 MB, free: 4.938 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.01e-05/0.01177, allocations: 67.86 kB / 293.4 MB, free: 4.887 MB / 282.7 MB Notification: Performance of SimCode: time 1.112e-06/0.01178, allocations: 0 / 293.4 MB, free: 4.887 MB / 282.7 MB Notification: Performance of Templates: time 0.0039/0.01568, allocations: 2.04 MB / 295.5 MB, free: 3.602 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.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: 3.0564754642546177]