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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001695/0.001695, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 222.9 MB / 241.6 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009776/0.0009774, allocations: 93.67 kB / 291.8 MB, free: 10.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3435/0.3435, allocations: 44.13 MB / 386.1 MB, free: 37.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009662/0.0009662, allocations: 55.91 kB / 457.7 MB, free: 2.316 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3052/0.3062, allocations: 60.81 MB / 0.5064 GB, free: 38.13 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.002373/0.3086, allocations: 1.879 MB / 0.5082 GB, free: 36.82 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001779/0.3104, allocations: 1.433 MB / 0.5096 GB, free: 35.88 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.266e-05/0.3105, allocations: 0 / 0.5096 GB, free: 35.88 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001587/0.3106, allocations: 17.41 kB / 0.5096 GB, free: 35.87 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 6.073e-05/0.3107, allocations: 27.98 kB / 0.5097 GB, free: 35.85 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001018/0.3118, allocations: 486.6 kB / 0.5101 GB, free: 35.67 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001966/0.312, allocations: 267.2 kB / 0.5104 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.3121, allocations: 48.42 kB / 0.5104 GB, free: 35.54 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001213/0.3122, allocations: 102 kB / 0.5105 GB, free: 35.5 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000159/0.3124, allocations: 157.4 kB / 0.5107 GB, free: 35.46 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.516e-05/0.3124, allocations: 14.78 kB / 0.5107 GB, free: 35.46 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008484/0.3133, allocations: 0.7352 MB / 0.5114 GB, free: 35.23 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001227/0.3134, allocations: 105.4 kB / 0.5115 GB, free: 35.19 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001218/0.3135, allocations: 135.1 kB / 0.5116 GB, free: 35.11 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001008/0.3145, allocations: 1.05 MB / 0.5127 GB, free: 34.88 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3146, allocations: 0 / 0.5127 GB, free: 34.88 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.3146, allocations: 0 / 0.5127 GB, free: 34.88 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.3146, allocations: 0 / 0.5127 GB, free: 34.88 MB / 378.7 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.001081/0.3157, allocations: 0.7187 MB / 0.5134 GB, free: 34.33 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.3157, allocations: 10.94 kB / 0.5134 GB, free: 34.33 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.791e-05/0.3158, allocations: 33.75 kB / 0.5134 GB, free: 34.31 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002649/0.3161, allocations: 283.1 kB / 0.5137 GB, free: 34.06 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.3161, allocations: 11.97 kB / 0.5137 GB, free: 34.06 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.062e-05/0.3161, allocations: 28.16 kB / 0.5137 GB, free: 34.05 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003734/0.3165, allocations: 281.2 kB / 0.514 GB, free: 33.93 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.3165, allocations: 3.938 kB / 0.514 GB, free: 33.92 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.16e-05/0.3166, allocations: 4 kB / 0.514 GB, free: 33.92 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.3166, allocations: 3.25 kB / 0.514 GB, free: 33.92 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003578/0.3169, allocations: 223.2 kB / 0.5142 GB, free: 33.86 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001129/0.3181, allocations: 0.7535 MB / 0.5149 GB, free: 33.36 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004356/0.3185, allocations: 294 kB / 0.5152 GB, free: 33.23 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002521/0.3188, allocations: 189.2 kB / 0.5154 GB, free: 33.15 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.76e-05/0.3188, allocations: 3.156 kB / 0.5154 GB, free: 33.15 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/0.3189, allocations: 36.72 kB / 0.5154 GB, free: 33.11 MB / 378.7 MB Notification: Performance of pre-optimization done (n=24): time 1.432e-06/0.3189, allocations: 0 / 0.5154 GB, free: 33.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=24): time 0.0008788/0.3197, allocations: 0.5428 MB / 0.516 GB, free: 32.91 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.736e-05/0.3198, allocations: 79.98 kB / 0.516 GB, free: 32.81 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002713/0.3201, allocations: 353.6 kB / 0.5164 GB, free: 32.62 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.544e-05/0.3201, allocations: 33.7 kB / 0.5164 GB, free: 32.58 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.394e-05/0.3202, allocations: 142.4 kB / 0.5166 GB, free: 32.46 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.794e-05/0.3202, allocations: 92.7 kB / 0.5166 GB, free: 32.39 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001342/0.3204, allocations: 119.4 kB / 0.5168 GB, free: 32.34 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.288e-05/0.3204, allocations: 359 kB / 0.5171 GB, free: 32 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003646/0.3208, allocations: 285.3 kB / 0.5174 GB, free: 31.91 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003624/0.3212, allocations: 337.4 kB / 0.5177 GB, free: 31.78 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002967/0.3242, allocations: 1.756 MB / 0.5194 GB, free: 31.29 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3242, allocations: 0 / 0.5194 GB, free: 31.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0008477/0.325, allocations: 0.7726 MB / 0.5202 GB, free: 30.98 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.3251, allocations: 2.875 kB / 0.5202 GB, free: 30.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.949e-05/0.3251, allocations: 5.812 kB / 0.5202 GB, free: 30.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.3251, allocations: 2.625 kB / 0.5202 GB, free: 30.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004466/0.3256, allocations: 95.94 kB / 0.5203 GB, free: 30.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.3256, allocations: 6.375 kB / 0.5203 GB, free: 30.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001722/0.3257, allocations: 64.91 kB / 0.5203 GB, free: 30.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.769e-05/0.3258, allocations: 16.38 kB / 0.5203 GB, free: 30.92 MB / 378.7 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.0001751/0.326, allocations: 187.5 kB / 0.5205 GB, free: 30.77 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.346e-05/0.326, allocations: 28.66 kB / 0.5206 GB, free: 30.75 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001154/0.3262, allocations: 41.59 kB / 0.5206 GB, free: 30.71 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.3262, allocations: 6.844 kB / 0.5206 GB, free: 30.71 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.3262, allocations: 7.938 kB / 0.5206 GB, free: 30.7 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.3262, allocations: 5.688 kB / 0.5206 GB, free: 30.7 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003069/0.3265, allocations: 337.6 kB / 0.5209 GB, free: 30.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3265, allocations: 0 / 0.5209 GB, free: 30.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003408/0.3269, allocations: 51.91 kB / 0.521 GB, free: 30.44 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.3269, allocations: 0 / 0.521 GB, free: 30.44 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.149e-05/0.3269, allocations: 15.44 kB / 0.521 GB, free: 30.44 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.3269, allocations: 3.422 kB / 0.521 GB, free: 30.44 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3269, allocations: 7.938 kB / 0.521 GB, free: 30.43 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003358/0.3303, allocations: 3.169 MB / 0.5241 GB, free: 28.56 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.469e-05/0.3303, allocations: 110.5 kB / 0.5242 GB, free: 28.45 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.022e-05/0.3304, allocations: 13.06 kB / 0.5242 GB, free: 28.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002157/0.3306, allocations: 10.31 kB / 0.5242 GB, free: 28.44 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.574e-05/0.3307, allocations: 14.84 kB / 0.5242 GB, free: 28.44 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.901e-05/0.3307, allocations: 9.875 kB / 0.5243 GB, free: 28.43 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001437/0.3308, allocations: 216.2 kB / 0.5245 GB, free: 28.32 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3308, allocations: 4 kB / 0.5245 GB, free: 28.32 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008213/0.3317, allocations: 272.5 kB / 0.5247 GB, free: 28.29 MB / 378.7 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.000417/0.3321, allocations: 261.6 kB / 0.525 GB, free: 28.16 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007519/0.3329, allocations: 0.7349 MB / 0.5257 GB, free: 27.81 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3329, allocations: 0 / 0.5257 GB, free: 27.81 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002524/0.3331, allocations: 199.2 kB / 0.5259 GB, free: 27.75 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004407/0.3336, allocations: 35.05 kB / 0.5259 GB, free: 27.73 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001095/0.3347, allocations: 1.232 MB / 0.5271 GB, free: 26.96 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002025/0.3349, allocations: 0.8122 MB / 0.5279 GB, free: 26.26 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001678/0.3351, allocations: 72.61 kB / 0.528 GB, free: 26.26 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001022/0.3352, allocations: 27.27 kB / 0.528 GB, free: 26.25 MB / 378.7 MB Notification: Performance of SimCode: time 3.21e-07/0.3352, allocations: 0 / 0.528 GB, free: 26.25 MB / 378.7 MB Notification: Performance of Templates: time 0.01001/0.3452, allocations: 7.245 MB / 0.5351 GB, free: 25.88 MB / 378.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/PadeDelay2/PadeDelay2.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches