Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.001757/0.001757, allocations: 106.5 kB / 21.2 MB, free: 0.6406 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.00217/0.00217, allocations: 216.6 kB / 24.49 MB, free: 3.93 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.437/1.437, allocations: 230.6 MB / 258.3 MB, free: 7.73 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.2227/0.2227, allocations: 46.96 MB / 361.6 MB, free: 4.074 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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002098/0.002098, allocations: 63.91 kB / 0.4974 GB, free: 7.109 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2815, allocations: 66.03 MB / 0.5619 GB, free: 4.129 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.003242/0.2847, allocations: 1.745 MB / 0.5636 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001667/0.2864, allocations: 0.9781 MB / 0.5646 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.561e-05/0.2864, allocations: 3.938 kB / 0.5646 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000326/0.2868, allocations: 115.6 kB / 0.5647 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003507/0.2871, allocations: 127.5 kB / 0.5648 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001934/0.2873, allocations: 83.73 kB / 0.5649 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002113/0.2875, allocations: 135.6 kB / 0.565 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.2876, allocations: 20.39 kB / 0.565 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.516e-05/0.2877, allocations: 59.77 kB / 0.5651 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001291/0.2878, allocations: 79.72 kB / 0.5652 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.298e-05/0.2879, allocations: 8 kB / 0.5652 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001182/0.288, allocations: 59.98 kB / 0.5652 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.914e-05/0.2881, allocations: 43.89 kB / 0.5653 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.45e-05/0.2881, allocations: 43.61 kB / 0.5653 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002899/0.2884, allocations: 155 kB / 0.5654 GB, free: 480 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.2884, allocations: 8 kB / 0.5655 GB, free: 472 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2884, allocations: 0 / 0.5655 GB, free: 472 kB / 398.1 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.2884, allocations: 0 / 0.5655 GB, free: 472 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007629/0.2892, allocations: 393.2 kB / 0.5658 GB, free: 48 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.2892, allocations: 12.03 kB / 0.5658 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.137e-05/0.2893, allocations: 12.84 kB / 0.5659 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000362/0.2896, allocations: 163.2 kB / 0.566 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.2897, allocations: 12.38 kB / 0.566 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.288e-05/0.2897, allocations: 8.125 kB / 0.566 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001936/0.2899, allocations: 69.66 kB / 0.5661 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.2899, allocations: 3.953 kB / 0.5661 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.2899, allocations: 8 kB / 0.5661 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.2899, allocations: 0 / 0.5661 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001215/0.29, allocations: 39.95 kB / 0.5661 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004748/0.2905, allocations: 280.3 kB / 0.5664 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003018/0.2908, allocations: 74.55 kB / 0.5665 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.084e-05/0.2909, allocations: 32.84 kB / 0.5665 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.122e-05/0.2909, allocations: 160 / 0.5665 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001988/0.2911, allocations: 87.23 kB / 0.5666 GB, free: 15.17 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.403e-06/0.2911, allocations: 0 / 0.5666 GB, free: 15.17 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009459/0.2921, allocations: 321 kB / 0.5669 GB, free: 14.85 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/0.2921, allocations: 51.41 kB / 0.567 GB, free: 14.79 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003007/0.2924, allocations: 275.7 kB / 0.5672 GB, free: 14.51 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.374e-05/0.2924, allocations: 29.7 kB / 0.5672 GB, free: 14.47 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.103e-05/0.2925, allocations: 116.1 kB / 0.5674 GB, free: 14.36 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.215e-05/0.2926, allocations: 51.64 kB / 0.5674 GB, free: 14.3 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.396e-05/0.2926, allocations: 29.7 kB / 0.5674 GB, free: 14.27 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.2928, allocations: 330.8 kB / 0.5677 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.961e-05/0.2929, allocations: 35.98 kB / 0.5678 GB, free: 13.9 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001064/0.293, allocations: 65.62 kB / 0.5678 GB, free: 13.83 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001923/0.2932, allocations: 105.6 kB / 0.5679 GB, free: 13.73 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.2932, allocations: 7.938 kB / 0.568 GB, free: 13.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002931/0.2935, allocations: 165.6 kB / 0.5681 GB, free: 13.55 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.2935, allocations: 12.03 kB / 0.5681 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.2935, allocations: 0 / 0.5681 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.2935, allocations: 0 / 0.5681 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.952e-05/0.2936, allocations: 27.92 kB / 0.5681 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-06/0.2936, allocations: 7.938 kB / 0.5682 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.799e-05/0.2936, allocations: 0 / 0.5682 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.391e-05/0.2937, allocations: 8 kB / 0.5682 GB, free: 13.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 (16): * Single equations (assignments): 16 * 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.0001165/0.2938, allocations: 133.8 kB / 0.5683 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.069e-05/0.2938, allocations: 20.7 kB / 0.5683 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004063/0.2942, allocations: 207.1 kB / 0.5685 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.2942, allocations: 0 / 0.5685 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2942, allocations: 0 / 0.5685 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.166e-05/0.2943, allocations: 23.78 kB / 0.5685 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.031e-05/0.2943, allocations: 4 kB / 0.5685 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.079e-05/0.2943, allocations: 7.984 kB / 0.5685 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.63e-05/0.2944, allocations: 11.98 kB / 0.5686 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000345/0.2947, allocations: 243.9 kB / 0.5688 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003946/0.2951, allocations: 362.4 kB / 0.5691 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001028/0.2952, allocations: 43.97 kB / 0.5692 GB, free: 12.42 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001935/0.2954, allocations: 205.5 kB / 0.5694 GB, free: 12.22 MB / 414.1 MB Notification: Performance of Backend: time 1.9e-07/0.2954, allocations: 0 / 0.5694 GB, free: 12.22 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00253/0.2979, allocations: 0.6128 MB / 0.57 GB, free: 11.86 MB / 414.1 MB Notification: Performance of SimCode: time 0.0008518/0.2988, allocations: 0.7451 MB / 0.5707 GB, free: 11.07 MB / 414.1 MB Notification: Performance of Templates: time 0.006082/0.3049, allocations: 2.637 MB / 0.5733 GB, free: 8.461 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.724821871997847]