Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.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.00141/0.00141, allocations: 110.8 kB / 21.2 MB, free: 488 kB / 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.001426/0.001426, allocations: 210.8 kB / 24.49 MB, free: 3.66 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.435/1.435, allocations: 230.6 MB / 258.3 MB, free: 7.797 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.2247/0.2247, allocations: 46.96 MB / 361.6 MB, free: 4 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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00206/0.00206, allocations: 67.91 kB / 0.4974 GB, free: 7.102 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2916/0.2937, allocations: 66.03 MB / 0.5619 GB, free: 4.125 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.00324/0.2969, allocations: 1.712 MB / 0.5636 GB, free: 2.398 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002738/0.2997, allocations: 1.657 MB / 0.5652 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.82e-05/0.2998, allocations: 4 kB / 0.5652 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002621/0.3, allocations: 39.77 kB / 0.5652 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003338/0.3004, allocations: 103.5 kB / 0.5653 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002063/0.3006, allocations: 87.59 kB / 0.5654 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001815/0.3007, allocations: 111.7 kB / 0.5655 GB, free: 404 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.893e-05/0.3008, allocations: 4 kB / 0.5655 GB, free: 400 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.347e-05/0.3009, allocations: 59.7 kB / 0.5656 GB, free: 340 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000122/0.301, allocations: 47.77 kB / 0.5656 GB, free: 292 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.227e-05/0.3011, allocations: 4 kB / 0.5656 GB, free: 288 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001812/0.3012, allocations: 104 kB / 0.5657 GB, free: 184 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.659e-05/0.3013, allocations: 35.84 kB / 0.5658 GB, free: 148 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.1e-05/0.3013, allocations: 31.8 kB / 0.5658 GB, free: 116 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003067/0.3017, allocations: 177.8 kB / 0.5659 GB, free: 15.95 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.3017, allocations: 0 / 0.5659 GB, free: 15.95 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3017, allocations: 0 / 0.5659 GB, free: 15.95 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.957e-06/0.3017, allocations: 0 / 0.5659 GB, free: 15.95 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006512/0.3023, allocations: 361.4 kB / 0.5663 GB, free: 15.56 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.3023, allocations: 8.031 kB / 0.5663 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.06e-05/0.3024, allocations: 12.89 kB / 0.5663 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002738/0.3027, allocations: 159.9 kB / 0.5665 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/0.3027, allocations: 12.38 kB / 0.5665 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.133e-05/0.3027, allocations: 4.125 kB / 0.5665 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002079/0.3029, allocations: 105.1 kB / 0.5666 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.3029, allocations: 3.953 kB / 0.5666 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.3029, allocations: 4 kB / 0.5666 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.326e-06/0.3029, allocations: 0 / 0.5666 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000106/0.3031, allocations: 31.97 kB / 0.5666 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000403/0.3035, allocations: 248.4 kB / 0.5669 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002193/0.3037, allocations: 70.67 kB / 0.5669 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.091e-05/0.3037, allocations: 28.84 kB / 0.567 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.328e-05/0.3038, allocations: 0 / 0.567 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001695/0.3039, allocations: 83.31 kB / 0.567 GB, free: 14.71 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.452e-06/0.3039, allocations: 0 / 0.567 GB, free: 14.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006133/0.3045, allocations: 209.3 kB / 0.5672 GB, free: 14.5 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.248e-05/0.3046, allocations: 77.11 kB / 0.5673 GB, free: 14.41 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001943/0.3048, allocations: 174.2 kB / 0.5675 GB, free: 14.22 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.949e-05/0.3048, allocations: 33.69 kB / 0.5675 GB, free: 14.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.059e-05/0.3049, allocations: 96.14 kB / 0.5676 GB, free: 14.09 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.024e-05/0.3049, allocations: 39.8 kB / 0.5676 GB, free: 14.05 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.847e-05/0.305, allocations: 21.72 kB / 0.5677 GB, free: 14.02 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.3051, allocations: 326.8 kB / 0.568 GB, free: 13.69 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.699e-05/0.3052, allocations: 32.08 kB / 0.568 GB, free: 13.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/0.3053, allocations: 80.12 kB / 0.5681 GB, free: 13.57 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001556/0.3054, allocations: 77.64 kB / 0.5681 GB, free: 13.48 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.3054, allocations: 0 / 0.5681 GB, free: 13.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002437/0.3057, allocations: 121.5 kB / 0.5683 GB, free: 13.36 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.3057, allocations: 10.09 kB / 0.5683 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.3057, allocations: 0 / 0.5683 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.3057, allocations: 4 kB / 0.5683 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.738e-05/0.3058, allocations: 15.98 kB / 0.5683 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.365e-05/0.3058, allocations: 7.938 kB / 0.5683 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.806e-05/0.3059, allocations: 4 kB / 0.5683 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.3059, allocations: 4 kB / 0.5683 GB, free: 13.32 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 (11): * Single equations (assignments): 11 * 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.0002116/0.3061, allocations: 125.8 kB / 0.5684 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.869e-05/0.3061, allocations: 7.953 kB / 0.5684 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003241/0.3065, allocations: 146.8 kB / 0.5686 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.3065, allocations: 7.922 kB / 0.5686 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3065, allocations: 0 / 0.5686 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.495e-05/0.3065, allocations: 15.84 kB / 0.5686 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.499e-05/0.3065, allocations: 11.94 kB / 0.5686 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.436e-05/0.3066, allocations: 3.984 kB / 0.5686 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.497e-05/0.3066, allocations: 7.984 kB / 0.5686 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003051/0.3069, allocations: 196.9 kB / 0.5688 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004122/0.3073, allocations: 315 kB / 0.5691 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.768e-05/0.3074, allocations: 27.98 kB / 0.5691 GB, free: 12.43 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001382/0.3076, allocations: 152 kB / 0.5693 GB, free: 12.28 MB / 414.1 MB Notification: Performance of Backend: time 3.3e-07/0.3076, allocations: 0 / 0.5693 GB, free: 12.28 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002536/0.3101, allocations: 0.6129 MB / 0.5699 GB, free: 11.92 MB / 414.1 MB Notification: Performance of SimCode: time 0.0007811/0.3109, allocations: 0.6659 MB / 0.5705 GB, free: 11.21 MB / 414.1 MB Notification: Performance of Templates: time 0.006521/0.3174, allocations: 2.791 MB / 0.5733 GB, free: 8.445 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.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.721277620003093]