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.001239/0.001239, 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.001367/0.001367, 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.462/1.462, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2668/0.2668, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002279/0.002279, allocations: 71.88 kB / 481.3 MB, free: 4.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.502/0.5043, allocations: 62.43 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.003625/0.508, allocations: 1.863 MB / 0.5328 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002562/0.5106, allocations: 1.398 MB / 0.5342 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001853/0.5108, allocations: 5.312 kB / 0.5342 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001745/0.511, allocations: 30.47 kB / 0.5342 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001181/0.5111, allocations: 30.41 kB / 0.5342 GB, free: 11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001834/0.513, allocations: 0.5871 MB / 0.5348 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003853/0.5134, allocations: 274.4 kB / 0.5351 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001467/0.5135, allocations: 43.3 kB / 0.5351 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002879/0.5138, allocations: 120.7 kB / 0.5352 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003164/0.5141, allocations: 169.8 kB / 0.5354 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001027/0.5143, allocations: 23.38 kB / 0.5354 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001562/0.5158, allocations: 0.8229 MB / 0.5362 GB, free: 9.781 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001735/0.516, allocations: 113.9 kB / 0.5363 GB, free: 9.711 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002106/0.5162, allocations: 143.8 kB / 0.5365 GB, free: 9.602 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001871/0.5181, allocations: 1.076 MB / 0.5375 GB, free: 8.938 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.5181, allocations: 0 / 0.5375 GB, free: 8.938 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.5181, allocations: 0 / 0.5375 GB, free: 8.938 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.635e-05/0.5182, allocations: 0 / 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.001698/0.5199, allocations: 0.7474 MB / 0.5382 GB, free: 8.316 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.5199, allocations: 14.09 kB / 0.5382 GB, free: 8.312 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002356/0.5202, allocations: 42.75 kB / 0.5383 GB, free: 8.289 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003955/0.5206, allocations: 281.8 kB / 0.5386 GB, free: 8.02 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.5206, allocations: 11.5 kB / 0.5386 GB, free: 8.016 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.718e-05/0.5207, allocations: 30.31 kB / 0.5386 GB, free: 8 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005511/0.5212, allocations: 271.4 kB / 0.5389 GB, free: 7.828 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.5213, allocations: 4 kB / 0.5389 GB, free: 7.824 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.742e-05/0.5213, allocations: 5.312 kB / 0.5389 GB, free: 7.82 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.5213, allocations: 4.562 kB / 0.5389 GB, free: 7.82 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004421/0.5218, allocations: 223.6 kB / 0.5391 GB, free: 7.715 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001343/0.5231, allocations: 0.752 MB / 0.5398 GB, free: 7.094 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000508/0.5236, allocations: 291.5 kB / 0.5401 GB, free: 6.922 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003108/0.524, allocations: 190.9 kB / 0.5403 GB, free: 6.816 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.414e-05/0.524, allocations: 3.281 kB / 0.5403 GB, free: 6.816 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.881e-05/0.524, allocations: 40.75 kB / 0.5403 GB, free: 6.77 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 1.493e-06/0.5241, allocations: 4 kB / 0.5403 GB, free: 6.766 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.001061/0.5251, allocations: 0.534 MB / 0.5408 GB, free: 6.484 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/0.5252, allocations: 84.44 kB / 0.5409 GB, free: 6.387 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004158/0.5256, allocations: 353.3 kB / 0.5413 GB, free: 6.152 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.622e-05/0.5257, allocations: 32.05 kB / 0.5413 GB, free: 6.117 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.5258, allocations: 144.3 kB / 0.5414 GB, free: 5.984 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.421e-05/0.5259, allocations: 105.9 kB / 0.5415 GB, free: 5.891 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002032/0.5261, allocations: 126.5 kB / 0.5416 GB, free: 5.816 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.5262, allocations: 349.5 kB / 0.542 GB, free: 5.477 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005226/0.5268, allocations: 282.9 kB / 0.5423 GB, free: 5.348 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004767/0.5273, allocations: 337.9 kB / 0.5426 GB, free: 5.172 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003789/0.5311, allocations: 1.766 MB / 0.5443 GB, free: 3.844 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.5311, allocations: 3.938 kB / 0.5443 GB, free: 3.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001237/0.5323, allocations: 0.7613 MB / 0.545 GB, free: 3.074 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.527e-05/0.5324, allocations: 6.344 kB / 0.5451 GB, free: 3.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.518e-05/0.5324, allocations: 12 kB / 0.5451 GB, free: 3.059 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.797e-05/0.5324, allocations: 3.938 kB / 0.5451 GB, free: 3.055 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005336/0.533, allocations: 99.86 kB / 0.5452 GB, free: 2.957 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.387e-05/0.533, allocations: 4 kB / 0.5452 GB, free: 2.953 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002981/0.5333, allocations: 71.36 kB / 0.5452 GB, free: 2.883 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.148e-05/0.5334, allocations: 11.98 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.0003443/0.5337, allocations: 187.3 kB / 0.5454 GB, free: 2.68 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001257/0.5338, allocations: 23.81 kB / 0.5454 GB, free: 2.656 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001396/0.534, allocations: 46.64 kB / 0.5455 GB, free: 2.602 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.534, allocations: 4 kB / 0.5455 GB, free: 2.598 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.677e-06/0.534, allocations: 0 / 0.5455 GB, free: 2.598 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.534, allocations: 0 / 0.5455 GB, free: 2.598 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005226/0.5346, allocations: 349.2 kB / 0.5458 GB, free: 2.207 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.5346, allocations: 0 / 0.5458 GB, free: 2.207 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003631/0.5349, allocations: 47.97 kB / 0.5459 GB, free: 2.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.5349, allocations: 4 kB / 0.5459 GB, free: 2.156 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.04e-05/0.535, allocations: 19.92 kB / 0.5459 GB, free: 2.137 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.535, allocations: 0 / 0.5459 GB, free: 2.137 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.535, allocations: 3.938 kB / 0.5459 GB, free: 2.133 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001041/0.5361, allocations: 0.7476 MB / 0.5466 GB, free: 1.367 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.311e-05/0.5362, allocations: 113 kB / 0.5467 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.731e-05/0.5362, allocations: 15.92 kB / 0.5468 GB, free: 1.223 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002365/0.5365, allocations: 15.98 kB / 0.5468 GB, free: 1.207 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.303e-05/0.5365, allocations: 7.984 kB / 0.5468 GB, free: 1.199 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.308e-05/0.5366, allocations: 12 kB / 0.5468 GB, free: 1.188 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002165/0.5368, allocations: 223 kB / 0.547 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5368, allocations: 4 kB / 0.547 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001041/0.5379, allocations: 247.7 kB / 0.5472 GB, free: 0.7227 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.0008746/0.5387, allocations: 260.5 kB / 0.5475 GB, free: 472 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001161/0.5399, allocations: 0.7365 MB / 0.5482 GB, free: 15.7 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.5399, allocations: 0 / 0.5482 GB, free: 15.7 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003292/0.5403, allocations: 191.8 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.0005237/0.5408, allocations: 47.58 kB / 0.5484 GB, free: 15.47 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001543/0.5423, allocations: 0.9417 MB / 0.5494 GB, free: 14.5 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005544/0.5429, allocations: 0.8106 MB / 0.5501 GB, free: 13.66 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002324/0.5432, allocations: 70.19 kB / 0.5502 GB, free: 13.59 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/0.5433, allocations: 19.44 kB / 0.5502 GB, free: 13.57 MB / 414.1 MB Notification: Performance of SimCode: time 8.21e-07/0.5433, allocations: 0 / 0.5502 GB, free: 13.57 MB / 414.1 MB Notification: Performance of Templates: time 0.01535/0.5586, allocations: 6.568 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