Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.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.001203/0.001203, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004729/0.005932, 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.001005/0.001005, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004776/0.005781, 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.9352/0.9352, allocations: 173.4 MB / 186 MB, free: 7.531 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1737/1.109, allocations: 52.48 MB / 238.5 MB, free: 7.633 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.1619/0.1619, allocations: 32.81 MB / 272 MB, free: 6.297 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02157/0.1834, 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.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 285.9 MB, free: 8.336 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.481e-05/2.673e-05, allocations: 2.312 kB / 285.9 MB, free: 8.332 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.00306/0.003087, allocations: 1.747 MB / 287.7 MB, free: 6.574 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001312/0.004398, allocations: 0.8648 MB / 288.5 MB, free: 5.703 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.713e-05/0.004475, allocations: 0 / 288.5 MB, free: 5.703 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002339/0.004709, allocations: 47.77 kB / 288.6 MB, free: 5.656 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001994/0.004909, allocations: 63.58 kB / 288.7 MB, free: 5.594 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003094/0.005218, allocations: 111.5 kB / 288.8 MB, free: 5.484 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001959/0.005414, allocations: 87.72 kB / 288.8 MB, free: 5.398 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.638e-05/0.00547, allocations: 15.97 kB / 288.9 MB, free: 5.383 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001761/0.005646, allocations: 71.78 kB / 288.9 MB, free: 5.312 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001051/0.005751, allocations: 23.92 kB / 289 MB, free: 5.289 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.142e-05/0.005773, allocations: 4 kB / 289 MB, free: 5.285 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001122/0.005885, allocations: 27.98 kB / 289 MB, free: 5.258 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.254e-05/0.005958, allocations: 31.86 kB / 289 MB, free: 5.227 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.936e-05/0.005997, allocations: 11.94 kB / 289 MB, free: 5.215 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002151/0.006212, allocations: 99.55 kB / 289.1 MB, free: 5.117 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.586e-05/0.006228, allocations: 0 / 289.1 MB, free: 5.117 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.006229, allocations: 0 / 289.1 MB, free: 5.117 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.405e-05/0.006244, allocations: 0 / 289.1 MB, free: 5.117 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.0006356/0.006879, allocations: 343.8 kB / 289.5 MB, free: 4.758 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.006921, allocations: 12.03 kB / 289.5 MB, free: 4.746 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.68e-05/0.006968, allocations: 8.922 kB / 289.5 MB, free: 4.738 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001945/0.007163, allocations: 161.2 kB / 289.6 MB, free: 4.555 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.00718, allocations: 4.375 kB / 289.6 MB, free: 4.551 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.503e-05/0.007195, allocations: 4.375 kB / 289.7 MB, free: 4.547 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001274/0.007323, allocations: 65.69 kB / 289.7 MB, free: 4.473 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.007334, allocations: 3.938 kB / 289.7 MB, free: 4.469 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.214e-06/0.007341, allocations: 0 / 289.7 MB, free: 4.469 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.007347, allocations: 0 / 289.7 MB, free: 4.469 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.468e-05/0.007371, allocations: 7.984 kB / 289.7 MB, free: 4.461 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001065/0.007478, allocations: 70.7 kB / 289.8 MB, free: 4.375 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.272e-05/0.007571, allocations: 41.42 kB / 289.8 MB, free: 4.324 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.576e-05/0.007596, allocations: 20.84 kB / 289.9 MB, free: 4.301 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.19e-05/0.007608, allocations: 0 / 289.9 MB, free: 4.301 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001099/0.007718, allocations: 62.16 kB / 289.9 MB, free: 4.227 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 9.42e-07/0.007719, allocations: 7.938 kB / 289.9 MB, free: 4.219 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.000145/0.007864, allocations: 57.67 kB / 290 MB, free: 4.156 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/0.007899, allocations: 55.34 kB / 290 MB, free: 4.09 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001609/0.00806, allocations: 208.6 kB / 290.2 MB, free: 3.871 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/0.008077, allocations: 29.7 kB / 290.3 MB, free: 3.836 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.583e-05/0.008113, allocations: 96.11 kB / 290.4 MB, free: 3.738 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.301e-05/0.008146, allocations: 15.89 kB / 290.4 MB, free: 3.723 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.585e-05/0.008182, allocations: 21.7 kB / 290.4 MB, free: 3.695 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.574e-05/0.008278, allocations: 330.7 kB / 290.7 MB, free: 3.363 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.033e-05/0.008298, allocations: 6.828 kB / 290.7 MB, free: 3.355 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.663e-05/0.008325, allocations: 17.72 kB / 290.7 MB, free: 3.332 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.907e-05/0.008374, allocations: 35.34 kB / 290.8 MB, free: 3.289 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.008376, allocations: 0 / 290.8 MB, free: 3.289 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.083e-05/0.008467, allocations: 64.44 kB / 290.8 MB, free: 3.219 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.008482, allocations: 12.03 kB / 290.9 MB, free: 3.207 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.008487, allocations: 0 / 290.9 MB, free: 3.207 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.008499, allocations: 0 / 290.9 MB, free: 3.207 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.797e-05/0.008577, allocations: 15.92 kB / 290.9 MB, free: 3.191 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.046e-06/0.00858, allocations: 4 kB / 290.9 MB, free: 3.188 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.72e-05/0.008617, allocations: 0 / 290.9 MB, free: 3.188 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.008625, allocations: 4 kB / 290.9 MB, free: 3.184 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 8.995e-05/0.008715, allocations: 120.5 kB / 291 MB, free: 3.055 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.901e-05/0.008734, allocations: 11.98 kB / 291 MB, free: 3.043 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001233/0.008858, allocations: 62.83 kB / 291.1 MB, free: 2.977 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.00886, allocations: 4 kB / 291.1 MB, free: 2.973 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.008863, allocations: 3.938 kB / 291.1 MB, free: 2.969 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.008867, allocations: 0 / 291.1 MB, free: 2.969 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001098/0.008976, allocations: 94.22 kB / 291.2 MB, free: 2.859 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.008978, allocations: 0 / 291.2 MB, free: 2.859 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.602e-05/0.009014, allocations: 8 kB / 291.2 MB, free: 2.852 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.079e-05/0.009035, allocations: 11.91 kB / 291.2 MB, free: 2.84 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.009037, allocations: 0 / 291.2 MB, free: 2.84 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.009046, allocations: 4 kB / 291.2 MB, free: 2.836 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.009048, allocations: 0 / 291.2 MB, free: 2.836 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.009051, allocations: 3.938 kB / 291.2 MB, free: 2.832 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000106/0.009157, allocations: 90.7 kB / 291.3 MB, free: 2.723 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.128e-05/0.009179, allocations: 11.92 kB / 291.3 MB, free: 2.711 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.573e-05/0.009214, allocations: 0 / 291.3 MB, free: 2.711 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.936e-05/0.009244, allocations: 4 kB / 291.3 MB, free: 2.707 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.367e-05/0.009257, allocations: 3.984 kB / 291.3 MB, free: 2.703 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.573e-05/0.009343, allocations: 75.56 kB / 291.4 MB, free: 2.625 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.009343, allocations: 0 / 291.4 MB, free: 2.625 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002036/0.009547, allocations: 16 kB / 291.4 MB, free: 2.609 MB / 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.001704/0.01125, allocations: 0.5556 MB / 291.9 MB, free: 2.324 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001095/0.01136, allocations: 32.77 kB / 292 MB, free: 2.289 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.018e-05/0.01137, allocations: 4 kB / 292 MB, free: 2.285 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.771e-05/0.01142, allocations: 28.78 kB / 292 MB, free: 2.254 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002577/0.01168, allocations: 176.2 kB / 292.2 MB, free: 2.055 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005955/0.01227, allocations: 226.6 kB / 292.4 MB, free: 1.805 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.911e-05/0.01232, allocations: 67.33 kB / 292.5 MB, free: 1.719 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.446e-05/0.01237, allocations: 20.94 kB / 292.5 MB, free: 1.699 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.446e-05/0.01244, allocations: 59.38 kB / 292.5 MB, free: 1.641 MB / 282.7 MB Notification: Performance of SimCode: time 1.042e-06/0.01244, allocations: 0 / 292.5 MB, free: 1.641 MB / 282.7 MB Notification: Performance of Templates: time 0.003701/0.01614, allocations: 1.81 MB / 294.4 MB, free: 15.86 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.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.9005045844241977]