Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.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.001283/0.001283, 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.001422/0.001422, 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.438/1.438, allocations: 230.6 MB / 258.3 MB, free: 7.734 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.215/0.215, allocations: 46.95 MB / 361.6 MB, free: 4.012 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.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 72.12 kB / 0.4974 GB, free: 7.137 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2917/0.2937, allocations: 66.04 MB / 0.5619 GB, free: 4.109 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.003218/0.2969, allocations: 1.71 MB / 0.5636 GB, free: 2.383 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001742/0.2986, allocations: 0.9707 MB / 0.5645 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.712e-05/0.2987, allocations: 0 / 0.5645 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003241/0.299, allocations: 91.69 kB / 0.5646 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003284/0.2994, allocations: 119.5 kB / 0.5647 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002083/0.2996, allocations: 75.73 kB / 0.5648 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000187/0.2997, allocations: 119.6 kB / 0.5649 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.978e-05/0.2998, allocations: 7.984 kB / 0.5649 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.066e-05/0.2999, allocations: 55.77 kB / 0.565 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001178/0.3, allocations: 63.75 kB / 0.565 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.957e-05/0.3001, allocations: 4 kB / 0.565 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.704e-05/0.3002, allocations: 43.98 kB / 0.5651 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.943e-05/0.3002, allocations: 31.84 kB / 0.5651 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.803e-05/0.3003, allocations: 27.75 kB / 0.5651 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000215/0.3005, allocations: 133.9 kB / 0.5653 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3005, allocations: 0 / 0.5653 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3005, allocations: 0 / 0.5653 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.3005, allocations: 0 / 0.5653 GB, free: 0.6562 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.0005495/0.301, allocations: 353.5 kB / 0.5656 GB, free: 288 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.3011, allocations: 11.97 kB / 0.5656 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.605e-05/0.3011, allocations: 12.84 kB / 0.5656 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002553/0.3014, allocations: 158.2 kB / 0.5658 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.3014, allocations: 12.31 kB / 0.5658 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.482e-05/0.3014, allocations: 4.125 kB / 0.5658 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001535/0.3016, allocations: 53.67 kB / 0.5658 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.3016, allocations: 4 kB / 0.5658 GB, free: 0 / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.3016, allocations: 0 / 0.5658 GB, free: 0 / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.3016, allocations: 0 / 0.5658 GB, free: 0 / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.69e-05/0.3017, allocations: 19.98 kB / 0.5659 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003575/0.3021, allocations: 244.5 kB / 0.5661 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001761/0.3022, allocations: 58.62 kB / 0.5661 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.421e-05/0.3023, allocations: 24.84 kB / 0.5662 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.628e-06/0.3023, allocations: 0 / 0.5662 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001506/0.3025, allocations: 67.39 kB / 0.5662 GB, free: 15.54 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.3025, allocations: 0 / 0.5662 GB, free: 15.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005752/0.303, allocations: 189.3 kB / 0.5664 GB, free: 15.35 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.032e-05/0.3031, allocations: 55.41 kB / 0.5665 GB, free: 15.28 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002456/0.3033, allocations: 223.6 kB / 0.5667 GB, free: 15.04 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.261e-05/0.3033, allocations: 29.7 kB / 0.5667 GB, free: 15.01 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.543e-05/0.3034, allocations: 100.1 kB / 0.5668 GB, free: 14.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.25e-05/0.3034, allocations: 27.78 kB / 0.5668 GB, free: 14.88 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.603e-05/0.3035, allocations: 25.72 kB / 0.5669 GB, free: 14.85 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.3036, allocations: 334.8 kB / 0.5672 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.48e-05/0.3037, allocations: 23.94 kB / 0.5672 GB, free: 14.49 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.713e-05/0.3038, allocations: 37.7 kB / 0.5672 GB, free: 14.45 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001306/0.3039, allocations: 61.69 kB / 0.5673 GB, free: 14.38 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.3039, allocations: 0 / 0.5673 GB, free: 14.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002067/0.3041, allocations: 109.5 kB / 0.5674 GB, free: 14.27 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.3041, allocations: 4 kB / 0.5674 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.3041, allocations: 4.031 kB / 0.5674 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.3041, allocations: 384 / 0.5674 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.85e-05/0.3042, allocations: 19.98 kB / 0.5674 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.389e-06/0.3042, allocations: 0 / 0.5674 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.498e-05/0.3043, allocations: 12 kB / 0.5674 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-06/0.3043, allocations: 7.875 kB / 0.5674 GB, free: 14.22 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.0001128/0.3044, allocations: 130.3 kB / 0.5676 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.795e-05/0.3044, allocations: 15.91 kB / 0.5676 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002806/0.3047, allocations: 131.3 kB / 0.5677 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.3047, allocations: 4 kB / 0.5677 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3047, allocations: 0 / 0.5677 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.228e-05/0.3047, allocations: 7.953 kB / 0.5677 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.889e-05/0.3048, allocations: 11.92 kB / 0.5677 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.198e-05/0.3048, allocations: 0 / 0.5677 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.651e-05/0.3049, allocations: 11.98 kB / 0.5677 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002446/0.3051, allocations: 176.9 kB / 0.5679 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003022/0.3054, allocations: 290.6 kB / 0.5682 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.689e-05/0.3055, allocations: 27.97 kB / 0.5682 GB, free: 13.38 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001603/0.3056, allocations: 181.1 kB / 0.5684 GB, free: 13.21 MB / 414.1 MB Notification: Performance of Backend: time 2.41e-07/0.3056, allocations: 4 kB / 0.5684 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002201/0.3078, allocations: 0.5116 MB / 0.5689 GB, free: 12.91 MB / 414.1 MB Notification: Performance of SimCode: time 0.0007147/0.3086, allocations: 0.6872 MB / 0.5696 GB, free: 12.18 MB / 414.1 MB Notification: Performance of Templates: time 0.005208/0.3138, allocations: 2.035 MB / 0.5715 GB, free: 10.17 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.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.677755546996195]