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.001003/0.001003, allocations: 113.2 kB / 17.78 MB, free: 5.254 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.0009187/0.0009188, allocations: 181 kB / 18.71 MB, free: 4.332 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.279/1.279, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.1862/0.1862, allocations: 44.19 MB / 336.7 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001081/0.001081, allocations: 59.91 kB / 470.5 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.288/0.2891, allocations: 60.82 MB / 0.5189 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.002831/0.292, allocations: 1.838 MB / 0.5207 GB, free: 2.324 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001818/0.2938, allocations: 1.336 MB / 0.522 GB, free: 1.426 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001284/0.294, allocations: 6.188 kB / 0.522 GB, free: 1.422 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001348/0.2941, allocations: 28.92 kB / 0.522 GB, free: 1.402 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.937e-05/0.2942, allocations: 30.5 kB / 0.5221 GB, free: 1.379 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001596/0.2959, allocations: 0.5586 MB / 0.5226 GB, free: 1.176 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003307/0.2962, allocations: 283.5 kB / 0.5229 GB, free: 1.062 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.2963, allocations: 46.47 kB / 0.5229 GB, free: 1.039 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001872/0.2965, allocations: 112.6 kB / 0.523 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002081/0.2967, allocations: 176.4 kB / 0.5232 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.234e-05/0.2968, allocations: 22.94 kB / 0.5232 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001214/0.298, allocations: 0.8109 MB / 0.524 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001245/0.2981, allocations: 115.3 kB / 0.5241 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001153/0.2982, allocations: 135.4 kB / 0.5242 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009955/0.2992, allocations: 1.074 MB / 0.5253 GB, free: 15.92 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.2993, allocations: 0 / 0.5253 GB, free: 15.92 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.2993, allocations: 0 / 0.5253 GB, free: 15.92 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.779e-06/0.2993, allocations: 5.312 kB / 0.5253 GB, free: 15.92 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.3004, allocations: 0.7327 MB / 0.526 GB, free: 15.31 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.895e-05/0.3004, allocations: 9.625 kB / 0.526 GB, free: 15.31 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.489e-05/0.3005, allocations: 37.06 kB / 0.5261 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002682/0.3008, allocations: 277.8 kB / 0.5263 GB, free: 15.02 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.3008, allocations: 15.06 kB / 0.5263 GB, free: 15.02 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.826e-05/0.3009, allocations: 30.3 kB / 0.5264 GB, free: 15 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004363/0.3013, allocations: 274.2 kB / 0.5266 GB, free: 14.82 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.3013, allocations: 0 / 0.5266 GB, free: 14.82 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.796e-05/0.3014, allocations: 10.62 kB / 0.5266 GB, free: 14.82 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.3014, allocations: 2.344 kB / 0.5266 GB, free: 14.82 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003922/0.3018, allocations: 220.5 kB / 0.5268 GB, free: 14.71 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001054/0.3028, allocations: 0.7595 MB / 0.5276 GB, free: 14.09 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004141/0.3033, allocations: 291.8 kB / 0.5279 GB, free: 13.91 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002755/0.3035, allocations: 187.9 kB / 0.528 GB, free: 13.81 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.759e-05/0.3036, allocations: 2.688 kB / 0.5281 GB, free: 13.81 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.666e-05/0.3036, allocations: 53.45 kB / 0.5281 GB, free: 13.75 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 1.383e-06/0.3036, allocations: 0 / 0.5281 GB, free: 13.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009387/0.3046, allocations: 0.5297 MB / 0.5286 GB, free: 13.48 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.094e-05/0.3046, allocations: 87.7 kB / 0.5287 GB, free: 13.38 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003044/0.3049, allocations: 348.3 kB / 0.529 GB, free: 13.14 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.946e-05/0.305, allocations: 31.86 kB / 0.5291 GB, free: 13.11 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.931e-05/0.3051, allocations: 147.1 kB / 0.5292 GB, free: 12.97 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.397e-05/0.3051, allocations: 103.3 kB / 0.5293 GB, free: 12.88 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001495/0.3053, allocations: 122.2 kB / 0.5294 GB, free: 12.81 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.3054, allocations: 349.7 kB / 0.5298 GB, free: 12.47 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003995/0.3058, allocations: 283.8 kB / 0.53 GB, free: 12.34 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004362/0.3063, allocations: 333.1 kB / 0.5303 GB, free: 12.17 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003297/0.3096, allocations: 1.765 MB / 0.5321 GB, free: 11.29 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3096, allocations: 0 / 0.5321 GB, free: 11.29 MB / 398.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001061/0.3106, allocations: 0.7561 MB / 0.5328 GB, free: 10.93 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.3107, allocations: 5.844 kB / 0.5328 GB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.346e-05/0.3107, allocations: 20.98 kB / 0.5328 GB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/0.3107, allocations: 9.922 kB / 0.5328 GB, free: 10.9 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004441/0.3112, allocations: 92.56 kB / 0.5329 GB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.3112, allocations: 6.188 kB / 0.5329 GB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002028/0.3114, allocations: 74.09 kB / 0.533 GB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.129e-05/0.3114, allocations: 12.88 kB / 0.533 GB, free: 10.82 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.0002197/0.3117, allocations: 181.9 kB / 0.5332 GB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.489e-05/0.3118, allocations: 26.19 kB / 0.5332 GB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001126/0.3119, allocations: 46.05 kB / 0.5333 GB, free: 10.59 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.3119, allocations: 2.281 kB / 0.5333 GB, free: 10.59 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.3119, allocations: 1.156 kB / 0.5333 GB, free: 10.59 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.3119, allocations: 1.156 kB / 0.5333 GB, free: 10.59 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003789/0.3123, allocations: 339.2 kB / 0.5336 GB, free: 10.28 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.3123, allocations: 0 / 0.5336 GB, free: 10.28 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003423/0.3126, allocations: 55.97 kB / 0.5336 GB, free: 10.26 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.3127, allocations: 1.469 kB / 0.5336 GB, free: 10.26 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.652e-05/0.3127, allocations: 17.98 kB / 0.5337 GB, free: 10.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.3127, allocations: 5.266 kB / 0.5337 GB, free: 10.24 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3127, allocations: 1.469 kB / 0.5337 GB, free: 10.24 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009591/0.3137, allocations: 0.7442 MB / 0.5344 GB, free: 9.762 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.391e-05/0.3137, allocations: 110.2 kB / 0.5345 GB, free: 9.645 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.434e-05/0.3138, allocations: 17.55 kB / 0.5345 GB, free: 9.633 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002184/0.314, allocations: 17.36 kB / 0.5345 GB, free: 9.621 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.295e-05/0.3141, allocations: 10.77 kB / 0.5345 GB, free: 9.617 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.511e-05/0.3141, allocations: 14.36 kB / 0.5346 GB, free: 9.609 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002094/0.3143, allocations: 220.8 kB / 0.5348 GB, free: 9.465 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.803e-06/0.3144, allocations: 0 / 0.5348 GB, free: 9.465 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008414/0.3152, allocations: 251.6 kB / 0.535 GB, free: 9.43 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.0005884/0.3158, allocations: 260.9 kB / 0.5353 GB, free: 9.281 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009728/0.3168, allocations: 0.7293 MB / 0.536 GB, free: 8.859 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3168, allocations: 1.312 kB / 0.536 GB, free: 8.859 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000308/0.3171, allocations: 193.2 kB / 0.5362 GB, free: 8.77 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004704/0.3176, allocations: 49.8 kB / 0.5362 GB, free: 8.738 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001263/0.3189, allocations: 0.9412 MB / 0.5371 GB, free: 8.129 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003512/0.3192, allocations: 0.8105 MB / 0.5379 GB, free: 7.367 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001844/0.3194, allocations: 65.47 kB / 0.538 GB, free: 7.348 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.378e-05/0.3195, allocations: 21.12 kB / 0.538 GB, free: 7.34 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3195, allocations: 0 / 0.538 GB, free: 7.34 MB / 398.1 MB Notification: Performance of Templates: time 0.01173/0.3313, allocations: 6.573 MB / 0.5444 GB, free: 1.477 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