Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2.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.001824/0.001824, 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.002164/0.002164, allocations: 209.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.505/1.505, allocations: 230.6 MB / 258.3 MB, free: 7.801 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.2231/0.2231, allocations: 46.97 MB / 361.6 MB, free: 4.082 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.PadeDelay2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|padeDelay1a.y|padeDelay1b.y|padeDelay2a.y|padeDelay2b.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2") translateModel(ModelicaTest.Blocks.PadeDelay2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|padeDelay1a.y|padeDelay1b.y|padeDelay2a.y|padeDelay2b.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 63.91 kB / 0.4973 GB, free: 7.285 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2819/0.2839, allocations: 66.04 MB / 0.5618 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.00311/0.287, allocations: 1.8 MB / 0.5636 GB, free: 2.43 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002274/0.2893, allocations: 1.299 MB / 0.5648 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.977e-05/0.2893, allocations: 7.938 kB / 0.5648 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001387/0.2895, allocations: 27.72 kB / 0.5649 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001396/0.2896, allocations: 31.72 kB / 0.5649 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00172/0.2913, allocations: 0.6858 MB / 0.5656 GB, free: 380 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003971/0.2917, allocations: 303.2 kB / 0.5659 GB, free: 76 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.2919, allocations: 36.56 kB / 0.5659 GB, free: 36 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002572/0.2921, allocations: 127.5 kB / 0.566 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002383/0.2924, allocations: 179.4 kB / 0.5662 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.679e-05/0.2924, allocations: 28 kB / 0.5662 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002016/0.2944, allocations: 1.329 MB / 0.5675 GB, free: 14.38 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001485/0.2946, allocations: 115.6 kB / 0.5676 GB, free: 14.26 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001456/0.2947, allocations: 119.4 kB / 0.5677 GB, free: 14.14 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001495/0.2962, allocations: 1.101 MB / 0.5688 GB, free: 13.05 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2962, allocations: 0 / 0.5688 GB, free: 13.05 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2962, allocations: 3.938 kB / 0.5688 GB, free: 13.04 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.211e-05/0.2962, allocations: 0 / 0.5688 GB, free: 13.04 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001331/0.2976, allocations: 0.6638 MB / 0.5695 GB, free: 12.35 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.2976, allocations: 12.03 kB / 0.5695 GB, free: 12.34 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001944/0.2978, allocations: 40.69 kB / 0.5695 GB, free: 12.3 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004069/0.2982, allocations: 226.2 kB / 0.5697 GB, free: 12.05 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.268e-05/0.2982, allocations: 19.94 kB / 0.5698 GB, free: 12.04 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.905e-05/0.2983, allocations: 23.95 kB / 0.5698 GB, free: 12.01 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005562/0.2989, allocations: 327.1 kB / 0.5701 GB, free: 11.67 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.2989, allocations: 0 / 0.5701 GB, free: 11.67 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.313e-05/0.2989, allocations: 8 kB / 0.5701 GB, free: 11.66 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.2989, allocations: 4 kB / 0.5701 GB, free: 11.66 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004473/0.2994, allocations: 223.8 kB / 0.5703 GB, free: 11.44 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001259/0.3006, allocations: 0.6366 MB / 0.5709 GB, free: 10.77 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004955/0.3011, allocations: 280.9 kB / 0.5712 GB, free: 10.47 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003246/0.3014, allocations: 198 kB / 0.5714 GB, free: 10.27 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.288e-05/0.3015, allocations: 7.938 kB / 0.5714 GB, free: 10.27 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.369e-05/0.3015, allocations: 42.5 kB / 0.5714 GB, free: 10.21 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 1.603e-06/0.3015, allocations: 0 / 0.5714 GB, free: 10.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.001089/0.3026, allocations: 0.5368 MB / 0.572 GB, free: 9.672 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.91e-05/0.3027, allocations: 81.11 kB / 0.572 GB, free: 9.574 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003909/0.303, allocations: 352.6 kB / 0.5724 GB, free: 9.219 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.154e-05/0.3031, allocations: 33.7 kB / 0.5724 GB, free: 9.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/0.3032, allocations: 148.9 kB / 0.5725 GB, free: 9.027 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.595e-05/0.3033, allocations: 103.1 kB / 0.5726 GB, free: 8.926 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001972/0.3035, allocations: 129.4 kB / 0.5728 GB, free: 8.793 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001755/0.3037, allocations: 346.8 kB / 0.5731 GB, free: 8.445 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004535/0.3041, allocations: 288.8 kB / 0.5734 GB, free: 8.164 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000498/0.3046, allocations: 332.2 kB / 0.5737 GB, free: 7.836 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003796/0.3084, allocations: 1.757 MB / 0.5754 GB, free: 6.066 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/0.3084, allocations: 3.938 kB / 0.5754 GB, free: 6.062 MB / 414.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001212/0.3096, allocations: 0.7611 MB / 0.5762 GB, free: 5.297 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.3097, allocations: 7.938 kB / 0.5762 GB, free: 5.289 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.795e-05/0.3097, allocations: 11.98 kB / 0.5762 GB, free: 5.277 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.3097, allocations: 4 kB / 0.5762 GB, free: 5.273 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005089/0.3102, allocations: 91.88 kB / 0.5763 GB, free: 5.184 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.707e-05/0.3102, allocations: 11.88 kB / 0.5763 GB, free: 5.172 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002062/0.3104, allocations: 75.34 kB / 0.5764 GB, free: 5.098 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.237e-05/0.3105, allocations: 8 kB / 0.5764 GB, free: 5.09 MB / 414.1 MB Warning: Assuming fixed start value for the following 6 variables: padeDelay2a.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 [4] padeDelay2a.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 [4] padeDelay2a.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 [4] padeDelay1a.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 [4] padeDelay1a.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 [4] padeDelay1a.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 [4] 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 (44): * Single equations (assignments): 40 * 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.0002484/0.3107, allocations: 184.3 kB / 0.5765 GB, free: 4.91 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.347e-05/0.3108, allocations: 31.81 kB / 0.5766 GB, free: 4.879 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001082/0.3109, allocations: 38.72 kB / 0.5766 GB, free: 4.832 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.3109, allocations: 4 kB / 0.5766 GB, free: 4.828 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.3109, allocations: 3.938 kB / 0.5766 GB, free: 4.824 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.553e-05/0.311, allocations: 35.69 kB / 0.5766 GB, free: 4.789 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.644e-05/0.311, allocations: 16 kB / 0.5767 GB, free: 4.773 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002307/0.3112, allocations: 11.98 kB / 0.5767 GB, free: 4.762 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.088e-05/0.3113, allocations: 15.97 kB / 0.5767 GB, free: 4.746 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00158/0.3129, allocations: 0.6988 MB / 0.5774 GB, free: 4.039 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001237/0.3141, allocations: 0.9119 MB / 0.5783 GB, free: 3.105 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003374/0.3145, allocations: 203.8 kB / 0.5785 GB, free: 2.906 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002351/0.3147, allocations: 219 kB / 0.5787 GB, free: 2.691 MB / 414.1 MB Notification: Performance of Backend: time 5.11e-07/0.3147, allocations: 0 / 0.5787 GB, free: 2.691 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001721/0.3164, allocations: 0.7271 MB / 0.5794 GB, free: 1.934 MB / 414.1 MB Notification: Performance of SimCode: time 0.001403/0.3178, allocations: 1.252 MB / 0.5806 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of Templates: time 0.01447/0.3323, allocations: 8.261 MB / 0.5887 GB, free: 8.426 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/PadeDelay2/PadeDelay2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2.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.025434274997679]