Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.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.001299/0.001299, allocations: 110.4 kB / 21.19 MB, free: 0.6641 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.001402/0.001402, allocations: 208.7 kB / 24.49 MB, free: 3.965 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.398/1.398, allocations: 230.6 MB / 258.3 MB, free: 7.809 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.2206/0.2206, allocations: 46.96 MB / 361.6 MB, free: 4.086 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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 59.91 kB / 0.4974 GB, free: 7.199 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2755/0.2775, allocations: 66.04 MB / 0.5619 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.003096/0.2806, allocations: 1.706 MB / 0.5636 GB, free: 2.449 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001603/0.2822, allocations: 0.9676 MB / 0.5645 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.5e-05/0.2823, allocations: 0 / 0.5645 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002527/0.2825, allocations: 43.77 kB / 0.5645 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002825/0.2828, allocations: 99.53 kB / 0.5646 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001835/0.283, allocations: 79.67 kB / 0.5647 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001685/0.2832, allocations: 107.7 kB / 0.5648 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.216e-05/0.2832, allocations: 4 kB / 0.5648 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.721e-05/0.2833, allocations: 39.8 kB / 0.5649 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.616e-05/0.2834, allocations: 43.77 kB / 0.5649 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.638e-05/0.2834, allocations: 8 kB / 0.5649 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.549e-05/0.2835, allocations: 43.92 kB / 0.565 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.547e-05/0.2836, allocations: 19.92 kB / 0.565 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.829e-05/0.2836, allocations: 27.8 kB / 0.565 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002159/0.2838, allocations: 125.9 kB / 0.5651 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.2838, allocations: 0 / 0.5651 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.2838, allocations: 0 / 0.5651 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.2838, allocations: 0 / 0.5651 GB, free: 0.8516 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.0005854/0.2844, allocations: 337.6 kB / 0.5654 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.2845, allocations: 8.031 kB / 0.5654 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.207e-05/0.2845, allocations: 16.84 kB / 0.5655 GB, free: 480 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002525/0.2848, allocations: 146.4 kB / 0.5656 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.2848, allocations: 4.375 kB / 0.5656 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.305e-05/0.2848, allocations: 8.062 kB / 0.5656 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001696/0.285, allocations: 61.66 kB / 0.5657 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.285, allocations: 0 / 0.5657 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.285, allocations: 0 / 0.5657 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.285, allocations: 0 / 0.5657 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.237e-05/0.2851, allocations: 23.98 kB / 0.5657 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004014/0.2855, allocations: 236.5 kB / 0.5659 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001733/0.2857, allocations: 54.69 kB / 0.566 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.351e-05/0.2857, allocations: 20.84 kB / 0.566 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.423e-05/0.2857, allocations: 4 kB / 0.566 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001574/0.2859, allocations: 67.33 kB / 0.5661 GB, free: 15.77 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.2859, allocations: 4 kB / 0.5661 GB, free: 15.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005659/0.2865, allocations: 193.2 kB / 0.5662 GB, free: 15.57 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.513e-05/0.2865, allocations: 55.41 kB / 0.5663 GB, free: 15.5 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001869/0.2867, allocations: 183.2 kB / 0.5665 GB, free: 15.31 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.2867, allocations: 25.7 kB / 0.5665 GB, free: 15.28 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.622e-05/0.2868, allocations: 112.1 kB / 0.5666 GB, free: 15.17 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.136e-05/0.2868, allocations: 23.84 kB / 0.5666 GB, free: 15.14 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.072e-05/0.2869, allocations: 21.72 kB / 0.5667 GB, free: 15.12 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.287, allocations: 326.8 kB / 0.567 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.47e-05/0.2871, allocations: 23.98 kB / 0.567 GB, free: 14.77 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.896e-05/0.2871, allocations: 37.7 kB / 0.567 GB, free: 14.72 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.2873, allocations: 65.62 kB / 0.5671 GB, free: 14.65 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.2873, allocations: 0 / 0.5671 GB, free: 14.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002001/0.2875, allocations: 109.6 kB / 0.5672 GB, free: 14.54 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.2875, allocations: 8 kB / 0.5672 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.2875, allocations: 0 / 0.5672 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.2875, allocations: 0 / 0.5672 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.75e-05/0.2876, allocations: 15.94 kB / 0.5672 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.2876, allocations: 4 kB / 0.5672 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.691e-05/0.2876, allocations: 3.984 kB / 0.5672 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.2876, allocations: 4 kB / 0.5672 GB, free: 14.5 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.0001041/0.2878, allocations: 125.8 kB / 0.5673 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.452e-05/0.2878, allocations: 7.953 kB / 0.5674 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002669/0.288, allocations: 131.1 kB / 0.5675 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.288, allocations: 7.984 kB / 0.5675 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.288, allocations: 0 / 0.5675 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.863e-05/0.2881, allocations: 7.953 kB / 0.5675 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.535e-05/0.2881, allocations: 7.938 kB / 0.5675 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.924e-05/0.2881, allocations: 0 / 0.5675 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.399e-05/0.2882, allocations: 11.97 kB / 0.5675 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00024/0.2884, allocations: 180.9 kB / 0.5677 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002955/0.2887, allocations: 286.7 kB / 0.568 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.884e-05/0.2888, allocations: 31.97 kB / 0.568 GB, free: 13.67 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001224/0.2889, allocations: 142 kB / 0.5681 GB, free: 13.54 MB / 414.1 MB Notification: Performance of Backend: time 1.71e-07/0.2889, allocations: 0 / 0.5681 GB, free: 13.54 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002184/0.2911, allocations: 0.5182 MB / 0.5686 GB, free: 13.23 MB / 414.1 MB Notification: Performance of SimCode: time 0.00065/0.2917, allocations: 0.6664 MB / 0.5693 GB, free: 12.52 MB / 414.1 MB Notification: Performance of Templates: time 0.004959/0.2967, allocations: 2.005 MB / 0.5712 GB, free: 10.54 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.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.616761266006506]