Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001743/0.001743, allocations: 107.9 kB / 19.8 MB, free: 2.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001501/0.001501, allocations: 192.3 kB / 22.98 MB, free: 5.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 225.6 MB / 251.6 MB, free: 13.31 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2343/0.2343, allocations: 44.92 MB / 351.6 MB, free: 12.21 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_ModelicaTest.Blocks.PadeDelay2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002683/0.002683, allocations: 67.89 kB / 495.2 MB, free: 1.859 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4046/0.4073, allocations: 64.24 MB / 0.5464 GB, free: 13.2 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.00313/0.4104, allocations: 1.863 MB / 0.5482 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002088/0.4125, allocations: 1.353 MB / 0.5495 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.419e-05/0.4126, allocations: 5.375 kB / 0.5495 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001592/0.4127, allocations: 30.81 kB / 0.5495 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.743e-05/0.4128, allocations: 31.47 kB / 0.5496 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001486/0.4143, allocations: 0.5659 MB / 0.5501 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003427/0.4146, allocations: 274.6 kB / 0.5504 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001296/0.4147, allocations: 32.67 kB / 0.5504 GB, free: 10.08 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001712/0.4149, allocations: 112.7 kB / 0.5505 GB, free: 10.01 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002359/0.4152, allocations: 179.6 kB / 0.5507 GB, free: 9.902 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.793e-05/0.4152, allocations: 23.66 kB / 0.5507 GB, free: 9.902 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001422/0.4166, allocations: 0.932 MB / 0.5516 GB, free: 9.328 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001735/0.4168, allocations: 113.5 kB / 0.5517 GB, free: 9.258 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001674/0.417, allocations: 136.6 kB / 0.5519 GB, free: 9.156 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001432/0.4184, allocations: 1.081 MB / 0.5529 GB, free: 8.484 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.4184, allocations: 4 kB / 0.5529 GB, free: 8.48 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4184, allocations: 1 kB / 0.5529 GB, free: 8.48 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.091e-05/0.4184, allocations: 0 / 0.5529 GB, free: 8.48 MB / 398.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.001291/0.4197, allocations: 0.7381 MB / 0.5536 GB, free: 7.867 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.4197, allocations: 13.38 kB / 0.5537 GB, free: 7.863 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.988e-05/0.4198, allocations: 33.48 kB / 0.5537 GB, free: 7.844 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003261/0.4201, allocations: 270.1 kB / 0.554 GB, free: 7.59 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.002e-05/0.4202, allocations: 14.84 kB / 0.554 GB, free: 7.582 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.83e-05/0.4202, allocations: 33.72 kB / 0.554 GB, free: 7.562 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005036/0.4207, allocations: 275.4 kB / 0.5543 GB, free: 7.387 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.4207, allocations: 0 / 0.5543 GB, free: 7.387 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.701e-05/0.4208, allocations: 5.062 kB / 0.5543 GB, free: 7.383 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.4208, allocations: 8.438 kB / 0.5543 GB, free: 7.379 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004362/0.4212, allocations: 219.1 kB / 0.5545 GB, free: 7.281 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001281/0.4225, allocations: 0.7552 MB / 0.5552 GB, free: 6.613 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004691/0.423, allocations: 288.9 kB / 0.5555 GB, free: 6.312 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003072/0.4233, allocations: 189.6 kB / 0.5557 GB, free: 6.121 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.224e-05/0.4233, allocations: 4 kB / 0.5557 GB, free: 6.117 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.621e-05/0.4233, allocations: 42.44 kB / 0.5557 GB, free: 6.066 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 1.423e-06/0.4233, allocations: 0 / 0.5557 GB, free: 6.066 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.001018/0.4244, allocations: 0.5372 MB / 0.5562 GB, free: 5.523 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.381e-05/0.4244, allocations: 81.05 kB / 0.5563 GB, free: 5.426 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003679/0.4248, allocations: 356.6 kB / 0.5567 GB, free: 5.066 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.012e-05/0.4248, allocations: 33.7 kB / 0.5567 GB, free: 5.027 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.4249, allocations: 140.9 kB / 0.5568 GB, free: 4.887 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/0.425, allocations: 103.1 kB / 0.5569 GB, free: 4.785 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001718/0.4252, allocations: 121.7 kB / 0.557 GB, free: 4.66 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001899/0.4254, allocations: 350.8 kB / 0.5574 GB, free: 4.309 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004315/0.4258, allocations: 288.8 kB / 0.5577 GB, free: 4.027 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004728/0.4263, allocations: 339.5 kB / 0.558 GB, free: 3.688 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003436/0.4297, allocations: 1.756 MB / 0.5597 GB, free: 1.922 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.4297, allocations: 0 / 0.5597 GB, free: 1.922 MB / 398.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001162/0.4309, allocations: 0.7621 MB / 0.5604 GB, free: 1.152 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.4309, allocations: 8 kB / 0.5604 GB, free: 1.145 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.39e-05/0.4309, allocations: 4 kB / 0.5604 GB, free: 1.141 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.431, allocations: 7.922 kB / 0.5605 GB, free: 1.133 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004835/0.4314, allocations: 99.88 kB / 0.5606 GB, free: 1.035 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.4315, allocations: 7.938 kB / 0.5606 GB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002064/0.4317, allocations: 71.34 kB / 0.5606 GB, free: 0.957 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.282e-05/0.4317, allocations: 12 kB / 0.5606 GB, free: 0.9453 MB / 398.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.0002947/0.432, allocations: 184.6 kB / 0.5608 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.747e-05/0.4321, allocations: 31.75 kB / 0.5608 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001041/0.4322, allocations: 42.66 kB / 0.5609 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.4322, allocations: 4 kB / 0.5609 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-05/0.4322, allocations: 4 kB / 0.5609 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/0.4322, allocations: 3.984 kB / 0.5609 GB, free: 0.668 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004547/0.4327, allocations: 341.3 kB / 0.5612 GB, free: 292 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.4327, allocations: 0 / 0.5612 GB, free: 292 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000352/0.433, allocations: 47.97 kB / 0.5613 GB, free: 244 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.433, allocations: 3.938 kB / 0.5613 GB, free: 240 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.192e-05/0.4331, allocations: 19.92 kB / 0.5613 GB, free: 220 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.4331, allocations: 4 kB / 0.5613 GB, free: 216 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.4331, allocations: 3.984 kB / 0.5613 GB, free: 212 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001153/0.4342, allocations: 0.7409 MB / 0.562 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.687e-05/0.4343, allocations: 109 kB / 0.5621 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.841e-05/0.4344, allocations: 19.92 kB / 0.5621 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002075/0.4346, allocations: 12 kB / 0.5622 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.536e-05/0.4346, allocations: 19.97 kB / 0.5622 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.301e-05/0.4347, allocations: 4 kB / 0.5622 GB, free: 15.27 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002606/0.4349, allocations: 219 kB / 0.5624 GB, free: 15.05 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4349, allocations: 0 / 0.5624 GB, free: 15.05 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001317/0.4362, allocations: 255.7 kB / 0.5626 GB, free: 14.8 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.0005471/0.4368, allocations: 250.8 kB / 0.5629 GB, free: 14.55 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001055/0.4378, allocations: 0.6633 MB / 0.5635 GB, free: 13.86 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.4378, allocations: 0 / 0.5635 GB, free: 13.86 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003141/0.4382, allocations: 191.8 kB / 0.5637 GB, free: 13.68 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000482/0.4386, allocations: 41 kB / 0.5637 GB, free: 13.64 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001432/0.4401, allocations: 0.9541 MB / 0.5647 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004791/0.4405, allocations: 0.8066 MB / 0.5655 GB, free: 11.82 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001934/0.4407, allocations: 74.23 kB / 0.5655 GB, free: 11.75 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.493e-05/0.4408, allocations: 19.44 kB / 0.5655 GB, free: 11.73 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4408, allocations: 0 / 0.5655 GB, free: 11.73 MB / 414.1 MB Notification: Performance of Templates: time 0.01329/0.4541, allocations: 6.624 MB / 0.572 GB, free: 5.129 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/PadeDelay2/PadeDelay2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.7863165913149714]