Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20.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.001831/0.001831, allocations: 110.8 kB / 21.19 MB, free: 0.668 MB / 14.72 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.002314/0.002314, allocations: 211.6 kB / 24.49 MB, free: 3.969 MB / 14.72 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.424/1.424, allocations: 230.6 MB / 258.3 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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.2222/0.2222, allocations: 46.96 MB / 361.6 MB, free: 4.047 MB / 286.1 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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002231/0.002231, allocations: 63.91 kB / 0.4974 GB, free: 7.164 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2799/0.2821, allocations: 66.04 MB / 0.5619 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.003206/0.2853, allocations: 1.71 MB / 0.5636 GB, free: 2.434 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001745/0.2871, allocations: 0.9676 MB / 0.5645 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.385e-05/0.2871, allocations: 0 / 0.5645 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002666/0.2874, allocations: 43.77 kB / 0.5645 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003061/0.2877, allocations: 103.5 kB / 0.5646 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001979/0.2879, allocations: 79.67 kB / 0.5647 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00018/0.2881, allocations: 107.7 kB / 0.5648 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.677e-05/0.2882, allocations: 8 kB / 0.5648 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.72e-05/0.2882, allocations: 39.8 kB / 0.5649 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.795e-05/0.2883, allocations: 39.77 kB / 0.5649 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/0.2883, allocations: 4 kB / 0.5649 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.528e-05/0.2884, allocations: 43.92 kB / 0.565 GB, free: 1 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.468e-05/0.2885, allocations: 23.92 kB / 0.565 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.476e-05/0.2885, allocations: 27.8 kB / 0.565 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002049/0.2887, allocations: 121.9 kB / 0.5651 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.2887, allocations: 0 / 0.5651 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2887, allocations: 4 kB / 0.5651 GB, free: 0.832 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.2887, allocations: 0 / 0.5651 GB, free: 0.832 MB / 398.1 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.0005488/0.2893, allocations: 349.5 kB / 0.5655 GB, free: 472 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.2893, allocations: 8.031 kB / 0.5655 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.162e-05/0.2894, allocations: 8.891 kB / 0.5655 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002737/0.2896, allocations: 155 kB / 0.5656 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.2897, allocations: 4.359 kB / 0.5656 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.63e-05/0.2897, allocations: 8.125 kB / 0.5656 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001462/0.2898, allocations: 53.67 kB / 0.5657 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.2898, allocations: 4 kB / 0.5657 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.2899, allocations: 0 / 0.5657 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.416e-06/0.2899, allocations: 4 kB / 0.5657 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.776e-05/0.2899, allocations: 19.98 kB / 0.5657 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003656/0.2903, allocations: 236.5 kB / 0.5659 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001733/0.2905, allocations: 58.67 kB / 0.566 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.534e-05/0.2905, allocations: 16.86 kB / 0.566 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.182e-05/0.2905, allocations: 4 kB / 0.566 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001471/0.2907, allocations: 71.31 kB / 0.5661 GB, free: 15.74 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.493e-06/0.2907, allocations: 4 kB / 0.5661 GB, free: 15.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005801/0.2913, allocations: 185.3 kB / 0.5663 GB, free: 15.55 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.604e-05/0.2913, allocations: 59.34 kB / 0.5663 GB, free: 15.48 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002151/0.2915, allocations: 202.2 kB / 0.5665 GB, free: 15.27 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.2915, allocations: 25.7 kB / 0.5665 GB, free: 15.24 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.066e-05/0.2916, allocations: 112.1 kB / 0.5666 GB, free: 15.12 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.326e-05/0.2917, allocations: 27.78 kB / 0.5667 GB, free: 15.1 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.25e-05/0.2917, allocations: 17.72 kB / 0.5667 GB, free: 15.07 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.2918, allocations: 326.8 kB / 0.567 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.001e-05/0.2919, allocations: 27.98 kB / 0.567 GB, free: 14.72 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.494e-05/0.292, allocations: 37.7 kB / 0.5671 GB, free: 14.68 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001351/0.2921, allocations: 61.7 kB / 0.5671 GB, free: 14.61 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.2921, allocations: 3.938 kB / 0.5671 GB, free: 14.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002037/0.2923, allocations: 97.95 kB / 0.5672 GB, free: 14.5 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.2923, allocations: 8 kB / 0.5672 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.2924, allocations: 0 / 0.5672 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/0.2924, allocations: 3.984 kB / 0.5672 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.2925, allocations: 27.94 kB / 0.5673 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.2925, allocations: 4.031 kB / 0.5673 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.758e-05/0.2925, allocations: 3.938 kB / 0.5673 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.2925, allocations: 4 kB / 0.5673 GB, free: 14.45 MB / 414.1 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 0.0001166/0.2927, allocations: 129.8 kB / 0.5674 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.844e-05/0.2927, allocations: 15.91 kB / 0.5674 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002822/0.293, allocations: 119 kB / 0.5675 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.293, allocations: 3.984 kB / 0.5675 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.293, allocations: 0 / 0.5675 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.348e-05/0.293, allocations: 7.953 kB / 0.5675 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.975e-05/0.293, allocations: 15.92 kB / 0.5675 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.439e-05/0.2931, allocations: 4 kB / 0.5675 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.528e-05/0.2931, allocations: 7.984 kB / 0.5676 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002601/0.2934, allocations: 185.1 kB / 0.5677 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003119/0.2937, allocations: 286.7 kB / 0.568 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.232e-05/0.2938, allocations: 23.98 kB / 0.568 GB, free: 13.62 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001471/0.2939, allocations: 156.2 kB / 0.5682 GB, free: 13.47 MB / 414.1 MB Notification: Performance of Backend: time 4.21e-07/0.2939, allocations: 4 kB / 0.5682 GB, free: 13.46 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002225/0.2961, allocations: 0.5154 MB / 0.5687 GB, free: 13.16 MB / 414.1 MB Notification: Performance of SimCode: time 0.0008112/0.2969, allocations: 0.6613 MB / 0.5693 GB, free: 12.46 MB / 414.1 MB Notification: Performance of Templates: time 0.005489/0.3024, allocations: 2.021 MB / 0.5713 GB, free: 10.46 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.755146182003955]