Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay1.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.001839/0.001839, allocations: 110.8 kB / 21.19 MB, free: 0.668 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.002346/0.002346, allocations: 211.6 kB / 24.49 MB, free: 3.969 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.432/1.432, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.2183/0.2183, allocations: 46.97 MB / 361.6 MB, free: 4.062 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.Blocks.PadeDelay1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|padeDelay1.y|padeDelayOld1.y|padeDelay2.y|padeDelayOld2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay1") translateModel(ModelicaTest.Blocks.PadeDelay1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|padeDelay1.y|padeDelayOld1.y|padeDelay2.y|padeDelayOld2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 67.91 kB / 0.4973 GB, free: 7.246 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2747/0.2766, allocations: 66.03 MB / 0.5618 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay1): time 0.003056/0.2797, allocations: 1.789 MB / 0.5636 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001952/0.2817, allocations: 1.112 MB / 0.5646 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.573e-05/0.2817, allocations: 3.938 kB / 0.5646 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001443/0.2819, allocations: 35.66 kB / 0.5647 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.533e-05/0.282, allocations: 31.78 kB / 0.5647 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001512/0.2835, allocations: 0.5806 MB / 0.5653 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004466/0.2839, allocations: 415.2 kB / 0.5657 GB, free: 248 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.284, allocations: 41.92 kB / 0.5657 GB, free: 204 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002797/0.2843, allocations: 195.5 kB / 0.5659 GB, free: 8 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003844/0.2847, allocations: 331.3 kB / 0.5662 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.508e-05/0.2848, allocations: 44 kB / 0.5663 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001386/0.2862, allocations: 0.9317 MB / 0.5672 GB, free: 14.71 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002144/0.2864, allocations: 227.3 kB / 0.5674 GB, free: 14.48 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001967/0.2866, allocations: 182.9 kB / 0.5676 GB, free: 14.3 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00118/0.2878, allocations: 1.17 MB / 0.5687 GB, free: 13.14 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.2878, allocations: 0 / 0.5687 GB, free: 13.14 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2878, allocations: 4 kB / 0.5687 GB, free: 13.13 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.2878, allocations: 4 kB / 0.5687 GB, free: 13.13 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001616/0.2894, allocations: 0.8703 MB / 0.5696 GB, free: 12.23 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.2894, allocations: 8.031 kB / 0.5696 GB, free: 12.22 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002173/0.2896, allocations: 60.55 kB / 0.5696 GB, free: 12.16 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005147/0.2902, allocations: 284.8 kB / 0.5699 GB, free: 11.86 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.6e-05/0.2902, allocations: 20.88 kB / 0.5699 GB, free: 11.84 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/0.2903, allocations: 59.77 kB / 0.57 GB, free: 11.78 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001087/0.2914, allocations: 0.7034 MB / 0.5707 GB, free: 11.05 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.86e-05/0.2914, allocations: 7.953 kB / 0.5707 GB, free: 11.04 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.793e-05/0.2915, allocations: 12 kB / 0.5707 GB, free: 11.03 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/0.2915, allocations: 8 kB / 0.5707 GB, free: 11.02 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001167/0.2926, allocations: 0.7113 MB / 0.5714 GB, free: 10.3 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002311/0.2949, allocations: 1.309 MB / 0.5727 GB, free: 8.957 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001078/0.296, allocations: 0.7385 MB / 0.5734 GB, free: 8.203 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007503/0.2968, allocations: 0.5387 MB / 0.5739 GB, free: 7.66 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003971/0.2972, allocations: 112.3 kB / 0.574 GB, free: 7.551 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.577e-05/0.2972, allocations: 39.02 kB / 0.5741 GB, free: 7.504 MB / 414.1 MB Notification: Performance of pre-optimization done (n=96): time 2.575e-06/0.2972, allocations: 4 kB / 0.5741 GB, free: 7.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=96): time 0.002513/0.2997, allocations: 1.648 MB / 0.5757 GB, free: 5.848 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.714e-05/0.2998, allocations: 89.09 kB / 0.5758 GB, free: 5.742 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004191/0.3002, allocations: 401.4 kB / 0.5761 GB, free: 5.34 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.554e-05/0.3002, allocations: 33.7 kB / 0.5762 GB, free: 5.301 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.3004, allocations: 153.9 kB / 0.5763 GB, free: 5.145 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003147/0.3007, allocations: 376.7 kB / 0.5767 GB, free: 4.773 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002857/0.301, allocations: 202.1 kB / 0.5769 GB, free: 4.57 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.3011, allocations: 318 kB / 0.5772 GB, free: 4.254 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008492/0.302, allocations: 0.5998 MB / 0.5778 GB, free: 3.656 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009519/0.3029, allocations: 0.7063 MB / 0.5784 GB, free: 2.941 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01138/0.3143, allocations: 5.394 MB / 0.5837 GB, free: 13.53 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.3143, allocations: 0 / 0.5837 GB, free: 13.53 MB / 430.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.002498/0.3168, allocations: 1.736 MB / 0.5854 GB, free: 11.79 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.3168, allocations: 4 kB / 0.5854 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/0.3168, allocations: 4 kB / 0.5854 GB, free: 11.78 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.3168, allocations: 4 kB / 0.5854 GB, free: 11.78 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008297/0.3177, allocations: 175.7 kB / 0.5856 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.3177, allocations: 7.938 kB / 0.5856 GB, free: 11.6 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003295/0.318, allocations: 122.9 kB / 0.5857 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-05/0.3181, allocations: 20 kB / 0.5857 GB, free: 11.46 MB / 430.1 MB Warning: Assuming fixed start value for the following 36 variables: padeDelay1.x[9]:VARIABLE(fixed = true final = true ) \"State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)\" type: Real [10] padeDelay1.x[8]:VARIABLE(fixed = true final = true ) \"State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)\" type: Real [10] padeDelay1.x[7]:VARIABLE(fixed = true final = true ) \"State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)\" type: Real [10] padeDelay1.x[6]:VARIABLE(fixed = true final = true ) \"State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)\" type: Real [10] padeDelay1.x[5]:VARIABLE(fixed = true final = true ) \"State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)\" type: Real [10] padeDelay1.x[4]:VARIABLE(fixed = true final = true ) \"State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)\" type: Real [10] padeDelay1.x[3]:VARIABLE(fixed = true final = true ) \"State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)\" type: Real [10] padeDelay1.x[2]:VARIABLE(fixed = true final = true ) \"State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)\" type: Real [10] padeDelay1.x[1]:VARIABLE(fixed = true final = true ) \"State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)\" type: Real [10] padeDelayOld1.x[9]:VARIABLE(fixed = true final = true ) \"State of transfer function from controller canonical form\" type: Real [10] padeDelayOld1.x[8]:VARIABLE(fixed = true final = true ) \"State of transfer function from controller canonical form\" type: Real [10] padeDelayOld1.x[7]:VARIABLE(fixed = true final = true ) \"State of transfer function from controller canonical form\" type: Real [10] padeDelayOld1.x[6]:VARIABLE(fixed = true final = true ) \"State of transfer function from controller canonical form\" type: Real [10] padeDelayOld1.x[5]:VARIABLE(fixed = true final = true ) \"State of transfer function from controller canonical form\" type: Real [10] padeDelayOld1.x[4]:VARIABLE(fixed = true final = true ) \"State of transfer function from controller canonical form\" type: Real [10] padeDelayOld1.x[3]:VARIABLE(fixed = true final = true ) \"State of transfer function from controller canonical form\" type: Real [10] padeDelayOld1.x[2]:VARIABLE(fixed = true final = true ) \"State of transfer function from controller canonical form\" type: Real [10] padeDelayOld1.x[1]:VARIABLE(fixed = true final = true ) \"State of transfer function from controller canonical form\" type: Real [10] padeDelay2.x[9]:VARIABLE(fixed = true final = true ) \"State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)\" type: Real [10] padeDelay2.x[8]:VARIABLE(fixed = true final = true ) \"State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)\" type: Real [10] padeDelay2.x[7]:VARIABLE(fixed = true final = true ) \"State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)\" type: Real [10] padeDelay2.x[6]:VARIABLE(fixed = true final = true ) \"State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)\" type: Real [10] padeDelay2.x[5]:VARIABLE(fixed = true final = true ) \"State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)\" type: Real [10] padeDelay2.x[4]:VARIABLE(fixed = true final = true ) \"State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)\" type: Real [10] padeDelay2.x[3]:VARIABLE(fixed = true final = true ) \"State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)\" type: Real [10] padeDelay2.x[2]:VARIABLE(fixed = true final = true ) \"State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)\" type: Real [10] padeDelay2.x[1]:VARIABLE(fixed = true final = true ) \"State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)\" type: Real [10] padeDelayOld2.x[9]:VARIABLE(fixed = true final = true ) \"State of transfer function from controller canonical form\" type: Real [10] padeDelayOld2.x[8]:VARIABLE(fixed = true final = true ) \"State of transfer function from controller canonical form\" type: Real [10] padeDelayOld2.x[7]:VARIABLE(fixed = true final = true ) \"State of transfer function from controller canonical form\" type: Real [10] padeDelayOld2.x[6]:VARIABLE(fixed = true final = true ) \"State of transfer function from controller canonical form\" type: Real [10] padeDelayOld2.x[5]:VARIABLE(fixed = true final = true ) \"State of transfer function from controller canonical form\" type: Real [10] padeDelayOld2.x[4]:VARIABLE(fixed = true final = true ) \"State of transfer function from controller canonical form\" type: Real [10] padeDelayOld2.x[3]:VARIABLE(fixed = true final = true ) \"State of transfer function from controller canonical form\" type: Real [10] padeDelayOld2.x[2]:VARIABLE(fixed = true final = true ) \"State of transfer function from controller canonical form\" type: Real [10] padeDelayOld2.x[1]:VARIABLE(fixed = true final = true ) \"State of transfer function from controller canonical form\" type: Real [10] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0004714/0.3185, allocations: 347.7 kB / 0.5861 GB, free: 11.13 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001195/0.3187, allocations: 47.62 kB / 0.5861 GB, free: 11.08 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002734/0.3214, allocations: 2.058 MB / 0.5881 GB, free: 8.883 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/0.3214, allocations: 7.922 kB / 0.5881 GB, free: 8.875 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.3214, allocations: 0 / 0.5881 GB, free: 8.875 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.152e-05/0.3215, allocations: 47.59 kB / 0.5882 GB, free: 8.828 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000126/0.3216, allocations: 55.75 kB / 0.5882 GB, free: 8.773 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002787/0.3219, allocations: 19.98 kB / 0.5882 GB, free: 8.754 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001587/0.322, allocations: 39.92 kB / 0.5883 GB, free: 8.715 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00304/0.3251, allocations: 1.323 MB / 0.5896 GB, free: 7.387 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002435/0.3275, allocations: 1.713 MB / 0.5912 GB, free: 5.645 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006622/0.3282, allocations: 443.9 kB / 0.5917 GB, free: 5.211 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004483/0.3286, allocations: 374.8 kB / 0.592 GB, free: 4.844 MB / 430.1 MB Notification: Performance of Backend: time 4.71e-07/0.3286, allocations: 4 kB / 0.592 GB, free: 4.84 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002317/0.3309, allocations: 1.221 MB / 0.5932 GB, free: 3.59 MB / 430.1 MB Notification: Performance of SimCode: time 0.002387/0.3333, allocations: 2.032 MB / 0.5952 GB, free: 1.504 MB / 430.1 MB Notification: Performance of Templates: time 0.01975/0.3531, allocations: 12.31 MB / 0.6072 GB, free: 5.164 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay1.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/PadeDelay1/PadeDelay1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay1.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: 5.004041944994242]