Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.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.0008572/0.0008572, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001176/0.002033, 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.000762/0.000762, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001073/0.001835, 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.063/1.063, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1049/1.168, 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.306/0.306, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03429/0.3403, allocations: 12.53 MB / 289.3 MB, free: 8.68 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.Test59,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.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,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.Test59") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 290.7 MB, free: 7.582 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.346e-05/2.53e-05, allocations: 8.062 kB / 290.7 MB, free: 7.574 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.002717/0.002742, allocations: 1.804 MB / 292.5 MB, free: 6.109 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002356/0.005098, allocations: 1.75 MB / 294.3 MB, free: 4.645 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.005198, allocations: 7.938 kB / 294.3 MB, free: 4.637 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000261/0.005459, allocations: 35.77 kB / 294.3 MB, free: 4.602 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003272/0.005786, allocations: 104.3 kB / 294.4 MB, free: 4.5 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000236/0.006022, allocations: 75.67 kB / 294.5 MB, free: 4.426 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001948/0.006217, allocations: 115.6 kB / 294.6 MB, free: 4.312 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.006327, allocations: 12.72 kB / 294.6 MB, free: 4.301 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001541/0.006481, allocations: 79.77 kB / 294.7 MB, free: 4.223 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001514/0.006632, allocations: 35.89 kB / 294.7 MB, free: 4.188 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.255e-05/0.006655, allocations: 4 kB / 294.7 MB, free: 4.184 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002505/0.006905, allocations: 111.8 kB / 294.8 MB, free: 4.074 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.106e-05/0.006967, allocations: 15.94 kB / 294.8 MB, free: 4.059 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.417e-05/0.007011, allocations: 15.94 kB / 294.9 MB, free: 4.043 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003279/0.007339, allocations: 151.4 kB / 295 MB, free: 3.895 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-05/0.007367, allocations: 0 / 295 MB, free: 3.895 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.007369, allocations: 0 / 295 MB, free: 3.895 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.85e-05/0.007397, allocations: 0 / 295 MB, free: 3.895 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.0006819/0.008079, allocations: 356.4 kB / 295.4 MB, free: 3.523 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.008119, allocations: 8.031 kB / 295.4 MB, free: 3.516 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.545e-05/0.008165, allocations: 8.938 kB / 295.4 MB, free: 3.508 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002305/0.008395, allocations: 146.2 kB / 295.5 MB, free: 3.34 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.789e-05/0.008413, allocations: 384 / 295.5 MB, free: 3.34 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.17e-05/0.008435, allocations: 4.375 kB / 295.5 MB, free: 3.336 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001669/0.008602, allocations: 112.5 kB / 295.6 MB, free: 3.203 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.008613, allocations: 0 / 295.6 MB, free: 3.203 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.008624, allocations: 4 kB / 295.6 MB, free: 3.199 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.008629, allocations: 0 / 295.6 MB, free: 3.199 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.371e-05/0.008663, allocations: 14.81 kB / 295.6 MB, free: 3.184 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002501/0.008913, allocations: 162 kB / 295.8 MB, free: 3.008 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001116/0.009025, allocations: 81.3 kB / 295.9 MB, free: 2.918 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.724e-05/0.009052, allocations: 28.73 kB / 295.9 MB, free: 2.887 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.558e-05/0.009068, allocations: 0 / 295.9 MB, free: 2.887 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001307/0.009198, allocations: 70.16 kB / 296 MB, free: 2.805 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.011e-06/0.009199, allocations: 0 / 296 MB, free: 2.805 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003602/0.00956, allocations: 109.8 kB / 296.1 MB, free: 2.691 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.783e-05/0.009597, allocations: 51.41 kB / 296.1 MB, free: 2.629 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.009727, allocations: 167.4 kB / 296.3 MB, free: 2.453 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.009745, allocations: 29.7 kB / 296.3 MB, free: 2.418 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.832e-05/0.009783, allocations: 92.11 kB / 296.4 MB, free: 2.324 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.709e-05/0.009811, allocations: 27.75 kB / 296.4 MB, free: 2.297 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.482e-05/0.009855, allocations: 25.69 kB / 296.5 MB, free: 2.266 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.587e-05/0.009951, allocations: 322.8 kB / 296.8 MB, free: 1.941 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.316e-05/0.009974, allocations: 14.83 kB / 296.8 MB, free: 1.926 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.181e-05/0.01002, allocations: 60.19 kB / 296.9 MB, free: 1.852 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.737e-05/0.01006, allocations: 40.47 kB / 296.9 MB, free: 1.805 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.01007, allocations: 0 / 296.9 MB, free: 1.805 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001091/0.01017, allocations: 72.44 kB / 297 MB, free: 1.727 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.01019, allocations: 4 kB / 297 MB, free: 1.723 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.0102, allocations: 4 kB / 297 MB, free: 1.719 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.01022, allocations: 0 / 297 MB, free: 1.719 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.553e-05/0.01031, allocations: 23.92 kB / 297 MB, free: 1.695 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-06/0.01032, allocations: 4.062 kB / 297 MB, free: 1.691 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.82e-05/0.01035, allocations: 0 / 297 MB, free: 1.691 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.563e-06/0.01036, allocations: 4 kB / 297 MB, free: 1.688 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.897e-05/0.01045, allocations: 132.5 kB / 297.1 MB, free: 1.547 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.567e-05/0.01047, allocations: 4 kB / 297.1 MB, free: 1.543 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001332/0.0106, allocations: 78.58 kB / 297.2 MB, free: 1.461 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.708e-06/0.0106, allocations: 4 kB / 297.2 MB, free: 1.457 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.01061, allocations: 0 / 297.2 MB, free: 1.457 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.01061, allocations: 0 / 297.2 MB, free: 1.457 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002808/0.01089, allocations: 295.4 kB / 297.5 MB, free: 1.141 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.01089, allocations: 0 / 297.5 MB, free: 1.141 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.881e-05/0.01093, allocations: 19.92 kB / 297.5 MB, free: 1.121 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.488e-05/0.01095, allocations: 7.953 kB / 297.5 MB, free: 1.113 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.01095, allocations: 0 / 297.5 MB, free: 1.113 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/0.01096, allocations: 4 kB / 297.5 MB, free: 1.109 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.01096, allocations: 0 / 297.5 MB, free: 1.109 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.01096, allocations: 0 / 297.5 MB, free: 1.109 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001458/0.01111, allocations: 227 kB / 297.8 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.069e-05/0.01113, allocations: 4 kB / 297.8 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.54e-05/0.01117, allocations: 4.031 kB / 297.8 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.738e-05/0.01121, allocations: 11.98 kB / 297.8 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.568e-05/0.01123, allocations: 4 kB / 297.8 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.06e-05/0.01128, allocations: 42.06 kB / 297.8 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01128, allocations: 0 / 297.8 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002043/0.01148, allocations: 55.8 kB / 297.9 MB, free: 0.7461 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.001803/0.01328, allocations: 0.7794 MB / 298.7 MB, free: 396 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001325/0.01342, allocations: 40.78 kB / 298.7 MB, free: 352 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.09e-05/0.01343, allocations: 0 / 298.7 MB, free: 352 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.414e-05/0.01346, allocations: 32.77 kB / 298.7 MB, free: 316 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002146/0.01368, allocations: 43.92 kB / 298.8 MB, free: 272 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005546/0.01423, allocations: 211.7 kB / 299 MB, free: 28 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.429e-05/0.01429, allocations: 63.34 kB / 299 MB, free: 15.95 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.455e-05/0.01435, allocations: 21.25 kB / 299.1 MB, free: 15.92 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.156e-05/0.01443, allocations: 71.36 kB / 299.1 MB, free: 15.85 MB / 298.7 MB Notification: Performance of SimCode: time 9.62e-07/0.01443, allocations: 0 / 299.1 MB, free: 15.85 MB / 298.7 MB Notification: Performance of Templates: time 0.004918/0.01935, allocations: 2.803 MB / 301.9 MB, free: 13.08 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.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.187302297912538]