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.001264/0.001264, allocations: 114.2 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001329/0.001329, allocations: 210.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.328/1.328, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.201/0.201, allocations: 46.1 MB / 345 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 79.88 kB / 482 MB, free: 4.109 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2894/0.2908, allocations: 62.44 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.00266/0.2935, allocations: 1.853 MB / 0.5335 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001867/0.2954, allocations: 1.41 MB / 0.5348 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.166e-05/0.2955, allocations: 2.75 kB / 0.5348 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001591/0.2956, allocations: 30.47 kB / 0.5349 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.645e-05/0.2957, allocations: 34.41 kB / 0.5349 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00127/0.297, allocations: 0.5645 MB / 0.5355 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002776/0.2973, allocations: 288 kB / 0.5357 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.2974, allocations: 42.09 kB / 0.5358 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002126/0.2976, allocations: 126.9 kB / 0.5359 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000204/0.2978, allocations: 173.8 kB / 0.5361 GB, free: 10.26 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.579e-05/0.2979, allocations: 22.88 kB / 0.5361 GB, free: 10.26 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001179/0.2991, allocations: 0.816 MB / 0.5369 GB, free: 9.781 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001241/0.2992, allocations: 111.8 kB / 0.537 GB, free: 9.711 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001365/0.2994, allocations: 149 kB / 0.5371 GB, free: 9.598 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001135/0.3005, allocations: 1.073 MB / 0.5382 GB, free: 8.938 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.3005, allocations: 4.969 kB / 0.5382 GB, free: 8.934 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3005, allocations: 0 / 0.5382 GB, free: 8.934 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.3005, allocations: 0 / 0.5382 GB, free: 8.934 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.001141/0.3017, allocations: 0.7253 MB / 0.5389 GB, free: 8.336 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.3017, allocations: 7.906 kB / 0.5389 GB, free: 8.336 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001861/0.3019, allocations: 38.86 kB / 0.5389 GB, free: 8.316 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003599/0.3023, allocations: 286.7 kB / 0.5392 GB, free: 8.043 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.3023, allocations: 15.19 kB / 0.5392 GB, free: 8.035 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.111e-05/0.3024, allocations: 27.72 kB / 0.5392 GB, free: 8.023 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004673/0.3028, allocations: 277.4 kB / 0.5395 GB, free: 7.844 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.3029, allocations: 0 / 0.5395 GB, free: 7.844 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.697e-05/0.3029, allocations: 6.094 kB / 0.5395 GB, free: 7.84 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.3029, allocations: 4.281 kB / 0.5395 GB, free: 7.84 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004094/0.3033, allocations: 215.8 kB / 0.5397 GB, free: 7.742 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001228/0.3046, allocations: 0.7473 MB / 0.5405 GB, free: 7.125 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004333/0.305, allocations: 295.8 kB / 0.5407 GB, free: 6.949 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003041/0.3053, allocations: 192.1 kB / 0.5409 GB, free: 6.844 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.595e-05/0.3054, allocations: 2.188 kB / 0.5409 GB, free: 6.844 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/0.3054, allocations: 44.72 kB / 0.541 GB, free: 6.793 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 3.086e-06/0.3054, allocations: 0 / 0.541 GB, free: 6.793 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.001006/0.3064, allocations: 0.5379 MB / 0.5415 GB, free: 6.508 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.717e-05/0.3065, allocations: 79.98 kB / 0.5416 GB, free: 6.414 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003252/0.3068, allocations: 354 kB / 0.5419 GB, free: 6.18 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.706e-05/0.3068, allocations: 30.86 kB / 0.5419 GB, free: 6.145 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.395e-05/0.3069, allocations: 147.7 kB / 0.5421 GB, free: 6.008 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.775e-05/0.307, allocations: 97.91 kB / 0.5422 GB, free: 5.922 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001576/0.3072, allocations: 127.5 kB / 0.5423 GB, free: 5.848 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.3073, allocations: 348.5 kB / 0.5426 GB, free: 5.508 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004117/0.3078, allocations: 287.7 kB / 0.5429 GB, free: 5.375 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004491/0.3082, allocations: 337.7 kB / 0.5432 GB, free: 5.199 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003453/0.3117, allocations: 1.768 MB / 0.5449 GB, free: 3.883 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.3117, allocations: 0 / 0.5449 GB, free: 3.883 MB / 398.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001064/0.3128, allocations: 0.7614 MB / 0.5457 GB, free: 3.117 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.3128, allocations: 8 kB / 0.5457 GB, free: 3.109 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.14e-05/0.3128, allocations: 4 kB / 0.5457 GB, free: 3.105 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.3128, allocations: 11.94 kB / 0.5457 GB, free: 3.094 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004864/0.3133, allocations: 95.88 kB / 0.5458 GB, free: 3 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.3133, allocations: 0 / 0.5458 GB, free: 3 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002084/0.3136, allocations: 71.05 kB / 0.5459 GB, free: 2.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.237e-05/0.3136, allocations: 12 kB / 0.5459 GB, free: 2.918 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.0002382/0.3138, allocations: 195.8 kB / 0.5461 GB, free: 2.723 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.83e-05/0.3139, allocations: 27.62 kB / 0.5461 GB, free: 2.695 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001153/0.314, allocations: 42.72 kB / 0.5461 GB, free: 2.645 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.3141, allocations: 7.922 kB / 0.5461 GB, free: 2.637 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.3141, allocations: 0 / 0.5461 GB, free: 2.637 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.254e-05/0.3141, allocations: 108.6 kB / 0.5462 GB, free: 2.512 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.837e-05/0.3142, allocations: 15.98 kB / 0.5463 GB, free: 2.496 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002441/0.3145, allocations: 11.94 kB / 0.5463 GB, free: 2.484 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.499e-05/0.3145, allocations: 19.97 kB / 0.5463 GB, free: 2.465 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001535/0.3161, allocations: 0.7026 MB / 0.547 GB, free: 1.754 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001125/0.3172, allocations: 0.9108 MB / 0.5479 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003109/0.3175, allocations: 200.9 kB / 0.5481 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001904/0.3177, allocations: 227 kB / 0.5483 GB, free: 416 kB / 398.1 MB Notification: Performance of Backend: time 2.41e-07/0.3177, allocations: 0 / 0.5483 GB, free: 416 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001572/0.3193, allocations: 0.7897 MB / 0.549 GB, free: 15.59 MB / 414.1 MB Notification: Performance of SimCode: time 0.001158/0.3205, allocations: 1.225 MB / 0.5502 GB, free: 14.32 MB / 414.1 MB Notification: Performance of Templates: time 0.01183/0.3323, allocations: 7.634 MB / 0.5577 GB, free: 6.699 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/PadeDelay2/PadeDelay2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches