Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Blocks.PadeDelay2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001073/0.001073, allocations: 118.1 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001158/0.001158, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.486/1.486, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2536/0.2536, allocations: 46.11 MB / 344.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001693/0.001693, allocations: 75.88 kB / 481.3 MB, free: 4.047 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.492/0.4937, allocations: 62.44 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.005185/0.499, allocations: 1.855 MB / 0.5328 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003438/0.5024, allocations: 1.402 MB / 0.5342 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001976/0.5027, allocations: 2.75 kB / 0.5342 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002375/0.5029, allocations: 38.34 kB / 0.5342 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001303/0.5031, allocations: 30.45 kB / 0.5342 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002868/0.506, allocations: 0.5718 MB / 0.5348 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006077/0.5066, allocations: 282.3 kB / 0.5351 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002308/0.5069, allocations: 46.77 kB / 0.5351 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003858/0.5073, allocations: 117 kB / 0.5352 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004168/0.5077, allocations: 169.7 kB / 0.5354 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.363e-05/0.5078, allocations: 23.38 kB / 0.5354 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00223/0.51, allocations: 0.8238 MB / 0.5362 GB, free: 9.781 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002482/0.5103, allocations: 116.1 kB / 0.5363 GB, free: 9.707 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002602/0.5106, allocations: 141.3 kB / 0.5365 GB, free: 9.602 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002586/0.5132, allocations: 1.075 MB / 0.5375 GB, free: 8.938 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.5132, allocations: 0 / 0.5375 GB, free: 8.938 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.015e-06/0.5132, allocations: 0 / 0.5375 GB, free: 8.938 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.119e-05/0.5132, allocations: 1.188 kB / 0.5375 GB, free: 8.938 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.002079/0.5153, allocations: 0.7457 MB / 0.5382 GB, free: 8.316 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.876e-05/0.5154, allocations: 9.969 kB / 0.5382 GB, free: 8.316 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002887/0.5157, allocations: 38.98 kB / 0.5383 GB, free: 8.297 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005361/0.5162, allocations: 287.5 kB / 0.5386 GB, free: 8.023 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.496e-05/0.5163, allocations: 11.19 kB / 0.5386 GB, free: 8.02 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/0.5164, allocations: 30.16 kB / 0.5386 GB, free: 8.004 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007806/0.5172, allocations: 270 kB / 0.5388 GB, free: 7.832 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.5172, allocations: 1.406 kB / 0.5388 GB, free: 7.832 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.462e-05/0.5172, allocations: 5.719 kB / 0.5389 GB, free: 7.828 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.44e-05/0.5173, allocations: 10.8 kB / 0.5389 GB, free: 7.82 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006606/0.5179, allocations: 219.7 kB / 0.5391 GB, free: 7.719 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001927/0.5199, allocations: 0.7597 MB / 0.5398 GB, free: 7.09 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009456/0.5208, allocations: 287.8 kB / 0.5401 GB, free: 6.922 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005821/0.5214, allocations: 191.8 kB / 0.5403 GB, free: 6.816 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.329e-05/0.5215, allocations: 6.281 kB / 0.5403 GB, free: 6.812 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.444e-05/0.5216, allocations: 36.56 kB / 0.5403 GB, free: 6.77 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 3.026e-06/0.5216, allocations: 0.8438 kB / 0.5403 GB, free: 6.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.001686/0.5233, allocations: 0.5376 MB / 0.5408 GB, free: 6.484 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.83e-05/0.5234, allocations: 80.58 kB / 0.5409 GB, free: 6.391 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007311/0.5241, allocations: 349.4 kB / 0.5413 GB, free: 6.16 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.889e-05/0.5242, allocations: 36.14 kB / 0.5413 GB, free: 6.121 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002064/0.5244, allocations: 144.2 kB / 0.5414 GB, free: 5.988 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001673/0.5246, allocations: 110.2 kB / 0.5415 GB, free: 5.891 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003927/0.525, allocations: 126.3 kB / 0.5416 GB, free: 5.816 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002484/0.5252, allocations: 345.3 kB / 0.542 GB, free: 5.48 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007966/0.5261, allocations: 286.8 kB / 0.5423 GB, free: 5.348 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008119/0.5269, allocations: 346.9 kB / 0.5426 GB, free: 5.164 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005418/0.5323, allocations: 1.751 MB / 0.5443 GB, free: 3.848 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.5323, allocations: 0 / 0.5443 GB, free: 3.848 MB / 398.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001684/0.534, allocations: 0.766 MB / 0.545 GB, free: 3.074 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.843e-05/0.5341, allocations: 15.92 kB / 0.5451 GB, free: 3.059 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.885e-05/0.5341, allocations: 4 kB / 0.5451 GB, free: 3.055 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.979e-05/0.5342, allocations: 7.938 kB / 0.5451 GB, free: 3.047 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006566/0.5348, allocations: 95.88 kB / 0.5452 GB, free: 2.953 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.929e-05/0.5349, allocations: 4 kB / 0.5452 GB, free: 2.949 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003661/0.5352, allocations: 71.34 kB / 0.5452 GB, free: 2.879 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-05/0.5353, allocations: 8 kB / 0.5452 GB, free: 2.871 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.0004322/0.5357, allocations: 185.5 kB / 0.5454 GB, free: 2.684 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001333/0.5359, allocations: 31.8 kB / 0.5454 GB, free: 2.652 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001685/0.5361, allocations: 46.66 kB / 0.5455 GB, free: 2.598 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.5361, allocations: 0 / 0.5455 GB, free: 2.598 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.096e-05/0.5361, allocations: 4 kB / 0.5455 GB, free: 2.594 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.216e-05/0.5361, allocations: 3.984 kB / 0.5455 GB, free: 2.59 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000675/0.5368, allocations: 337.3 kB / 0.5458 GB, free: 2.211 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.5368, allocations: 4 kB / 0.5458 GB, free: 2.207 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004833/0.5373, allocations: 51.91 kB / 0.5459 GB, free: 2.156 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.104e-05/0.5373, allocations: 4 kB / 0.5459 GB, free: 2.152 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.654e-05/0.5374, allocations: 15.92 kB / 0.5459 GB, free: 2.137 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.745e-06/0.5374, allocations: 4 kB / 0.5459 GB, free: 2.133 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.5374, allocations: 0 / 0.5459 GB, free: 2.133 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001525/0.539, allocations: 0.7523 MB / 0.5466 GB, free: 1.363 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001394/0.5391, allocations: 109 kB / 0.5467 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.031e-05/0.5392, allocations: 19.92 kB / 0.5468 GB, free: 1.219 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003075/0.5395, allocations: 8 kB / 0.5468 GB, free: 1.211 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/0.5396, allocations: 15.97 kB / 0.5468 GB, free: 1.195 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.542e-05/0.5397, allocations: 8 kB / 0.5468 GB, free: 1.188 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003414/0.54, allocations: 223 kB / 0.547 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5401, allocations: 0 / 0.547 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001549/0.5416, allocations: 255.7 kB / 0.5472 GB, free: 0.7188 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.001213/0.5428, allocations: 252.5 kB / 0.5475 GB, free: 476 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001507/0.5444, allocations: 0.7365 MB / 0.5482 GB, free: 15.7 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/0.5444, allocations: 0 / 0.5482 GB, free: 15.7 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004579/0.5448, allocations: 200 kB / 0.5484 GB, free: 15.51 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007044/0.5456, allocations: 50.42 kB / 0.5484 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002048/0.5476, allocations: 0.9379 MB / 0.5494 GB, free: 14.5 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006474/0.5483, allocations: 0.8067 MB / 0.5501 GB, free: 13.66 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003078/0.5486, allocations: 74.22 kB / 0.5502 GB, free: 13.59 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001412/0.5488, allocations: 23.44 kB / 0.5502 GB, free: 13.56 MB / 414.1 MB Notification: Performance of SimCode: time 1.293e-06/0.5488, allocations: 0 / 0.5502 GB, free: 13.56 MB / 414.1 MB Notification: Performance of Templates: time 0.01922/0.568, allocations: 6.565 MB / 0.5566 GB, free: 7.012 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Blocks.PadeDelay2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches