Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.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.001255/0.001255, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002257/0.003512, 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.00141/0.00141, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001879/0.00329, 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.9773/0.9773, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08975/1.067, allocations: 53.65 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.2506/0.2506, allocations: 34.25 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02489/0.2755, allocations: 13.11 MB / 291.5 MB, free: 7.336 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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 292.9 MB, free: 6.109 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.052e-05/2.196e-05, allocations: 3.844 kB / 292.9 MB, free: 6.105 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.003335/0.003357, allocations: 1.826 MB / 294.8 MB, free: 4.266 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001743/0.0051, allocations: 1.021 MB / 295.8 MB, free: 3.238 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.334e-05/0.005183, allocations: 0 / 295.8 MB, free: 3.238 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002828/0.005466, allocations: 99.48 kB / 295.9 MB, free: 3.141 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003176/0.005783, allocations: 115.4 kB / 296 MB, free: 3.027 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002293/0.006013, allocations: 83.55 kB / 296.1 MB, free: 2.945 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002121/0.006225, allocations: 127.6 kB / 296.2 MB, free: 2.82 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.539e-05/0.00631, allocations: 7.984 kB / 296.2 MB, free: 2.812 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001801/0.00649, allocations: 99.73 kB / 296.3 MB, free: 2.715 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001196/0.00661, allocations: 43.89 kB / 296.3 MB, free: 2.672 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2e-05/0.00663, allocations: 4 kB / 296.4 MB, free: 2.668 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001315/0.006761, allocations: 67.84 kB / 296.4 MB, free: 2.602 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.064e-05/0.006822, allocations: 23.88 kB / 296.4 MB, free: 2.578 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.044e-05/0.006862, allocations: 19.94 kB / 296.5 MB, free: 2.559 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002164/0.007079, allocations: 119.5 kB / 296.6 MB, free: 2.441 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.182e-05/0.007091, allocations: 0 / 296.6 MB, free: 2.441 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.073e-06/0.007092, allocations: 0 / 296.6 MB, free: 2.441 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.055e-05/0.007102, allocations: 4 kB / 296.6 MB, free: 2.438 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005086/0.007611, allocations: 348.9 kB / 296.9 MB, free: 2.074 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.007648, allocations: 12.03 kB / 296.9 MB, free: 2.062 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.177e-05/0.00769, allocations: 12.92 kB / 296.9 MB, free: 2.051 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001904/0.00788, allocations: 154 kB / 297.1 MB, free: 1.875 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.007897, allocations: 8.375 kB / 297.1 MB, free: 1.867 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.044e-05/0.007918, allocations: 384 / 297.1 MB, free: 1.867 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001349/0.008053, allocations: 69.75 kB / 297.2 MB, free: 1.789 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.008063, allocations: 3.938 kB / 297.2 MB, free: 1.785 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.774e-06/0.008071, allocations: 0 / 297.2 MB, free: 1.785 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.008078, allocations: 8 kB / 297.2 MB, free: 1.777 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.37e-05/0.008111, allocations: 8 kB / 297.2 MB, free: 1.77 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002684/0.00838, allocations: 181.8 kB / 297.4 MB, free: 1.574 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001867/0.008567, allocations: 85.3 kB / 297.5 MB, free: 1.48 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.779e-05/0.008594, allocations: 12.86 kB / 297.5 MB, free: 1.465 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.122e-05/0.008606, allocations: 0 / 297.5 MB, free: 1.465 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001157/0.008721, allocations: 74.33 kB / 297.5 MB, free: 1.379 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.362e-06/0.008723, allocations: 0 / 297.5 MB, free: 1.379 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005525/0.009275, allocations: 181.3 kB / 297.7 MB, free: 1.195 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.297e-05/0.009308, allocations: 59.41 kB / 297.8 MB, free: 1.125 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001539/0.009462, allocations: 193 kB / 298 MB, free: 0.918 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.00948, allocations: 25.7 kB / 298 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.195e-05/0.009522, allocations: 96.11 kB / 298.1 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.767e-05/0.00956, allocations: 35.72 kB / 298.1 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.377e-05/0.009604, allocations: 25.72 kB / 298.1 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.564e-05/0.0097, allocations: 326.8 kB / 298.5 MB, free: 404 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.877e-05/0.009728, allocations: 14.81 kB / 298.5 MB, free: 388 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.88e-05/0.009767, allocations: 29.7 kB / 298.5 MB, free: 352 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.102e-05/0.009838, allocations: 62.69 kB / 298.6 MB, free: 284 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.009839, allocations: 0 / 298.6 MB, free: 284 kB / 282.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001169/0.009956, allocations: 84.36 kB / 298.6 MB, free: 192 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.009971, allocations: 4 kB / 298.7 MB, free: 188 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.009975, allocations: 0 / 298.7 MB, free: 188 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.00999, allocations: 4 kB / 298.7 MB, free: 184 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.932e-05/0.01008, allocations: 27.98 kB / 298.7 MB, free: 156 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.156e-06/0.01008, allocations: 0 / 298.7 MB, free: 156 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.759e-05/0.01012, allocations: 0 / 298.7 MB, free: 156 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.01013, allocations: 8.031 kB / 298.7 MB, free: 148 kB / 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 (13): * Single equations (assignments): 13 * 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.815e-05/0.01021, allocations: 122.4 kB / 298.8 MB, free: 16 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.101e-05/0.01023, allocations: 15.92 kB / 298.8 MB, free: 0 / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001728/0.0104, allocations: 95.06 kB / 298.9 MB, free: 15.9 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.175e-06/0.0104, allocations: 0 / 298.9 MB, free: 15.9 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.0104, allocations: 0 / 298.9 MB, free: 15.9 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.972e-06/0.01041, allocations: 11.97 kB / 298.9 MB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003231/0.01073, allocations: 324.2 kB / 299.2 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.01074, allocations: 3.938 kB / 299.3 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.751e-05/0.01079, allocations: 24.05 kB / 299.3 MB, free: 15.51 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.718e-05/0.01081, allocations: 11.91 kB / 299.3 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.01081, allocations: 0 / 299.3 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.01082, allocations: 8 kB / 299.3 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.01083, allocations: 0 / 299.3 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.01083, allocations: 4 kB / 299.3 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001595/0.01099, allocations: 230.1 kB / 299.5 MB, free: 15.24 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.01101, allocations: 4 kB / 299.5 MB, free: 15.24 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.362e-05/0.01109, allocations: 7.984 kB / 299.5 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.561e-05/0.01112, allocations: 11.98 kB / 299.5 MB, free: 15.22 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.695e-05/0.01114, allocations: 11.94 kB / 299.6 MB, free: 15.21 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.929e-05/0.01121, allocations: 65.53 kB / 299.6 MB, free: 15.14 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01121, allocations: 0 / 299.6 MB, free: 15.14 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002533/0.01146, allocations: 27.94 kB / 299.7 MB, free: 15.11 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.002237/0.0137, allocations: 0.7265 MB / 300.4 MB, free: 14.79 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001284/0.01383, allocations: 52.77 kB / 300.4 MB, free: 14.73 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.867e-06/0.01384, allocations: 8.094 kB / 300.4 MB, free: 14.72 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.21e-05/0.0139, allocations: 40.72 kB / 300.5 MB, free: 14.68 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003373/0.01424, allocations: 176.8 kB / 300.6 MB, free: 14.48 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006474/0.01488, allocations: 271.3 kB / 300.9 MB, free: 14.18 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.307e-05/0.01494, allocations: 72.27 kB / 301 MB, free: 14.09 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.282e-05/0.015, allocations: 20.83 kB / 301 MB, free: 14.07 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.179e-05/0.01509, allocations: 67.36 kB / 301.1 MB, free: 14 MB / 298.7 MB Notification: Performance of SimCode: time 7.92e-07/0.01509, allocations: 7.938 kB / 301.1 MB, free: 13.99 MB / 298.7 MB Notification: Performance of Templates: time 0.004183/0.01928, allocations: 2.325 MB / 303.4 MB, free: 11.71 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.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.95817955955863]