Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.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.001048/0.001048, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001498/0.002546, 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.001022/0.001022, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001435/0.002457, 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 1.025/1.025, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09578/1.121, allocations: 53.66 MB / 243.4 MB, free: 15.52 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.2687/0.2687, allocations: 34.25 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02526/0.2939, 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.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.215e-06/2.215e-06, allocations: 4 kB / 292.9 MB, free: 6.105 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.388e-06/1.16e-05, allocations: 3.516 kB / 292.9 MB, free: 6.102 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.001854/0.001866, allocations: 1.823 MB / 294.8 MB, free: 4.266 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001131/0.002997, allocations: 1.029 MB / 295.8 MB, free: 3.23 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.404e-05/0.003061, allocations: 4 kB / 295.8 MB, free: 3.227 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000183/0.003244, allocations: 91.56 kB / 295.9 MB, free: 3.137 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002014/0.003446, allocations: 123.4 kB / 296 MB, free: 3.016 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001506/0.003596, allocations: 91.47 kB / 296.1 MB, free: 2.926 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001352/0.003731, allocations: 123.6 kB / 296.2 MB, free: 2.805 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.475e-05/0.003796, allocations: 11.98 kB / 296.2 MB, free: 2.793 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003669/0.004163, allocations: 95.8 kB / 296.3 MB, free: 2.699 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.251e-05/0.004246, allocations: 51.88 kB / 296.4 MB, free: 2.648 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.22e-05/0.004258, allocations: 8 kB / 296.4 MB, free: 2.641 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.656e-05/0.004344, allocations: 63.86 kB / 296.4 MB, free: 2.578 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.134e-05/0.004386, allocations: 19.88 kB / 296.5 MB, free: 2.559 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.714e-05/0.004413, allocations: 15.94 kB / 296.5 MB, free: 2.543 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001513/0.004564, allocations: 127.5 kB / 296.6 MB, free: 2.418 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.787e-06/0.004573, allocations: 0 / 296.6 MB, free: 2.418 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.004573, allocations: 0 / 296.6 MB, free: 2.418 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.166e-06/0.004582, allocations: 0 / 296.6 MB, free: 2.418 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.0003239/0.004905, allocations: 364.8 kB / 297 MB, free: 2.039 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.336e-05/0.004929, allocations: 8.031 kB / 297 MB, free: 2.031 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.399e-05/0.004953, allocations: 16.94 kB / 297 MB, free: 2.016 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.005082, allocations: 150.4 kB / 297.1 MB, free: 1.84 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.005092, allocations: 4.375 kB / 297.1 MB, free: 1.836 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.571e-05/0.005108, allocations: 4.375 kB / 297.1 MB, free: 1.832 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.619e-05/0.005184, allocations: 69.7 kB / 297.2 MB, free: 1.754 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.005191, allocations: 3.938 kB / 297.2 MB, free: 1.75 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.8e-06/0.005197, allocations: 0 / 297.2 MB, free: 1.75 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-06/0.005201, allocations: 3.938 kB / 297.2 MB, free: 1.746 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.191e-05/0.005223, allocations: 15.97 kB / 297.2 MB, free: 1.73 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000168/0.005391, allocations: 177.9 kB / 297.4 MB, free: 1.539 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001107/0.005501, allocations: 93.36 kB / 297.5 MB, free: 1.438 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.857e-05/0.00552, allocations: 16.84 kB / 297.5 MB, free: 1.418 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.977e-06/0.005529, allocations: 0 / 297.5 MB, free: 1.418 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.179e-05/0.005601, allocations: 70.22 kB / 297.6 MB, free: 1.336 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 8.51e-07/0.005601, allocations: 0 / 297.6 MB, free: 1.336 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004073/0.006009, allocations: 179.2 kB / 297.8 MB, free: 1.156 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.861e-05/0.006037, allocations: 55.41 kB / 297.8 MB, free: 1.09 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001324/0.00617, allocations: 193.6 kB / 298 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.006184, allocations: 33.7 kB / 298 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.886e-05/0.006223, allocations: 96.11 kB / 298.1 MB, free: 0.75 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.312e-05/0.006256, allocations: 35.69 kB / 298.2 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.196e-05/0.006298, allocations: 33.69 kB / 298.2 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.115e-05/0.006389, allocations: 326.8 kB / 298.5 MB, free: 356 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.341e-05/0.006413, allocations: 14.81 kB / 298.5 MB, free: 340 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.274e-05/0.006446, allocations: 30.53 kB / 298.6 MB, free: 304 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.959e-05/0.006505, allocations: 60.38 kB / 298.6 MB, free: 236 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.006506, allocations: 0 / 298.6 MB, free: 236 kB / 282.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 9.961e-05/0.006606, allocations: 84.42 kB / 298.7 MB, free: 144 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.006617, allocations: 4.625 kB / 298.7 MB, free: 140 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.006622, allocations: 0 / 298.7 MB, free: 140 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.006635, allocations: 4 kB / 298.7 MB, free: 136 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.174e-05/0.006706, allocations: 23.98 kB / 298.7 MB, free: 112 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.006711, allocations: 4 kB / 298.7 MB, free: 108 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.313e-05/0.006744, allocations: 0 / 298.7 MB, free: 108 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.006751, allocations: 4 kB / 298.7 MB, free: 104 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 8.959e-05/0.006841, allocations: 124.5 kB / 298.9 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.257e-05/0.006864, allocations: 11.98 kB / 298.9 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001324/0.006996, allocations: 100.8 kB / 299 MB, free: 15.85 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.006998, allocations: 0 / 299 MB, free: 15.85 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.007001, allocations: 4 kB / 299 MB, free: 15.85 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.007004, allocations: 0 / 299 MB, free: 15.85 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002861/0.00729, allocations: 332.1 kB / 299.3 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.007292, allocations: 0 / 299.3 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.341e-05/0.007335, allocations: 19.98 kB / 299.3 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.53e-05/0.00735, allocations: 11.91 kB / 299.3 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.007353, allocations: 4 kB / 299.3 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.757e-06/0.007362, allocations: 12 kB / 299.3 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.007364, allocations: 0 / 299.3 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.007366, allocations: 4 kB / 299.3 MB, free: 15.44 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001391/0.007505, allocations: 227.9 kB / 299.6 MB, free: 15.2 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.924e-05/0.007524, allocations: 4 kB / 299.6 MB, free: 15.19 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.442e-05/0.007589, allocations: 7.984 kB / 299.6 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.142e-05/0.00762, allocations: 19.86 kB / 299.6 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.44e-05/0.007635, allocations: 7.938 kB / 299.6 MB, free: 15.16 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.547e-05/0.0077, allocations: 61.42 kB / 299.7 MB, free: 15.09 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0077, allocations: 0 / 299.7 MB, free: 15.09 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002416/0.007942, allocations: 35.92 kB / 299.7 MB, free: 15.06 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.002095/0.01004, allocations: 0.7228 MB / 300.4 MB, free: 14.73 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001094/0.01015, allocations: 60.66 kB / 300.5 MB, free: 14.67 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/0.01015, allocations: 3.984 kB / 300.5 MB, free: 14.67 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.067e-05/0.0102, allocations: 36.83 kB / 300.5 MB, free: 14.63 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002769/0.01048, allocations: 180.8 kB / 300.7 MB, free: 14.42 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004993/0.01098, allocations: 267.7 kB / 301 MB, free: 14.12 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.029e-05/0.01103, allocations: 72.27 kB / 301 MB, free: 14.04 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.952e-05/0.01108, allocations: 20.62 kB / 301.1 MB, free: 14.02 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.988e-05/0.01116, allocations: 71.36 kB / 301.1 MB, free: 13.95 MB / 298.7 MB Notification: Performance of SimCode: time 3.91e-07/0.01116, allocations: 0 / 301.1 MB, free: 13.95 MB / 298.7 MB Notification: Performance of Templates: time 0.00453/0.01569, allocations: 2.332 MB / 303.5 MB, free: 11.66 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.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.944963942281902]