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.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.0007382/0.0007382, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001104/0.001842, 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.0006451/0.0006451, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000922/0.001567, 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.9962/0.9962, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1653/1.162, allocations: 52.49 MB / 238.5 MB, free: 7.629 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.1743/0.1743, allocations: 32.8 MB / 272 MB, free: 6.301 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02246/0.1967, allocations: 12.54 MB / 284.5 MB, free: 9.719 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.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 1.322e-06/1.322e-06, allocations: 0 / 285.9 MB, free: 8.328 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.892e-05/2.024e-05, allocations: 6.312 kB / 285.9 MB, free: 8.32 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.002282/0.002302, allocations: 1.787 MB / 287.7 MB, free: 6.523 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001022/0.003324, allocations: 0.8766 MB / 288.6 MB, free: 5.641 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.749e-05/0.003392, allocations: 0 / 288.6 MB, free: 5.641 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002319/0.003624, allocations: 99.55 kB / 288.7 MB, free: 5.543 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00016/0.003784, allocations: 75.61 kB / 288.8 MB, free: 5.469 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002559/0.00404, allocations: 119.5 kB / 288.9 MB, free: 5.352 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001546/0.004194, allocations: 103.6 kB / 289 MB, free: 5.25 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.643e-05/0.004271, allocations: 12.22 kB / 289 MB, free: 5.234 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001256/0.004396, allocations: 91.75 kB / 289.1 MB, free: 5.145 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.132e-05/0.004488, allocations: 47.89 kB / 289.1 MB, free: 5.098 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.802e-05/0.004506, allocations: 4 kB / 289.2 MB, free: 5.094 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.396e-05/0.00459, allocations: 39.92 kB / 289.2 MB, free: 5.055 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.404e-05/0.004634, allocations: 19.94 kB / 289.2 MB, free: 5.035 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.709e-05/0.004661, allocations: 11.94 kB / 289.2 MB, free: 5.023 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000154/0.004815, allocations: 103.6 kB / 289.3 MB, free: 4.922 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.113e-05/0.004826, allocations: 0 / 289.3 MB, free: 4.922 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.21e-07/0.004827, allocations: 0 / 289.3 MB, free: 4.922 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.004837, allocations: 0 / 289.3 MB, free: 4.922 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.0003971/0.005234, allocations: 339.8 kB / 289.7 MB, free: 4.566 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.812e-05/0.005262, allocations: 8.031 kB / 289.7 MB, free: 4.559 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.144e-05/0.005294, allocations: 12.92 kB / 289.7 MB, free: 4.547 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001576/0.005451, allocations: 149.6 kB / 289.8 MB, free: 4.375 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.005465, allocations: 384 / 289.8 MB, free: 4.375 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.822e-05/0.005483, allocations: 4.375 kB / 289.8 MB, free: 4.371 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.715e-05/0.00558, allocations: 61.77 kB / 289.9 MB, free: 4.301 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.005589, allocations: 3.938 kB / 289.9 MB, free: 4.297 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.943e-06/0.005596, allocations: 4 kB / 289.9 MB, free: 4.293 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.005602, allocations: 3.984 kB / 289.9 MB, free: 4.289 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.41e-05/0.005626, allocations: 11.94 kB / 289.9 MB, free: 4.277 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001899/0.005816, allocations: 166 kB / 290.1 MB, free: 4.098 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.17e-05/0.005908, allocations: 93.22 kB / 290.2 MB, free: 3.996 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.789e-05/0.005925, allocations: 8.859 kB / 290.2 MB, free: 3.984 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.105e-05/0.005936, allocations: 4 kB / 290.2 MB, free: 3.98 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.895e-05/0.006025, allocations: 66.09 kB / 290.2 MB, free: 3.902 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 8.92e-07/0.006026, allocations: 4 kB / 290.2 MB, free: 3.898 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002814/0.006308, allocations: 117.5 kB / 290.4 MB, free: 3.777 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.675e-05/0.006334, allocations: 55.39 kB / 290.4 MB, free: 3.711 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.755e-05/0.006432, allocations: 177 kB / 290.6 MB, free: 3.523 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.006447, allocations: 29.7 kB / 290.6 MB, free: 3.488 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.993e-05/0.006477, allocations: 100.1 kB / 290.7 MB, free: 3.387 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.387e-05/0.006501, allocations: 23.8 kB / 290.7 MB, free: 3.363 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.885e-05/0.00653, allocations: 25.69 kB / 290.8 MB, free: 3.332 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.935e-05/0.006599, allocations: 322.8 kB / 291.1 MB, free: 3.008 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.624e-05/0.006615, allocations: 10.83 kB / 291.1 MB, free: 2.996 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.264e-05/0.006638, allocations: 25.69 kB / 291.1 MB, free: 2.965 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.793e-05/0.006676, allocations: 40.47 kB / 291.1 MB, free: 2.918 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.006677, allocations: 0 / 291.1 MB, free: 2.918 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.382e-05/0.006751, allocations: 80.48 kB / 291.2 MB, free: 2.832 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.006764, allocations: 4 kB / 291.2 MB, free: 2.828 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.006769, allocations: 4 kB / 291.2 MB, free: 2.824 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.00678, allocations: 0 / 291.2 MB, free: 2.824 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.172e-05/0.006842, allocations: 19.92 kB / 291.3 MB, free: 2.805 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.256e-06/0.006845, allocations: 4 kB / 291.3 MB, free: 2.801 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.541e-05/0.00687, allocations: 4 kB / 291.3 MB, free: 2.797 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.139e-06/0.006876, allocations: 4 kB / 291.3 MB, free: 2.793 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.977e-05/0.006945, allocations: 120.7 kB / 291.4 MB, free: 2.664 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.575e-05/0.006961, allocations: 11.92 kB / 291.4 MB, free: 2.652 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.823e-05/0.007059, allocations: 79.09 kB / 291.5 MB, free: 2.57 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.007062, allocations: 4 kB / 291.5 MB, free: 2.566 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-06/0.007064, allocations: 0 / 291.5 MB, free: 2.566 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.007067, allocations: 0 / 291.5 MB, free: 2.566 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002066/0.007274, allocations: 299.8 kB / 291.8 MB, free: 2.246 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.007275, allocations: 0 / 291.8 MB, free: 2.246 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.893e-05/0.007304, allocations: 15.98 kB / 291.8 MB, free: 2.23 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.829e-06/0.007314, allocations: 7.953 kB / 291.8 MB, free: 2.223 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.007317, allocations: 4 kB / 291.8 MB, free: 2.219 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.007324, allocations: 7.938 kB / 291.8 MB, free: 2.211 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.007325, allocations: 4.031 kB / 291.8 MB, free: 2.207 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.007327, allocations: 0 / 291.8 MB, free: 2.207 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.988e-05/0.007426, allocations: 219 kB / 292 MB, free: 1.973 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.418e-05/0.007441, allocations: 0 / 292 MB, free: 1.973 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.821e-05/0.007479, allocations: 8 kB / 292 MB, free: 1.965 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.188e-05/0.007501, allocations: 3.984 kB / 292 MB, free: 1.961 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.007513, allocations: 4 kB / 292 MB, free: 1.957 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.502e-05/0.007558, allocations: 59.83 kB / 292.1 MB, free: 1.895 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007558, allocations: 0 / 292.1 MB, free: 1.895 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001501/0.007708, allocations: 27.94 kB / 292.1 MB, free: 1.867 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.001414/0.009122, allocations: 0.6281 MB / 292.8 MB, free: 1.559 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001177/0.009239, allocations: 52.73 kB / 292.8 MB, free: 1.504 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.356e-06/0.009248, allocations: 8.094 kB / 292.8 MB, free: 1.496 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.673e-05/0.009285, allocations: 28.73 kB / 292.8 MB, free: 1.465 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002321/0.009517, allocations: 196.1 kB / 293 MB, free: 1.246 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004436/0.00996, allocations: 231.1 kB / 293.3 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.863e-05/0.009999, allocations: 71.33 kB / 293.3 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.316e-05/0.01004, allocations: 16.59 kB / 293.3 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.069e-05/0.0101, allocations: 67.36 kB / 293.4 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of SimCode: time 7.22e-07/0.0101, allocations: 0 / 293.4 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of Templates: time 0.003834/0.01394, allocations: 2.025 MB / 295.4 MB, free: 14.82 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9993673600256443]