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.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.001418/0.001418, 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.43/1.43, allocations: 230.6 MB / 258.3 MB, free: 7.805 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.2292/0.2292, 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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.",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.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 63.89 kB / 0.4974 GB, free: 7.164 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2855/0.2874, allocations: 66.03 MB / 0.5619 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.003098/0.2905, allocations: 1.679 MB / 0.5635 GB, free: 2.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00169/0.2922, allocations: 0.9481 MB / 0.5644 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.631e-05/0.2923, allocations: 0 / 0.5644 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002857/0.2926, allocations: 59.73 kB / 0.5645 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000317/0.2929, allocations: 103.5 kB / 0.5646 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001757/0.2931, allocations: 75.73 kB / 0.5647 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001687/0.2932, allocations: 103.6 kB / 0.5648 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.841e-05/0.2933, allocations: 4.234 kB / 0.5648 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.58e-05/0.2934, allocations: 39.8 kB / 0.5648 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.676e-05/0.2934, allocations: 35.83 kB / 0.5648 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.701e-05/0.2935, allocations: 4 kB / 0.5648 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.552e-05/0.2935, allocations: 28 kB / 0.5649 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.204e-05/0.2936, allocations: 31.84 kB / 0.5649 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.803e-05/0.2936, allocations: 31.73 kB / 0.5649 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001933/0.2938, allocations: 121.8 kB / 0.565 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.2938, allocations: 8 kB / 0.5651 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2938, allocations: 3.938 kB / 0.5651 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.658e-06/0.2938, allocations: 0 / 0.5651 GB, free: 0.8945 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005294/0.2944, allocations: 369.4 kB / 0.5654 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.2944, allocations: 8.031 kB / 0.5654 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.549e-05/0.2945, allocations: 12.89 kB / 0.5654 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000246/0.2947, allocations: 159.2 kB / 0.5656 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.2947, allocations: 384 / 0.5656 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.402e-05/0.2947, allocations: 8.125 kB / 0.5656 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001383/0.2949, allocations: 57.61 kB / 0.5656 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.2949, allocations: 0 / 0.5656 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.757e-06/0.2949, allocations: 0 / 0.5656 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.246e-06/0.2949, allocations: 4 kB / 0.5657 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.047e-05/0.295, allocations: 15.98 kB / 0.5657 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001783/0.2951, allocations: 137.3 kB / 0.5658 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000176/0.2953, allocations: 46.62 kB / 0.5658 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.127e-05/0.2954, allocations: 24.83 kB / 0.5659 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.275e-05/0.2954, allocations: 0 / 0.5659 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001582/0.2955, allocations: 83.2 kB / 0.5659 GB, free: 15.87 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.233e-06/0.2955, allocations: 0 / 0.5659 GB, free: 15.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.000287/0.2958, allocations: 105.6 kB / 0.566 GB, free: 15.76 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.511e-05/0.2959, allocations: 55.41 kB / 0.5661 GB, free: 15.7 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002887/0.2961, allocations: 274.8 kB / 0.5664 GB, free: 15.41 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.2962, allocations: 25.7 kB / 0.5664 GB, free: 15.38 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.258e-05/0.2962, allocations: 116.1 kB / 0.5665 GB, free: 15.27 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.8e-05/0.2963, allocations: 15.89 kB / 0.5665 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.681e-05/0.2963, allocations: 17.72 kB / 0.5665 GB, free: 15.23 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.2965, allocations: 334.7 kB / 0.5668 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.368e-05/0.2965, allocations: 23.98 kB / 0.5669 GB, free: 14.87 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.982e-05/0.2966, allocations: 25.7 kB / 0.5669 GB, free: 14.84 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001204/0.2967, allocations: 45.7 kB / 0.5669 GB, free: 14.79 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2967, allocations: 0 / 0.5669 GB, free: 14.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001815/0.2969, allocations: 93.47 kB / 0.567 GB, free: 14.69 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.2969, allocations: 8 kB / 0.567 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.2969, allocations: 0 / 0.567 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.2969, allocations: 0 / 0.567 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.557e-05/0.297, allocations: 16.02 kB / 0.5671 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.297, allocations: 0 / 0.5671 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.869e-05/0.297, allocations: 11.89 kB / 0.5671 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.297, allocations: 4 kB / 0.5671 GB, free: 14.65 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 (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 0.0001078/0.2971, allocations: 133.8 kB / 0.5672 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.776e-05/0.2972, allocations: 19.84 kB / 0.5672 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002282/0.2974, allocations: 102.8 kB / 0.5673 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.2974, allocations: 0 / 0.5673 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.2974, allocations: 0 / 0.5673 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.396e-05/0.2974, allocations: 11.91 kB / 0.5673 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.349e-05/0.2975, allocations: 7.984 kB / 0.5673 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.235e-05/0.2975, allocations: 4 kB / 0.5673 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.528e-05/0.2975, allocations: 4.375 kB / 0.5673 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002192/0.2977, allocations: 168.8 kB / 0.5675 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002659/0.298, allocations: 266.7 kB / 0.5678 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.112e-05/0.2981, allocations: 27.98 kB / 0.5678 GB, free: 13.87 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001888/0.2983, allocations: 200.6 kB / 0.568 GB, free: 13.68 MB / 414.1 MB Notification: Performance of Backend: time 2.51e-07/0.2983, allocations: 0 / 0.568 GB, free: 13.68 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00193/0.3002, allocations: 479.3 kB / 0.5684 GB, free: 13.39 MB / 414.1 MB Notification: Performance of SimCode: time 0.0007417/0.3009, allocations: 0.7049 MB / 0.5691 GB, free: 12.64 MB / 414.1 MB Notification: Performance of Templates: time 0.004856/0.3058, allocations: 1.792 MB / 0.5709 GB, free: 10.88 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.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.742322335994686]