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.001067/0.001067, allocations: 109.5 kB / 17.78 MB, free: 5.312 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.001072/0.001072, allocations: 188 kB / 18.71 MB, free: 4.387 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.454/1.454, allocations: 222.9 MB / 242.4 MB, free: 15.21 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.2229/0.2229, allocations: 44.18 MB / 336.7 MB, free: 2.707 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 55.91 kB / 470.5 MB, free: 13.2 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3516/0.3528, allocations: 60.82 MB / 0.5189 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.002511/0.3554, allocations: 1.842 MB / 0.5207 GB, free: 2.316 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001832/0.3572, allocations: 1.332 MB / 0.522 GB, free: 1.422 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.221e-05/0.3573, allocations: 2.5 kB / 0.522 GB, free: 1.422 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001186/0.3574, allocations: 29.3 kB / 0.522 GB, free: 1.402 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.263e-05/0.3575, allocations: 39.52 kB / 0.5221 GB, free: 1.371 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001365/0.3589, allocations: 0.5507 MB / 0.5226 GB, free: 1.176 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003151/0.3592, allocations: 282.2 kB / 0.5229 GB, free: 1.062 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.3593, allocations: 47.45 kB / 0.5229 GB, free: 1.039 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001512/0.3595, allocations: 122.4 kB / 0.523 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001995/0.3597, allocations: 168.2 kB / 0.5232 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.378e-05/0.3597, allocations: 26.77 kB / 0.5232 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001124/0.3609, allocations: 0.8034 MB / 0.524 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000117/0.361, allocations: 114.9 kB / 0.5241 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001176/0.3611, allocations: 142.1 kB / 0.5242 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009751/0.3621, allocations: 1.072 MB / 0.5253 GB, free: 15.95 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.3621, allocations: 0 / 0.5253 GB, free: 15.95 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.537e-06/0.3621, allocations: 1.156 kB / 0.5253 GB, free: 15.95 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.321e-06/0.3621, allocations: 3.938 kB / 0.5253 GB, free: 15.95 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.001096/0.3632, allocations: 0.715 MB / 0.526 GB, free: 15.36 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.179e-05/0.3633, allocations: 9.875 kB / 0.526 GB, free: 15.36 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.74e-05/0.3634, allocations: 32.84 kB / 0.526 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002918/0.3637, allocations: 289.6 kB / 0.5263 GB, free: 15.06 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.3637, allocations: 15.22 kB / 0.5263 GB, free: 15.05 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.728e-05/0.3638, allocations: 27.16 kB / 0.5263 GB, free: 15.04 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004506/0.3642, allocations: 269.8 kB / 0.5266 GB, free: 14.87 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.3642, allocations: 0 / 0.5266 GB, free: 14.87 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.378e-05/0.3643, allocations: 6.625 kB / 0.5266 GB, free: 14.87 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.3643, allocations: 2.438 kB / 0.5266 GB, free: 14.87 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003903/0.3647, allocations: 232.1 kB / 0.5268 GB, free: 14.76 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00108/0.3658, allocations: 0.755 MB / 0.5276 GB, free: 14.13 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004189/0.3662, allocations: 283.9 kB / 0.5278 GB, free: 13.97 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002936/0.3665, allocations: 203.8 kB / 0.528 GB, free: 13.85 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.107e-05/0.3665, allocations: 2.812 kB / 0.528 GB, free: 13.85 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/0.3666, allocations: 37.25 kB / 0.5281 GB, free: 13.81 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 3.125e-06/0.3666, allocations: 3.984 kB / 0.5281 GB, free: 13.8 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009907/0.3676, allocations: 0.5336 MB / 0.5286 GB, free: 13.52 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/0.3676, allocations: 84.33 kB / 0.5287 GB, free: 13.43 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003063/0.3679, allocations: 347.8 kB / 0.529 GB, free: 13.2 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.21e-05/0.368, allocations: 32.61 kB / 0.529 GB, free: 13.16 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.666e-05/0.3681, allocations: 147.4 kB / 0.5292 GB, free: 13.02 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.259e-05/0.3682, allocations: 97.83 kB / 0.5293 GB, free: 12.94 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001544/0.3683, allocations: 118.6 kB / 0.5294 GB, free: 12.87 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.3684, allocations: 353.3 kB / 0.5297 GB, free: 12.53 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004012/0.3688, allocations: 287.4 kB / 0.53 GB, free: 12.39 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004403/0.3693, allocations: 337.4 kB / 0.5303 GB, free: 12.22 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00339/0.3727, allocations: 1.756 MB / 0.532 GB, free: 11.35 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.3727, allocations: 2.938 kB / 0.532 GB, free: 11.35 MB / 398.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001156/0.3739, allocations: 0.7684 MB / 0.5328 GB, free: 10.97 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.3739, allocations: 5.125 kB / 0.5328 GB, free: 10.97 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.58e-05/0.3739, allocations: 8.516 kB / 0.5328 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.374, allocations: 6.75 kB / 0.5328 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004695/0.3744, allocations: 96.5 kB / 0.5329 GB, free: 10.94 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.3745, allocations: 6.359 kB / 0.5329 GB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002093/0.3747, allocations: 69.83 kB / 0.533 GB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.426e-05/0.3747, allocations: 20.41 kB / 0.533 GB, free: 10.87 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.0002394/0.375, allocations: 173.6 kB / 0.5332 GB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.525e-05/0.375, allocations: 26.22 kB / 0.5332 GB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001158/0.3752, allocations: 45.14 kB / 0.5332 GB, free: 10.65 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.3752, allocations: 2.562 kB / 0.5332 GB, free: 10.65 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.3752, allocations: 5.062 kB / 0.5332 GB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.279e-06/0.3752, allocations: 1.406 kB / 0.5332 GB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004199/0.3756, allocations: 338 kB / 0.5336 GB, free: 10.33 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.3756, allocations: 1.125 kB / 0.5336 GB, free: 10.33 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003578/0.376, allocations: 43.02 kB / 0.5336 GB, free: 10.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.376, allocations: 2.188 kB / 0.5336 GB, free: 10.32 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.144e-05/0.3761, allocations: 23.39 kB / 0.5336 GB, free: 10.31 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.3761, allocations: 0 / 0.5336 GB, free: 10.31 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.3761, allocations: 1.156 kB / 0.5336 GB, free: 10.31 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001101/0.3772, allocations: 0.7409 MB / 0.5343 GB, free: 9.832 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.953e-05/0.3773, allocations: 109.4 kB / 0.5345 GB, free: 9.715 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.11e-05/0.3773, allocations: 13.41 kB / 0.5345 GB, free: 9.707 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000219/0.3775, allocations: 17.39 kB / 0.5345 GB, free: 9.695 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.185e-05/0.3776, allocations: 15.61 kB / 0.5345 GB, free: 9.688 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.427e-05/0.3776, allocations: 13.67 kB / 0.5345 GB, free: 9.68 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002037/0.3778, allocations: 220.9 kB / 0.5347 GB, free: 9.535 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3778, allocations: 0 / 0.5347 GB, free: 9.535 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008789/0.3787, allocations: 255.1 kB / 0.535 GB, free: 9.496 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.0005657/0.3793, allocations: 253.9 kB / 0.5352 GB, free: 9.355 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001231/0.3805, allocations: 0.7287 MB / 0.5359 GB, free: 8.934 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3806, allocations: 4 kB / 0.5359 GB, free: 8.93 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000366/0.3809, allocations: 194.2 kB / 0.5361 GB, free: 8.84 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005041/0.3814, allocations: 49.69 kB / 0.5362 GB, free: 8.809 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001591/0.383, allocations: 0.9192 MB / 0.5371 GB, free: 8.227 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004773/0.3835, allocations: 0.8074 MB / 0.5378 GB, free: 7.469 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001943/0.3837, allocations: 64.19 kB / 0.5379 GB, free: 7.449 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.3839, allocations: 25.88 kB / 0.5379 GB, free: 7.438 MB / 398.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3839, allocations: 0 / 0.5379 GB, free: 7.438 MB / 398.1 MB Notification: Performance of Templates: time 0.01212/0.396, allocations: 6.606 MB / 0.5444 GB, free: 1.578 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