Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.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.001788/0.001788, 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.002216/0.002216, allocations: 204.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.423/1.423, allocations: 230.6 MB / 258.3 MB, free: 7.816 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.2223/0.2223, allocations: 46.96 MB / 361.6 MB, free: 4.164 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.Test34,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.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,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.Test34") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002043/0.002043, allocations: 63.89 kB / 0.4974 GB, free: 7.199 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2898/0.2918, allocations: 66.04 MB / 0.5619 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.003168/0.295, allocations: 1.706 MB / 0.5636 GB, free: 2.469 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001639/0.2966, allocations: 0.9676 MB / 0.5645 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.762e-05/0.2967, allocations: 3.938 kB / 0.5645 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002524/0.2969, allocations: 43.77 kB / 0.5646 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000301/0.2972, allocations: 95.59 kB / 0.5646 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002024/0.2974, allocations: 79.67 kB / 0.5647 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001748/0.2976, allocations: 107.7 kB / 0.5648 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.855e-05/0.2977, allocations: 8 kB / 0.5648 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.18e-05/0.2978, allocations: 39.8 kB / 0.5649 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.045e-05/0.2979, allocations: 47.7 kB / 0.5649 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.641e-05/0.2979, allocations: 4 kB / 0.5649 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.26e-05/0.298, allocations: 39.98 kB / 0.565 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.669e-05/0.298, allocations: 19.92 kB / 0.565 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.54e-05/0.2981, allocations: 27.8 kB / 0.565 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002045/0.2983, allocations: 126 kB / 0.5651 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.2983, allocations: 0 / 0.5651 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.2983, allocations: 0 / 0.5651 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.2983, allocations: 0 / 0.5651 GB, free: 0.8711 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.0005333/0.2988, allocations: 357.5 kB / 0.5655 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.2988, allocations: 8.031 kB / 0.5655 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.936e-05/0.2989, allocations: 8.891 kB / 0.5655 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002299/0.2991, allocations: 151 kB / 0.5656 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.2991, allocations: 4.375 kB / 0.5656 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.841e-05/0.2992, allocations: 8.125 kB / 0.5656 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001504/0.2993, allocations: 53.67 kB / 0.5657 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.2993, allocations: 0 / 0.5657 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.2993, allocations: 4 kB / 0.5657 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.2993, allocations: 4 kB / 0.5657 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.21e-05/0.2994, allocations: 23.92 kB / 0.5657 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00037/0.2998, allocations: 236.6 kB / 0.5659 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001844/0.3, allocations: 54.67 kB / 0.566 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.138e-05/0.3, allocations: 16.86 kB / 0.566 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/0.3, allocations: 3.984 kB / 0.566 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001571/0.3002, allocations: 71.33 kB / 0.5661 GB, free: 15.77 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.402e-06/0.3002, allocations: 0 / 0.5661 GB, free: 15.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005673/0.3008, allocations: 193.3 kB / 0.5663 GB, free: 15.57 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/0.3008, allocations: 51.41 kB / 0.5663 GB, free: 15.51 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002095/0.301, allocations: 198.3 kB / 0.5665 GB, free: 15.31 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.301, allocations: 29.64 kB / 0.5665 GB, free: 15.27 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.395e-05/0.3011, allocations: 112.1 kB / 0.5666 GB, free: 15.16 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.526e-05/0.3012, allocations: 27.78 kB / 0.5667 GB, free: 15.13 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.432e-05/0.3012, allocations: 21.72 kB / 0.5667 GB, free: 15.11 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.3014, allocations: 326.8 kB / 0.567 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.148e-05/0.3014, allocations: 19.98 kB / 0.567 GB, free: 14.76 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.449e-05/0.3015, allocations: 37.7 kB / 0.5671 GB, free: 14.71 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/0.3016, allocations: 77.61 kB / 0.5671 GB, free: 14.64 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.3016, allocations: 0 / 0.5671 GB, free: 14.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002035/0.3018, allocations: 105.5 kB / 0.5672 GB, free: 14.53 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.3018, allocations: 7.938 kB / 0.5672 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.3019, allocations: 0 / 0.5672 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.3019, allocations: 7.984 kB / 0.5672 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.065e-05/0.302, allocations: 12 kB / 0.5673 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.302, allocations: 0 / 0.5673 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.921e-05/0.302, allocations: 4.031 kB / 0.5673 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.328e-06/0.302, allocations: 8 kB / 0.5673 GB, free: 14.49 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.00012/0.3021, allocations: 129.8 kB / 0.5674 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.457e-05/0.3022, allocations: 11.91 kB / 0.5674 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002858/0.3025, allocations: 119 kB / 0.5675 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.3025, allocations: 3.984 kB / 0.5675 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.3025, allocations: 4 kB / 0.5675 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.95e-05/0.3025, allocations: 7.953 kB / 0.5675 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.753e-05/0.3025, allocations: 7.938 kB / 0.5675 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.132e-05/0.3025, allocations: 0 / 0.5675 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.367e-05/0.3026, allocations: 11.98 kB / 0.5675 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002643/0.3028, allocations: 185.2 kB / 0.5677 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003029/0.3032, allocations: 286.7 kB / 0.568 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.479e-05/0.3032, allocations: 27.97 kB / 0.568 GB, free: 13.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001507/0.3034, allocations: 164.1 kB / 0.5682 GB, free: 13.5 MB / 414.1 MB Notification: Performance of Backend: time 1.9e-07/0.3034, allocations: 0 / 0.5682 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00217/0.3055, allocations: 0.5129 MB / 0.5687 GB, free: 13.2 MB / 414.1 MB Notification: Performance of SimCode: time 0.0007083/0.3063, allocations: 0.6595 MB / 0.5693 GB, free: 12.5 MB / 414.1 MB Notification: Performance of Templates: time 0.005075/0.3113, allocations: 2.021 MB / 0.5713 GB, free: 10.5 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.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.6321152149976115]