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.001117/0.001117, allocations: 122.2 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.001293/0.001293, allocations: 197.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.369/1.369, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2081/0.2081, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 80.16 kB / 481.3 MB, free: 4.082 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3715/0.3728, allocations: 62.43 MB / 0.531 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.003101/0.376, allocations: 1.86 MB / 0.5328 GB, free: 12.17 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002165/0.3782, allocations: 1.402 MB / 0.5342 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.913e-05/0.3783, allocations: 1.375 kB / 0.5342 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000164/0.3785, allocations: 30.42 kB / 0.5342 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.759e-05/0.3785, allocations: 35.78 kB / 0.5342 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001496/0.3801, allocations: 0.572 MB / 0.5348 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003471/0.3804, allocations: 278.8 kB / 0.5351 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001446/0.3806, allocations: 51.39 kB / 0.5351 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002195/0.3808, allocations: 118.6 kB / 0.5352 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002575/0.3811, allocations: 177.6 kB / 0.5354 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.01e-05/0.3811, allocations: 22.75 kB / 0.5354 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001161/0.3823, allocations: 0.8123 MB / 0.5362 GB, free: 9.805 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001399/0.3824, allocations: 124.5 kB / 0.5363 GB, free: 9.723 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001557/0.3826, allocations: 148.1 kB / 0.5365 GB, free: 9.609 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001227/0.3838, allocations: 1.072 MB / 0.5375 GB, free: 8.949 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.3839, allocations: 1.031 kB / 0.5375 GB, free: 8.949 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.3839, allocations: 0 / 0.5375 GB, free: 8.949 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.3839, allocations: 0 / 0.5375 GB, free: 8.949 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.001289/0.3852, allocations: 0.7244 MB / 0.5382 GB, free: 8.352 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.3852, allocations: 10.06 kB / 0.5382 GB, free: 8.352 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001925/0.3854, allocations: 38.7 kB / 0.5383 GB, free: 8.332 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003811/0.3858, allocations: 290.9 kB / 0.5385 GB, free: 8.055 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.11e-05/0.3858, allocations: 11.12 kB / 0.5386 GB, free: 8.051 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.01e-05/0.3859, allocations: 26.56 kB / 0.5386 GB, free: 8.039 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005025/0.3864, allocations: 270.5 kB / 0.5388 GB, free: 7.867 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.3864, allocations: 0 / 0.5388 GB, free: 7.867 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.576e-05/0.3865, allocations: 6.469 kB / 0.5388 GB, free: 7.863 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.709e-06/0.3865, allocations: 3.562 kB / 0.5388 GB, free: 7.863 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004308/0.3869, allocations: 227.4 kB / 0.5391 GB, free: 7.754 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001176/0.3881, allocations: 0.756 MB / 0.5398 GB, free: 7.129 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004841/0.3886, allocations: 287.8 kB / 0.5401 GB, free: 6.961 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002959/0.3889, allocations: 187.4 kB / 0.5403 GB, free: 6.859 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.154e-05/0.3889, allocations: 2.875 kB / 0.5403 GB, free: 6.859 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.389, allocations: 47.95 kB / 0.5403 GB, free: 6.805 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 1.272e-06/0.389, allocations: 1.469 kB / 0.5403 GB, free: 6.805 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.001033/0.39, allocations: 0.533 MB / 0.5408 GB, free: 6.523 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.566e-05/0.3901, allocations: 80.33 kB / 0.5409 GB, free: 6.43 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003656/0.3905, allocations: 353 kB / 0.5412 GB, free: 6.195 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.288e-05/0.3905, allocations: 32.02 kB / 0.5413 GB, free: 6.16 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.366e-05/0.3906, allocations: 151.8 kB / 0.5414 GB, free: 6.02 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.254e-05/0.3907, allocations: 89.84 kB / 0.5415 GB, free: 5.941 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001732/0.3909, allocations: 127.1 kB / 0.5416 GB, free: 5.867 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.391, allocations: 348.3 kB / 0.542 GB, free: 5.527 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004392/0.3915, allocations: 279.9 kB / 0.5422 GB, free: 5.402 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004698/0.3919, allocations: 338 kB / 0.5425 GB, free: 5.227 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003476/0.3954, allocations: 1.774 MB / 0.5443 GB, free: 3.891 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.3954, allocations: 0 / 0.5443 GB, free: 3.891 MB / 398.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00111/0.3966, allocations: 0.758 MB / 0.545 GB, free: 3.125 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.3966, allocations: 4 kB / 0.545 GB, free: 3.121 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.584e-05/0.3966, allocations: 15.98 kB / 0.545 GB, free: 3.105 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.3966, allocations: 7.938 kB / 0.545 GB, free: 3.098 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004468/0.3971, allocations: 99.81 kB / 0.5451 GB, free: 3 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.3971, allocations: 4 kB / 0.5451 GB, free: 2.996 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002123/0.3973, allocations: 71.05 kB / 0.5452 GB, free: 2.926 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.029e-05/0.3974, allocations: 12 kB / 0.5452 GB, free: 2.914 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.0002362/0.3976, allocations: 181.5 kB / 0.5454 GB, free: 2.73 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.299e-05/0.3977, allocations: 27.62 kB / 0.5454 GB, free: 2.703 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001084/0.3978, allocations: 46.64 kB / 0.5455 GB, free: 2.648 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.3978, allocations: 4 kB / 0.5455 GB, free: 2.645 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.3978, allocations: 0 / 0.5455 GB, free: 2.645 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.3979, allocations: 0 / 0.5455 GB, free: 2.645 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004109/0.3983, allocations: 345.2 kB / 0.5458 GB, free: 2.258 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.3983, allocations: 4 kB / 0.5458 GB, free: 2.254 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003328/0.3986, allocations: 47.92 kB / 0.5458 GB, free: 2.207 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.3986, allocations: 4 kB / 0.5458 GB, free: 2.203 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.569e-05/0.3987, allocations: 15.92 kB / 0.5459 GB, free: 2.188 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.3987, allocations: 4 kB / 0.5459 GB, free: 2.184 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.3987, allocations: 0 / 0.5459 GB, free: 2.184 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009811/0.3997, allocations: 0.7512 MB / 0.5466 GB, free: 1.414 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.824e-05/0.3998, allocations: 112.8 kB / 0.5467 GB, free: 1.285 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.296e-05/0.3998, allocations: 11.94 kB / 0.5467 GB, free: 1.273 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002102/0.4001, allocations: 11.98 kB / 0.5467 GB, free: 1.262 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.376e-05/0.4001, allocations: 11.98 kB / 0.5467 GB, free: 1.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.638e-05/0.4002, allocations: 15.98 kB / 0.5468 GB, free: 1.234 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002003/0.4004, allocations: 219 kB / 0.547 GB, free: 1.02 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4004, allocations: 0 / 0.547 GB, free: 1.02 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009433/0.4013, allocations: 244 kB / 0.5472 GB, free: 0.7812 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.0004855/0.4018, allocations: 256.8 kB / 0.5474 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009825/0.4028, allocations: 0.7356 MB / 0.5482 GB, free: 15.76 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.4028, allocations: 0 / 0.5482 GB, free: 15.76 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002938/0.4031, allocations: 195.8 kB / 0.5483 GB, free: 15.57 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005512/0.4037, allocations: 49 kB / 0.5484 GB, free: 15.52 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001242/0.4049, allocations: 0.9274 MB / 0.5493 GB, free: 14.57 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003944/0.4053, allocations: 0.8106 MB / 0.5501 GB, free: 13.73 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001684/0.4055, allocations: 70.23 kB / 0.5502 GB, free: 13.66 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.487e-05/0.4056, allocations: 19.44 kB / 0.5502 GB, free: 13.64 MB / 414.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4056, allocations: 0 / 0.5502 GB, free: 13.64 MB / 414.1 MB Notification: Performance of Templates: time 0.01111/0.4167, allocations: 6.564 MB / 0.5566 GB, free: 7.094 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