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.001682/0.001682, allocations: 107 kB / 21.18 MB, free: 0.6484 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.002033/0.002033, allocations: 216.4 kB / 24.48 MB, free: 3.941 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.481/1.481, allocations: 230.6 MB / 258.3 MB, free: 7.77 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.2255/0.2255, allocations: 46.98 MB / 361.6 MB, free: 4.02 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.002162/0.002162, allocations: 71.89 kB / 0.4973 GB, free: 7.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3252/0.3274, allocations: 66.03 MB / 0.5618 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.003154/0.3305, allocations: 1.805 MB / 0.5636 GB, free: 2.352 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002287/0.3328, allocations: 1.288 MB / 0.5648 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.417e-05/0.3329, allocations: 4 kB / 0.5648 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000158/0.333, allocations: 35.72 kB / 0.5649 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.582e-05/0.3331, allocations: 35.66 kB / 0.5649 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001769/0.3349, allocations: 0.6781 MB / 0.5656 GB, free: 312 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003959/0.3353, allocations: 311.2 kB / 0.5659 GB, free: 0 / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001831/0.3355, allocations: 40.55 kB / 0.5659 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002397/0.3357, allocations: 123.6 kB / 0.566 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002339/0.336, allocations: 171.5 kB / 0.5662 GB, free: 15.67 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.803e-05/0.336, allocations: 27.94 kB / 0.5662 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002078/0.3381, allocations: 1.333 MB / 0.5675 GB, free: 14.3 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001569/0.3382, allocations: 119.7 kB / 0.5676 GB, free: 14.19 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001418/0.3384, allocations: 111.4 kB / 0.5677 GB, free: 14.08 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001414/0.3398, allocations: 1.108 MB / 0.5688 GB, free: 12.97 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.3398, allocations: 4 kB / 0.5688 GB, free: 12.97 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3398, allocations: 0 / 0.5688 GB, free: 12.97 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.305e-06/0.3398, allocations: 0 / 0.5688 GB, free: 12.97 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.001369/0.3412, allocations: 0.6638 MB / 0.5695 GB, free: 12.27 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.3412, allocations: 12.03 kB / 0.5695 GB, free: 12.26 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001991/0.3414, allocations: 44.69 kB / 0.5695 GB, free: 12.22 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003936/0.3418, allocations: 218.2 kB / 0.5697 GB, free: 11.98 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.305e-05/0.3418, allocations: 15.98 kB / 0.5697 GB, free: 11.97 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.866e-05/0.3419, allocations: 27.95 kB / 0.5698 GB, free: 11.94 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005437/0.3424, allocations: 323.1 kB / 0.5701 GB, free: 11.6 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.3425, allocations: 3.938 kB / 0.5701 GB, free: 11.6 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.61e-05/0.3425, allocations: 4 kB / 0.5701 GB, free: 11.59 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.3425, allocations: 4 kB / 0.5701 GB, free: 11.59 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000438/0.3429, allocations: 230.6 kB / 0.5703 GB, free: 11.37 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001277/0.3442, allocations: 0.6483 MB / 0.5709 GB, free: 10.68 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004989/0.3447, allocations: 284.9 kB / 0.5712 GB, free: 10.39 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000331/0.345, allocations: 185.6 kB / 0.5714 GB, free: 10.2 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.958e-05/0.3451, allocations: 4 kB / 0.5714 GB, free: 10.2 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.574e-05/0.3451, allocations: 38.55 kB / 0.5714 GB, free: 10.15 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 4.559e-06/0.3451, allocations: 4 kB / 0.5714 GB, free: 10.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.001084/0.3462, allocations: 0.5407 MB / 0.572 GB, free: 9.598 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.742e-05/0.3462, allocations: 81.11 kB / 0.572 GB, free: 9.5 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003757/0.3466, allocations: 352.6 kB / 0.5724 GB, free: 9.145 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.454e-05/0.3467, allocations: 33.64 kB / 0.5724 GB, free: 9.105 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.3468, allocations: 144.9 kB / 0.5725 GB, free: 8.957 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/0.3469, allocations: 103.1 kB / 0.5726 GB, free: 8.855 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001742/0.3471, allocations: 125.4 kB / 0.5728 GB, free: 8.727 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001765/0.3472, allocations: 350.8 kB / 0.5731 GB, free: 8.375 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004579/0.3477, allocations: 288.9 kB / 0.5734 GB, free: 8.094 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004854/0.3482, allocations: 340.1 kB / 0.5737 GB, free: 7.758 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003851/0.352, allocations: 1.753 MB / 0.5754 GB, free: 5.992 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/0.352, allocations: 4 kB / 0.5754 GB, free: 5.988 MB / 414.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001306/0.3533, allocations: 0.7685 MB / 0.5762 GB, free: 5.215 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.54e-05/0.3534, allocations: 8 kB / 0.5762 GB, free: 5.207 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.138e-05/0.3534, allocations: 7.984 kB / 0.5762 GB, free: 5.199 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.3534, allocations: 0 / 0.5762 GB, free: 5.199 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000526/0.3539, allocations: 99.81 kB / 0.5763 GB, free: 5.102 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.3539, allocations: 0 / 0.5763 GB, free: 5.102 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002403/0.3542, allocations: 79.28 kB / 0.5763 GB, free: 5.023 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.421e-05/0.3542, allocations: 12 kB / 0.5764 GB, free: 5.012 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.0002945/0.3545, allocations: 180.5 kB / 0.5765 GB, free: 4.836 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.621e-05/0.3546, allocations: 31.8 kB / 0.5766 GB, free: 4.805 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001116/0.3547, allocations: 34.72 kB / 0.5766 GB, free: 4.762 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.177e-06/0.3547, allocations: 7.938 kB / 0.5766 GB, free: 4.754 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.3547, allocations: 0 / 0.5766 GB, free: 4.754 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.695e-06/0.3547, allocations: 4 kB / 0.5766 GB, free: 4.75 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000399/0.3551, allocations: 241.1 kB / 0.5768 GB, free: 4.484 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.3551, allocations: 4 kB / 0.5768 GB, free: 4.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003726/0.3555, allocations: 51.91 kB / 0.5769 GB, free: 4.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.3555, allocations: 0 / 0.5769 GB, free: 4.43 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.114e-05/0.3556, allocations: 15.98 kB / 0.5769 GB, free: 4.414 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.3556, allocations: 0 / 0.5769 GB, free: 4.414 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.3556, allocations: 3.938 kB / 0.5769 GB, free: 4.41 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001108/0.3567, allocations: 0.7562 MB / 0.5776 GB, free: 3.633 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.812e-05/0.3567, allocations: 31.84 kB / 0.5777 GB, free: 3.602 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.876e-05/0.3568, allocations: 19.98 kB / 0.5777 GB, free: 3.582 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002268/0.357, allocations: 8 kB / 0.5777 GB, free: 3.574 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.701e-05/0.3571, allocations: 19.91 kB / 0.5777 GB, free: 3.555 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.782e-05/0.3571, allocations: 11.98 kB / 0.5777 GB, free: 3.543 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002274/0.3573, allocations: 223 kB / 0.5779 GB, free: 3.324 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3573, allocations: 0 / 0.5779 GB, free: 3.324 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008093/0.3581, allocations: 247.7 kB / 0.5782 GB, free: 3.082 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 16 (padeDelay2a.x[1],padeDelay2a.x[2],padeDelay2a.x[3],padeDelay2a.x[4],padeDelay2b.x[1],padeDelay2b.x[2],padeDelay2b.x[3],padeDelay2b.x[4],padeDelay1b.x[1],padeDelay1b.x[2],padeDelay1b.x[3],padeDelay1b.x[4],padeDelay1a.x[1],padeDelay1a.x[2],padeDelay1a.x[3],padeDelay1a.x[4]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * 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 Backend phase and start with SimCode phase: time 0.0005409/0.3587, allocations: 254.8 kB / 0.5784 GB, free: 2.824 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001032/0.3597, allocations: 0.6662 MB / 0.5791 GB, free: 2.133 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3597, allocations: 0 / 0.5791 GB, free: 2.133 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003349/0.3601, allocations: 191.8 kB / 0.5793 GB, free: 1.945 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005061/0.3606, allocations: 49.05 kB / 0.5793 GB, free: 1.898 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001416/0.362, allocations: 0.9473 MB / 0.5802 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002202/0.3622, allocations: 195.8 kB / 0.5804 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001808/0.3624, allocations: 66.25 kB / 0.5805 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001042/0.3625, allocations: 31.36 kB / 0.5805 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3625, allocations: 4 kB / 0.5805 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of Templates: time 0.01318/0.3757, allocations: 6.955 MB / 0.5873 GB, free: 9.695 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 -s gbode -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.4623192900035065]