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.00175/0.00175, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002427/0.002427, allocations: 210.5 kB / 23.74 MB, free: 4.672 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.666/1.666, allocations: 230.6 MB / 257.5 MB, free: 7.992 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.2453/0.2453, allocations: 46.93 MB / 360.8 MB, free: 4.254 MB / 286.1 MB " [Timeout remaining time 179] 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.002346/0.002346, allocations: 55.91 kB / 0.4966 GB, free: 7.398 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3711/0.3734, allocations: 66.04 MB / 0.5611 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.003449/0.3769, allocations: 1.871 MB / 0.5629 GB, free: 2.516 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002386/0.3793, allocations: 1.428 MB / 0.5643 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.126e-05/0.3793, allocations: 7.938 kB / 0.5644 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001362/0.3795, allocations: 27.72 kB / 0.5644 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.87e-05/0.3795, allocations: 27.72 kB / 0.5644 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001794/0.3813, allocations: 0.6897 MB / 0.5651 GB, free: 336 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004369/0.3818, allocations: 303.2 kB / 0.5654 GB, free: 32 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001447/0.3819, allocations: 36.61 kB / 0.5654 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002405/0.3822, allocations: 131.5 kB / 0.5655 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002515/0.3824, allocations: 167.5 kB / 0.5657 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.438e-05/0.3825, allocations: 28 kB / 0.5657 GB, free: 15.67 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00218/0.3846, allocations: 1.364 MB / 0.567 GB, free: 14.3 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001546/0.3848, allocations: 119.6 kB / 0.5672 GB, free: 14.19 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001437/0.3849, allocations: 143.2 kB / 0.5673 GB, free: 14.05 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001285/0.3862, allocations: 1.108 MB / 0.5684 GB, free: 12.94 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.3862, allocations: 0 / 0.5684 GB, free: 12.94 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.3862, allocations: 0 / 0.5684 GB, free: 12.94 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.3862, allocations: 0 / 0.5684 GB, free: 12.94 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.001289/0.3875, allocations: 0.6676 MB / 0.569 GB, free: 12.24 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.3875, allocations: 12.03 kB / 0.569 GB, free: 12.23 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001854/0.3877, allocations: 36.7 kB / 0.5691 GB, free: 12.2 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000409/0.3881, allocations: 226.2 kB / 0.5693 GB, free: 11.95 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2e-05/0.3882, allocations: 12 kB / 0.5693 GB, free: 11.94 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.735e-05/0.3882, allocations: 35.89 kB / 0.5693 GB, free: 11.91 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005192/0.3888, allocations: 267.7 kB / 0.5696 GB, free: 11.63 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.3888, allocations: 0 / 0.5696 GB, free: 11.63 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.655e-05/0.3888, allocations: 7.984 kB / 0.5696 GB, free: 11.62 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/0.3888, allocations: 4 kB / 0.5696 GB, free: 11.62 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004392/0.3892, allocations: 219.8 kB / 0.5698 GB, free: 11.41 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001288/0.3905, allocations: 0.7296 MB / 0.5705 GB, free: 10.63 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004876/0.391, allocations: 288.8 kB / 0.5708 GB, free: 10.33 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002931/0.3913, allocations: 189.6 kB / 0.571 GB, free: 10.14 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.153e-05/0.3913, allocations: 4 kB / 0.571 GB, free: 10.13 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.496e-05/0.3914, allocations: 42.44 kB / 0.571 GB, free: 10.08 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 1.293e-06/0.3914, allocations: 0 / 0.571 GB, free: 10.08 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.001011/0.3924, allocations: 0.5327 MB / 0.5715 GB, free: 9.543 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.434e-05/0.3924, allocations: 85.05 kB / 0.5716 GB, free: 9.441 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003709/0.3928, allocations: 356.6 kB / 0.572 GB, free: 9.082 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.612e-05/0.3928, allocations: 29.7 kB / 0.572 GB, free: 9.047 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.957e-05/0.3929, allocations: 137 kB / 0.5721 GB, free: 8.906 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.757e-05/0.393, allocations: 115 kB / 0.5722 GB, free: 8.793 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001642/0.3932, allocations: 125.4 kB / 0.5724 GB, free: 8.664 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.3934, allocations: 350.7 kB / 0.5727 GB, free: 8.312 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004371/0.3938, allocations: 288.8 kB / 0.573 GB, free: 8.031 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004738/0.3943, allocations: 340.2 kB / 0.5733 GB, free: 7.695 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00362/0.3979, allocations: 1.753 MB / 0.575 GB, free: 5.93 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3979, allocations: 0 / 0.575 GB, free: 5.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001209/0.3991, allocations: 0.766 MB / 0.5758 GB, free: 5.156 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.3991, allocations: 4 kB / 0.5758 GB, free: 5.152 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.279e-05/0.3991, allocations: 8 kB / 0.5758 GB, free: 5.145 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.3992, allocations: 3.938 kB / 0.5758 GB, free: 5.141 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004939/0.3997, allocations: 99.86 kB / 0.5759 GB, free: 5.043 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.249e-05/0.3997, allocations: 7.938 kB / 0.5759 GB, free: 5.035 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001913/0.3999, allocations: 71.33 kB / 0.5759 GB, free: 4.965 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.177e-05/0.3999, allocations: 16 kB / 0.576 GB, free: 4.949 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.0002469/0.4001, allocations: 177.7 kB / 0.5761 GB, free: 4.773 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.583e-05/0.4002, allocations: 23.81 kB / 0.5761 GB, free: 4.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001168/0.4003, allocations: 46.64 kB / 0.5762 GB, free: 4.695 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.219e-06/0.4003, allocations: 4 kB / 0.5762 GB, free: 4.691 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.4003, allocations: 0 / 0.5762 GB, free: 4.691 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.4003, allocations: 4 kB / 0.5762 GB, free: 4.688 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004504/0.4008, allocations: 308.4 kB / 0.5765 GB, free: 4.344 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.4008, allocations: 0 / 0.5765 GB, free: 4.344 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003607/0.4012, allocations: 51.91 kB / 0.5765 GB, free: 4.293 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.4012, allocations: 0 / 0.5765 GB, free: 4.293 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.863e-05/0.4012, allocations: 19.92 kB / 0.5766 GB, free: 4.273 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.4012, allocations: 0 / 0.5766 GB, free: 4.273 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.4012, allocations: 0 / 0.5766 GB, free: 4.273 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0011/0.4023, allocations: 0.7548 MB / 0.5773 GB, free: 3.5 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.06e-05/0.4024, allocations: 31.84 kB / 0.5773 GB, free: 3.469 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.506e-05/0.4024, allocations: 19.92 kB / 0.5773 GB, free: 3.449 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000238/0.4026, allocations: 15.98 kB / 0.5774 GB, free: 3.434 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.249e-05/0.4027, allocations: 11.97 kB / 0.5774 GB, free: 3.422 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.589e-05/0.4027, allocations: 12 kB / 0.5774 GB, free: 3.41 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002336/0.403, allocations: 223 kB / 0.5776 GB, free: 3.191 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.403, allocations: 0 / 0.5776 GB, free: 3.191 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007914/0.4038, allocations: 255.6 kB / 0.5778 GB, free: 2.941 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.0004984/0.4043, allocations: 250.8 kB / 0.5781 GB, free: 2.688 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001035/0.4053, allocations: 0.6675 MB / 0.5787 GB, free: 1.996 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4053, allocations: 0 / 0.5787 GB, free: 1.996 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003402/0.4056, allocations: 199.9 kB / 0.5789 GB, free: 1.801 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004787/0.4061, allocations: 48.94 kB / 0.579 GB, free: 1.754 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001418/0.4075, allocations: 0.9509 MB / 0.5799 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005035/0.408, allocations: 0.8068 MB / 0.5807 GB, free: 15.94 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00017/0.4082, allocations: 66.23 kB / 0.5807 GB, free: 15.88 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.807e-05/0.4083, allocations: 23.44 kB / 0.5808 GB, free: 15.85 MB / 430.1 MB Notification: Performance of SimCode: time 4.81e-07/0.4083, allocations: 4 kB / 0.5808 GB, free: 15.85 MB / 430.1 MB Notification: Performance of Templates: time 0.01331/0.4216, allocations: 6.736 MB / 0.5874 GB, free: 9.145 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/PadeDelay2/PadeDelay2.csv","/var/lib/jenkins/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: 6.192760722944513]