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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|padeDelay1a.y|padeDelay1b.y|padeDelay2a.y|padeDelay2b.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 113.3 kB / 17.78 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 179.9 kB / 18.71 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2014/0.2014, allocations: 44.19 MB / 336.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 71.89 kB / 470.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3702/0.3715, allocations: 60.82 MB / 0.5189 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.002956/0.3744, allocations: 1.848 MB / 0.5207 GB, free: 2.312 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002127/0.3766, allocations: 1.334 MB / 0.522 GB, free: 1.422 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001607/0.3767, allocations: 6.25 kB / 0.522 GB, free: 1.418 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001582/0.3769, allocations: 31.22 kB / 0.522 GB, free: 1.398 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001186/0.377, allocations: 34.55 kB / 0.5221 GB, free: 1.371 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001763/0.3788, allocations: 0.5594 MB / 0.5226 GB, free: 1.168 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000377/0.3791, allocations: 280.8 kB / 0.5229 GB, free: 1.059 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.3793, allocations: 36.53 kB / 0.5229 GB, free: 1.039 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002081/0.3795, allocations: 114.4 kB / 0.523 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002688/0.3797, allocations: 174.6 kB / 0.5232 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.849e-05/0.3798, allocations: 22.72 kB / 0.5232 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001293/0.3811, allocations: 0.8086 MB / 0.524 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001436/0.3812, allocations: 109.8 kB / 0.5241 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001543/0.3814, allocations: 142.8 kB / 0.5243 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001511/0.3829, allocations: 1.073 MB / 0.5253 GB, free: 15.93 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3829, allocations: 1.25 kB / 0.5253 GB, free: 15.93 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3829, allocations: 7.938 kB / 0.5253 GB, free: 15.93 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.146e-06/0.3829, allocations: 0 / 0.5253 GB, free: 15.93 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.001412/0.3843, allocations: 0.734 MB / 0.526 GB, free: 15.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.3844, allocations: 13.56 kB / 0.526 GB, free: 15.31 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.779e-05/0.3845, allocations: 37.08 kB / 0.5261 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003343/0.3848, allocations: 273.5 kB / 0.5263 GB, free: 15.03 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.09e-05/0.3848, allocations: 10.88 kB / 0.5263 GB, free: 15.02 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.811e-05/0.3849, allocations: 31.06 kB / 0.5264 GB, free: 15.01 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005165/0.3854, allocations: 282.3 kB / 0.5266 GB, free: 14.82 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.3854, allocations: 0 / 0.5266 GB, free: 14.82 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.789e-05/0.3855, allocations: 6.75 kB / 0.5266 GB, free: 14.82 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.156e-06/0.3855, allocations: 2.75 kB / 0.5267 GB, free: 14.82 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004417/0.3859, allocations: 224.5 kB / 0.5269 GB, free: 14.71 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001247/0.3872, allocations: 0.7553 MB / 0.5276 GB, free: 14.09 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004839/0.3876, allocations: 288.7 kB / 0.5279 GB, free: 13.92 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003058/0.3879, allocations: 189 kB / 0.5281 GB, free: 13.81 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.538e-05/0.388, allocations: 2.625 kB / 0.5281 GB, free: 13.81 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/0.388, allocations: 44.81 kB / 0.5281 GB, free: 13.76 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 1.673e-06/0.388, allocations: 0 / 0.5281 GB, free: 13.76 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.001096/0.3891, allocations: 0.5337 MB / 0.5286 GB, free: 13.48 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.196e-05/0.3892, allocations: 84.52 kB / 0.5287 GB, free: 13.38 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004088/0.3896, allocations: 348.7 kB / 0.529 GB, free: 13.15 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.287e-05/0.3896, allocations: 30.83 kB / 0.5291 GB, free: 13.12 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.3897, allocations: 147.8 kB / 0.5292 GB, free: 12.98 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.164e-05/0.3898, allocations: 99.17 kB / 0.5293 GB, free: 12.89 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001966/0.39, allocations: 122.5 kB / 0.5294 GB, free: 12.82 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.3902, allocations: 357.1 kB / 0.5298 GB, free: 12.48 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005224/0.3907, allocations: 287.6 kB / 0.53 GB, free: 12.34 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005445/0.3912, allocations: 338.1 kB / 0.5304 GB, free: 12.17 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003558/0.3948, allocations: 1.756 MB / 0.5321 GB, free: 11.3 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.3948, allocations: 0 / 0.5321 GB, free: 11.3 MB / 398.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001143/0.3959, allocations: 0.7604 MB / 0.5328 GB, free: 10.93 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.396, allocations: 9.078 kB / 0.5328 GB, free: 10.92 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.67e-05/0.396, allocations: 6.5 kB / 0.5328 GB, free: 10.92 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-05/0.396, allocations: 5.062 kB / 0.5328 GB, free: 10.92 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005002/0.3965, allocations: 92.78 kB / 0.5329 GB, free: 10.9 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.2e-05/0.3965, allocations: 6.281 kB / 0.5329 GB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002448/0.3968, allocations: 81.94 kB / 0.533 GB, free: 10.83 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.3e-05/0.3968, allocations: 8.531 kB / 0.533 GB, free: 10.83 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.0002863/0.3971, allocations: 181.5 kB / 0.5332 GB, free: 10.67 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.44e-05/0.3972, allocations: 33.89 kB / 0.5332 GB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.381e-05/0.3973, allocations: 41.97 kB / 0.5333 GB, free: 10.6 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.3973, allocations: 7.125 kB / 0.5333 GB, free: 10.59 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.3973, allocations: 0 / 0.5333 GB, free: 10.59 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.3973, allocations: 5.109 kB / 0.5333 GB, free: 10.59 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004287/0.3977, allocations: 338.4 kB / 0.5336 GB, free: 10.28 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.3977, allocations: 1.281 kB / 0.5336 GB, free: 10.28 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003635/0.3981, allocations: 47.84 kB / 0.5336 GB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.3981, allocations: 1.25 kB / 0.5336 GB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.686e-05/0.3981, allocations: 18.34 kB / 0.5337 GB, free: 10.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.3981, allocations: 5.109 kB / 0.5337 GB, free: 10.25 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.3981, allocations: 5.219 kB / 0.5337 GB, free: 10.25 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001152/0.3993, allocations: 0.7425 MB / 0.5344 GB, free: 9.766 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.797e-05/0.3994, allocations: 109 kB / 0.5345 GB, free: 9.648 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.31e-05/0.3994, allocations: 17.86 kB / 0.5345 GB, free: 9.637 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000225/0.3996, allocations: 8.594 kB / 0.5345 GB, free: 9.633 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.234e-05/0.3997, allocations: 20.12 kB / 0.5345 GB, free: 9.621 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.549e-05/0.3998, allocations: 9.719 kB / 0.5346 GB, free: 9.617 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002516/0.4, allocations: 220.3 kB / 0.5348 GB, free: 9.473 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4, allocations: 0 / 0.5348 GB, free: 9.473 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001411/0.4014, allocations: 247.7 kB / 0.535 GB, free: 9.441 MB / 398.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.0005952/0.402, allocations: 253.3 kB / 0.5352 GB, free: 9.301 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001045/0.4031, allocations: 0.6691 MB / 0.5359 GB, free: 8.922 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.4031, allocations: 0 / 0.5359 GB, free: 8.922 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003207/0.4034, allocations: 188.3 kB / 0.5361 GB, free: 8.836 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004857/0.4039, allocations: 49.08 kB / 0.5361 GB, free: 8.805 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001315/0.4052, allocations: 0.9461 MB / 0.537 GB, free: 8.195 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003712/0.4055, allocations: 0.8068 MB / 0.5378 GB, free: 7.438 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001843/0.4057, allocations: 76.06 kB / 0.5379 GB, free: 7.406 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/0.4058, allocations: 21.19 kB / 0.5379 GB, free: 7.398 MB / 398.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4058, allocations: 1.094 kB / 0.5379 GB, free: 7.398 MB / 398.1 MB Notification: Performance of Templates: time 0.01193/0.4178, allocations: 6.574 MB / 0.5443 GB, free: 1.594 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.makefile (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) 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) Reference file matches