Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.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.001064/0.001064, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005347/0.006411, allocations: 449.8 kB / 10.44 MB, free: 252 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.001036/0.001036, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005866/0.006901, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9783/0.9783, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08553/1.064, allocations: 53.67 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2448/0.2448, allocations: 34.25 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02515/0.27, allocations: 13.1 MB / 291.5 MB, free: 7.328 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 292.9 MB, free: 6.121 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.366e-05/2.51e-05, allocations: 3.406 kB / 292.9 MB, free: 6.117 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.003143/0.003168, allocations: 1.776 MB / 294.7 MB, free: 4.328 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00155/0.004718, allocations: 1.002 MB / 295.7 MB, free: 3.32 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.252e-05/0.0048, allocations: 0 / 295.7 MB, free: 3.32 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002483/0.005049, allocations: 63.67 kB / 295.8 MB, free: 3.258 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003022/0.005351, allocations: 115.4 kB / 295.9 MB, free: 3.145 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002165/0.005567, allocations: 79.55 kB / 296 MB, free: 3.066 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001962/0.005764, allocations: 111.6 kB / 296.1 MB, free: 2.957 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.292e-05/0.005806, allocations: 8.172 kB / 296.1 MB, free: 2.949 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001637/0.00597, allocations: 83.8 kB / 296.2 MB, free: 2.867 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000104/0.006074, allocations: 35.84 kB / 296.2 MB, free: 2.832 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.559e-05/0.00609, allocations: 4 kB / 296.2 MB, free: 2.828 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.036e-05/0.00618, allocations: 39.92 kB / 296.2 MB, free: 2.789 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.132e-05/0.006231, allocations: 15.92 kB / 296.2 MB, free: 2.773 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.47e-05/0.006266, allocations: 19.94 kB / 296.3 MB, free: 2.754 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001846/0.006451, allocations: 83.67 kB / 296.3 MB, free: 2.672 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.397e-05/0.006465, allocations: 0 / 296.3 MB, free: 2.672 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.006466, allocations: 0 / 296.3 MB, free: 2.672 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.021e-05/0.006476, allocations: 0 / 296.3 MB, free: 2.672 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004873/0.006964, allocations: 321.2 kB / 296.7 MB, free: 2.336 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.007001, allocations: 12.03 kB / 296.7 MB, free: 2.324 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.917e-05/0.00704, allocations: 12.86 kB / 296.7 MB, free: 2.312 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001825/0.007222, allocations: 142.2 kB / 296.8 MB, free: 2.148 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.00724, allocations: 4.375 kB / 296.8 MB, free: 2.145 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.411e-05/0.007254, allocations: 8.375 kB / 296.8 MB, free: 2.137 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.007411, allocations: 57.77 kB / 296.9 MB, free: 2.07 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.088e-06/0.00742, allocations: 3.938 kB / 296.9 MB, free: 2.066 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.442e-06/0.007427, allocations: 0 / 296.9 MB, free: 2.066 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.007432, allocations: 0 / 296.9 MB, free: 2.066 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.315e-05/0.007455, allocations: 4 kB / 296.9 MB, free: 2.062 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.339e-05/0.007549, allocations: 82.58 kB / 297 MB, free: 1.965 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.895e-05/0.007627, allocations: 41.36 kB / 297 MB, free: 1.914 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.712e-05/0.007645, allocations: 8.859 kB / 297 MB, free: 1.902 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.839e-06/0.007654, allocations: 8 kB / 297 MB, free: 1.895 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.601e-05/0.00775, allocations: 58.22 kB / 297.1 MB, free: 1.824 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 9.31e-07/0.007751, allocations: 0 / 297.1 MB, free: 1.824 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001166/0.007868, allocations: 57.67 kB / 297.2 MB, free: 1.762 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.981e-05/0.007898, allocations: 59.28 kB / 297.2 MB, free: 1.691 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.007999, allocations: 177.3 kB / 297.4 MB, free: 1.504 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.008016, allocations: 25.7 kB / 297.4 MB, free: 1.473 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.337e-05/0.008039, allocations: 96.11 kB / 297.5 MB, free: 1.375 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.928e-05/0.008069, allocations: 11.91 kB / 297.5 MB, free: 1.363 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.037e-05/0.008099, allocations: 29.69 kB / 297.5 MB, free: 1.328 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.612e-05/0.008175, allocations: 322.8 kB / 297.9 MB, free: 1.004 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.555e-05/0.008191, allocations: 10.83 kB / 297.9 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.965e-05/0.00821, allocations: 17.7 kB / 297.9 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.93e-05/0.00825, allocations: 35.61 kB / 297.9 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.008252, allocations: 0 / 297.9 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.634e-05/0.008328, allocations: 64.44 kB / 298 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.008341, allocations: 8 kB / 298 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.008345, allocations: 0 / 298 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.008358, allocations: 0 / 298 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.671e-05/0.008425, allocations: 23.95 kB / 298 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.006e-06/0.008428, allocations: 3.938 kB / 298 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.904e-05/0.008457, allocations: 4 kB / 298 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.569e-06/0.008462, allocations: 0 / 298 MB, free: 0.8164 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 (7): * Single equations (assignments): 7 * 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.368e-05/0.008525, allocations: 117.7 kB / 298.1 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.293e-05/0.008538, allocations: 11.98 kB / 298.1 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.047e-05/0.008629, allocations: 58.83 kB / 298.2 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.008632, allocations: 7.984 kB / 298.2 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.008634, allocations: 3.938 kB / 298.2 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.008637, allocations: 0 / 298.2 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.347e-05/0.008711, allocations: 85.86 kB / 298.3 MB, free: 0.5 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.008711, allocations: 0 / 298.3 MB, free: 0.5 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.169e-05/0.008733, allocations: 7.938 kB / 298.3 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.287e-05/0.008746, allocations: 15.88 kB / 298.3 MB, free: 488 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.008748, allocations: 4 kB / 298.3 MB, free: 484 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.118e-06/0.008753, allocations: 0 / 298.3 MB, free: 484 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.008753, allocations: 0 / 298.3 MB, free: 484 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.008755, allocations: 3.938 kB / 298.3 MB, free: 480 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.639e-05/0.008821, allocations: 82.95 kB / 298.4 MB, free: 376 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.485e-05/0.008836, allocations: 8 kB / 298.4 MB, free: 368 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.176e-05/0.008858, allocations: 8 kB / 298.4 MB, free: 360 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.194e-05/0.00888, allocations: 7.984 kB / 298.4 MB, free: 352 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.969e-06/0.00889, allocations: 0 / 298.4 MB, free: 352 kB / 282.7 MB Notification: Performance of sorting global known variables: time 4.025e-05/0.00893, allocations: 59.58 kB / 298.5 MB, free: 288 kB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00893, allocations: 0 / 298.5 MB, free: 288 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001151/0.009045, allocations: 15.95 kB / 298.5 MB, free: 272 kB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001199/0.01024, allocations: 0.5676 MB / 299.1 MB, free: 0 / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.817e-05/0.01034, allocations: 28.78 kB / 299.1 MB, free: 15.97 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/0.01035, allocations: 8.094 kB / 299.1 MB, free: 15.96 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.106e-05/0.01038, allocations: 20.84 kB / 299.1 MB, free: 15.94 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001867/0.01057, allocations: 176.4 kB / 299.3 MB, free: 15.73 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004415/0.01101, allocations: 194.8 kB / 299.5 MB, free: 15.52 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.353e-05/0.01104, allocations: 63.34 kB / 299.6 MB, free: 15.43 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.41e-05/0.01108, allocations: 8.484 kB / 299.6 MB, free: 15.43 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.476e-05/0.01114, allocations: 67.38 kB / 299.6 MB, free: 15.36 MB / 298.7 MB Notification: Performance of SimCode: time 8.42e-07/0.01114, allocations: 4 kB / 299.6 MB, free: 15.36 MB / 298.7 MB Notification: Performance of Templates: time 0.003363/0.01451, allocations: 1.808 MB / 301.4 MB, free: 13.59 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.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.997889301739633]