Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.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.0009216/0.0009216, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001365/0.002287, 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.000921/0.000921, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001298/0.002219, 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.027/1.027, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0956/1.123, 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.2461/0.2461, allocations: 34.26 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02349/0.2696, allocations: 13.1 MB / 291.5 MB, free: 7.34 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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 292.9 MB, free: 6.129 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.095e-05/1.25e-05, allocations: 3.297 kB / 292.9 MB, free: 6.125 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.002334/0.002347, allocations: 1.769 MB / 294.7 MB, free: 4.344 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001433/0.00378, allocations: 1.01 MB / 295.7 MB, free: 3.328 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.166e-05/0.003852, allocations: 0 / 295.7 MB, free: 3.328 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001928/0.004044, allocations: 55.62 kB / 295.7 MB, free: 3.273 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002258/0.00427, allocations: 103.4 kB / 295.9 MB, free: 3.172 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001939/0.004464, allocations: 79.55 kB / 295.9 MB, free: 3.094 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001411/0.004605, allocations: 99.66 kB / 296 MB, free: 2.996 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.517e-05/0.00464, allocations: 240 / 296 MB, free: 2.996 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001256/0.004766, allocations: 87.8 kB / 296.1 MB, free: 2.91 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.255e-05/0.004839, allocations: 23.86 kB / 296.1 MB, free: 2.887 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.451e-05/0.004853, allocations: 4 kB / 296.1 MB, free: 2.883 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.615e-05/0.004919, allocations: 35.92 kB / 296.2 MB, free: 2.848 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.674e-05/0.004966, allocations: 27.92 kB / 296.2 MB, free: 2.82 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.676e-05/0.004993, allocations: 15.94 kB / 296.2 MB, free: 2.805 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001399/0.005133, allocations: 95.55 kB / 296.3 MB, free: 2.711 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.009e-05/0.005143, allocations: 0 / 296.3 MB, free: 2.711 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.51e-07/0.005143, allocations: 0 / 296.3 MB, free: 2.711 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.005152, allocations: 4 kB / 296.3 MB, free: 2.707 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.0004149/0.005567, allocations: 364.9 kB / 296.7 MB, free: 2.328 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.802e-05/0.005595, allocations: 8.031 kB / 296.7 MB, free: 2.32 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.942e-05/0.005625, allocations: 4.938 kB / 296.7 MB, free: 2.316 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001584/0.005783, allocations: 162.4 kB / 296.8 MB, free: 2.129 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.005797, allocations: 384 / 296.8 MB, free: 2.129 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.16e-05/0.005808, allocations: 4.375 kB / 296.8 MB, free: 2.125 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.109e-05/0.005899, allocations: 61.7 kB / 296.9 MB, free: 2.055 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.005907, allocations: 3.938 kB / 296.9 MB, free: 2.051 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.672e-06/0.005914, allocations: 4 kB / 296.9 MB, free: 2.047 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.005919, allocations: 0 / 296.9 MB, free: 2.047 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.132e-05/0.00594, allocations: 7.984 kB / 296.9 MB, free: 2.039 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.042e-05/0.006031, allocations: 82.67 kB / 297 MB, free: 1.941 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.69e-05/0.006107, allocations: 33.44 kB / 297 MB, free: 1.898 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.854e-05/0.006126, allocations: 8.859 kB / 297 MB, free: 1.887 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.044e-05/0.006136, allocations: 4 kB / 297 MB, free: 1.883 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.39e-05/0.00622, allocations: 62.16 kB / 297.1 MB, free: 1.809 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 7.11e-07/0.006221, allocations: 0 / 297.1 MB, free: 1.809 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001113/0.006332, allocations: 61.67 kB / 297.2 MB, free: 1.742 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.801e-05/0.00636, allocations: 55.34 kB / 297.2 MB, free: 1.676 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.006486, allocations: 217.2 kB / 297.4 MB, free: 1.449 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.006501, allocations: 25.7 kB / 297.5 MB, free: 1.418 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.099e-05/0.006532, allocations: 100.1 kB / 297.6 MB, free: 1.316 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.966e-05/0.006562, allocations: 15.84 kB / 297.6 MB, free: 1.301 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.558e-05/0.006598, allocations: 25.64 kB / 297.6 MB, free: 1.27 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.423e-05/0.006682, allocations: 330.8 kB / 297.9 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.476e-05/0.006697, allocations: 6.828 kB / 297.9 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.819e-05/0.006715, allocations: 17.72 kB / 297.9 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.712e-05/0.006752, allocations: 35.61 kB / 298 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.006754, allocations: 4 kB / 298 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.312e-05/0.006817, allocations: 64.44 kB / 298 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.00683, allocations: 8 kB / 298.1 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.006834, allocations: 0 / 298.1 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.006845, allocations: 0 / 298.1 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.812e-05/0.006903, allocations: 19.92 kB / 298.1 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.006907, allocations: 0 / 298.1 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.574e-05/0.006933, allocations: 0 / 298.1 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.877e-06/0.006937, allocations: 4 kB / 298.1 MB, free: 0.7578 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 7.31e-05/0.00701, allocations: 124.6 kB / 298.2 MB, free: 0.625 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.049e-05/0.00702, allocations: 12.02 kB / 298.2 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.605e-05/0.007116, allocations: 70.77 kB / 298.3 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.007118, allocations: 0 / 298.3 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.00712, allocations: 3.938 kB / 298.3 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.007123, allocations: 0 / 298.3 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.557e-05/0.007199, allocations: 89.84 kB / 298.4 MB, free: 436 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-07/0.007199, allocations: 0 / 298.4 MB, free: 436 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.623e-05/0.007215, allocations: 8 kB / 298.4 MB, free: 428 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.315e-05/0.007229, allocations: 11.91 kB / 298.4 MB, free: 416 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-06/0.00723, allocations: 0 / 298.4 MB, free: 416 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.478e-06/0.007234, allocations: 4 kB / 298.4 MB, free: 412 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.11e-07/0.007235, allocations: 0 / 298.4 MB, free: 412 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.007238, allocations: 7.875 kB / 298.4 MB, free: 404 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.853e-05/0.007306, allocations: 86.95 kB / 298.5 MB, free: 296 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.543e-05/0.007322, allocations: 7.984 kB / 298.5 MB, free: 288 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.881e-05/0.007341, allocations: 4 kB / 298.5 MB, free: 284 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.023e-05/0.007361, allocations: 0 / 298.5 MB, free: 284 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.007372, allocations: 7.984 kB / 298.5 MB, free: 276 kB / 282.7 MB Notification: Performance of sorting global known variables: time 5.591e-05/0.007428, allocations: 79.69 kB / 298.6 MB, free: 192 kB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007428, allocations: 4 kB / 298.6 MB, free: 188 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001178/0.007546, allocations: 15.94 kB / 298.6 MB, free: 172 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.001287/0.008833, allocations: 0.5645 MB / 299.2 MB, free: 15.91 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.012e-05/0.008913, allocations: 32.73 kB / 299.2 MB, free: 15.87 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.565e-06/0.008921, allocations: 4 kB / 299.2 MB, free: 15.87 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.074e-05/0.008951, allocations: 24.84 kB / 299.2 MB, free: 15.84 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001762/0.009128, allocations: 168.5 kB / 299.4 MB, free: 15.64 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004446/0.009572, allocations: 243.2 kB / 299.6 MB, free: 15.38 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.794e-05/0.00961, allocations: 71.33 kB / 299.7 MB, free: 15.29 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.742e-05/0.009638, allocations: 8.5 kB / 299.7 MB, free: 15.28 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.854e-05/0.009696, allocations: 63.36 kB / 299.8 MB, free: 15.22 MB / 298.7 MB Notification: Performance of SimCode: time 6.42e-07/0.009697, allocations: 0 / 299.8 MB, free: 15.22 MB / 298.7 MB Notification: Performance of Templates: time 0.003489/0.01319, allocations: 1.836 MB / 301.6 MB, free: 13.42 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.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.8356977850198746]