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.001071/0.001071, allocations: 112.6 kB / 18.45 MB, free: 4.598 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.001043/0.001043, allocations: 187.2 kB / 19.38 MB, free: 3.676 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.278/1.278, allocations: 222.9 MB / 243.1 MB, free: 15.12 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.1911/0.1911, allocations: 44.18 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 63.91 kB / 471.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2853/0.2866, allocations: 60.81 MB / 0.5196 GB, free: 3.867 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.0024/0.289, allocations: 1.841 MB / 0.5214 GB, free: 2.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00162/0.2906, allocations: 1.336 MB / 0.5227 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.53e-05/0.2907, allocations: 2.5 kB / 0.5227 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001305/0.2909, allocations: 29.28 kB / 0.5227 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.919e-05/0.2909, allocations: 31 kB / 0.5227 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001265/0.2922, allocations: 0.5636 MB / 0.5233 GB, free: 1.422 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002647/0.2925, allocations: 282.9 kB / 0.5235 GB, free: 1.309 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.2926, allocations: 47.75 kB / 0.5236 GB, free: 1.285 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001555/0.2927, allocations: 118.7 kB / 0.5237 GB, free: 1.238 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002048/0.293, allocations: 168.1 kB / 0.5239 GB, free: 1.184 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.701e-05/0.293, allocations: 22.38 kB / 0.5239 GB, free: 1.184 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001036/0.2941, allocations: 0.8065 MB / 0.5247 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001211/0.2942, allocations: 114.9 kB / 0.5248 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001197/0.2943, allocations: 139.6 kB / 0.5249 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008698/0.2952, allocations: 1.08 MB / 0.526 GB, free: 140 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.2952, allocations: 0 / 0.526 GB, free: 140 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.2952, allocations: 0 / 0.526 GB, free: 140 kB / 382.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.2952, allocations: 3.938 kB / 0.526 GB, free: 136 kB / 382.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.2963, allocations: 0.7183 MB / 0.5267 GB, free: 15.54 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.2964, allocations: 9.625 kB / 0.5267 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.654e-05/0.2964, allocations: 32.84 kB / 0.5267 GB, free: 15.52 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003159/0.2968, allocations: 285.3 kB / 0.527 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.2968, allocations: 10.88 kB / 0.527 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.105e-05/0.2969, allocations: 30.97 kB / 0.527 GB, free: 15.23 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004567/0.2973, allocations: 270.4 kB / 0.5273 GB, free: 15.06 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.2973, allocations: 0 / 0.5273 GB, free: 15.06 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.598e-05/0.2974, allocations: 10.75 kB / 0.5273 GB, free: 15.05 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.2974, allocations: 2.75 kB / 0.5273 GB, free: 15.05 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003936/0.2978, allocations: 223.5 kB / 0.5275 GB, free: 14.95 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001184/0.299, allocations: 0.7561 MB / 0.5282 GB, free: 14.32 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004258/0.2994, allocations: 287.4 kB / 0.5285 GB, free: 14.15 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002846/0.2997, allocations: 188.7 kB / 0.5287 GB, free: 14.05 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.513e-05/0.2997, allocations: 13.27 kB / 0.5287 GB, free: 14.04 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/0.2998, allocations: 37.72 kB / 0.5287 GB, free: 14 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 1.453e-06/0.2998, allocations: 0 / 0.5287 GB, free: 14 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.00097/0.3008, allocations: 0.5411 MB / 0.5293 GB, free: 13.71 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.331e-05/0.3008, allocations: 80.8 kB / 0.5294 GB, free: 13.61 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003064/0.3011, allocations: 348 kB / 0.5297 GB, free: 13.38 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.581e-05/0.3012, allocations: 32.27 kB / 0.5297 GB, free: 13.35 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.478e-05/0.3013, allocations: 142.8 kB / 0.5299 GB, free: 13.21 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.836e-05/0.3013, allocations: 97.73 kB / 0.5299 GB, free: 13.13 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000159/0.3015, allocations: 123.4 kB / 0.5301 GB, free: 13.06 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.3016, allocations: 349 kB / 0.5304 GB, free: 12.72 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003999/0.302, allocations: 283 kB / 0.5307 GB, free: 12.59 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004197/0.3025, allocations: 338.5 kB / 0.531 GB, free: 12.41 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003409/0.3059, allocations: 1.76 MB / 0.5327 GB, free: 11.54 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3059, allocations: 0 / 0.5327 GB, free: 11.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001063/0.307, allocations: 0.768 MB / 0.5335 GB, free: 11.16 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.307, allocations: 5.406 kB / 0.5335 GB, free: 11.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.374e-05/0.307, allocations: 9.484 kB / 0.5335 GB, free: 11.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.307, allocations: 6.031 kB / 0.5335 GB, free: 11.15 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004797/0.3075, allocations: 100.8 kB / 0.5336 GB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.3075, allocations: 2.188 kB / 0.5336 GB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002023/0.3077, allocations: 69.73 kB / 0.5336 GB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.075e-05/0.3078, allocations: 16.78 kB / 0.5337 GB, free: 11.06 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.0002181/0.308, allocations: 189.3 kB / 0.5338 GB, free: 10.9 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.575e-05/0.3081, allocations: 25.69 kB / 0.5339 GB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001125/0.3082, allocations: 42.3 kB / 0.5339 GB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.81e-06/0.3082, allocations: 3.938 kB / 0.5339 GB, free: 10.83 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.3082, allocations: 0.9688 kB / 0.5339 GB, free: 10.83 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.031e-05/0.3083, allocations: 104.8 kB / 0.534 GB, free: 10.72 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.623e-05/0.3084, allocations: 14.89 kB / 0.534 GB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002461/0.3086, allocations: 12.52 kB / 0.534 GB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.102e-05/0.3087, allocations: 11.89 kB / 0.534 GB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001523/0.3102, allocations: 0.7126 MB / 0.5347 GB, free: 10.26 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001097/0.3113, allocations: 0.9083 MB / 0.5356 GB, free: 9.656 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000307/0.3116, allocations: 206.6 kB / 0.5358 GB, free: 9.555 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001827/0.3118, allocations: 220.9 kB / 0.536 GB, free: 9.41 MB / 398.1 MB Notification: Performance of Backend: time 4.41e-07/0.3118, allocations: 4 kB / 0.536 GB, free: 9.406 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001541/0.3134, allocations: 0.7994 MB / 0.5368 GB, free: 8.934 MB / 398.1 MB Notification: Performance of SimCode: time 0.001181/0.3146, allocations: 1.215 MB / 0.538 GB, free: 7.957 MB / 398.1 MB Notification: Performance of Templates: time 0.0114/0.326, allocations: 7.577 MB / 0.5454 GB, free: 1.375 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/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_4.0.0_ModelicaTest.Blocks.PadeDelay2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches