Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009576/0.0009576, allocations: 177.7 kB / 17.41 MB, free: 4.285 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 225.7 MB / 243.9 MB, free: 8.461 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008069/0.000807, allocations: 93.42 kB / 295 MB, free: 9.512 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4168/0.4168, allocations: 44.31 MB / 390.5 MB, free: 38.03 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003168/0.0003168, allocations: 12 kB / 463.1 MB, free: 488 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3361/0.3364, allocations: 61.91 MB / 0.5127 GB, free: 37.76 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.001639/0.3381, allocations: 1.502 MB / 0.5142 GB, free: 36.67 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001741/0.3398, allocations: 1.756 MB / 0.5159 GB, free: 35.32 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.784e-05/0.3399, allocations: 0 / 0.5159 GB, free: 35.32 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001341/0.3401, allocations: 25.17 kB / 0.5159 GB, free: 35.3 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 5.475e-05/0.3401, allocations: 18.5 kB / 0.516 GB, free: 35.29 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001176/0.3413, allocations: 484.1 kB / 0.5164 GB, free: 35.11 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002074/0.3415, allocations: 268.1 kB / 0.5167 GB, free: 35 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.3417, allocations: 37.52 kB / 0.5167 GB, free: 34.99 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001352/0.3418, allocations: 93.95 kB / 0.5168 GB, free: 34.95 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000164/0.342, allocations: 159.2 kB / 0.517 GB, free: 34.9 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.378e-05/0.342, allocations: 11.22 kB / 0.517 GB, free: 34.9 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008721/0.3429, allocations: 0.6827 MB / 0.5176 GB, free: 34.71 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001324/0.343, allocations: 110.2 kB / 0.5177 GB, free: 34.67 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00013/0.3432, allocations: 146 kB / 0.5179 GB, free: 34.56 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009455/0.3441, allocations: 1.045 MB / 0.5189 GB, free: 34.35 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3442, allocations: 3.031 kB / 0.5189 GB, free: 34.35 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3442, allocations: 0 / 0.5189 GB, free: 34.35 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.3442, allocations: 0 / 0.5189 GB, free: 34.35 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.0009743/0.3451, allocations: 0.6797 MB / 0.5196 GB, free: 33.83 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.3452, allocations: 9.938 kB / 0.5196 GB, free: 33.83 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.387e-05/0.3453, allocations: 33.25 kB / 0.5196 GB, free: 33.81 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002598/0.3455, allocations: 288.1 kB / 0.5199 GB, free: 33.56 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.3456, allocations: 16.38 kB / 0.5199 GB, free: 33.55 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.201e-05/0.3456, allocations: 22.72 kB / 0.5199 GB, free: 33.54 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004019/0.346, allocations: 278.9 kB / 0.5202 GB, free: 33.43 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.346, allocations: 0 / 0.5202 GB, free: 33.43 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.356e-05/0.3461, allocations: 4 kB / 0.5202 GB, free: 33.42 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.347e-06/0.3461, allocations: 9.688 kB / 0.5202 GB, free: 33.42 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003454/0.3464, allocations: 229.9 kB / 0.5204 GB, free: 33.36 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009776/0.3474, allocations: 0.7608 MB / 0.5212 GB, free: 32.86 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003681/0.3478, allocations: 291.3 kB / 0.5214 GB, free: 32.73 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002616/0.3481, allocations: 192.9 kB / 0.5216 GB, free: 32.66 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.968e-05/0.3481, allocations: 10.8 kB / 0.5216 GB, free: 32.65 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/0.3482, allocations: 41.38 kB / 0.5217 GB, free: 32.61 MB / 378.7 MB Notification: Performance of pre-optimization done (n=24): time 2.895e-06/0.3482, allocations: 0 / 0.5217 GB, free: 32.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=24): time 0.0008469/0.349, allocations: 0.5523 MB / 0.5222 GB, free: 32.4 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.961e-05/0.3491, allocations: 88.02 kB / 0.5223 GB, free: 32.3 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002821/0.3493, allocations: 348.3 kB / 0.5226 GB, free: 32.11 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.733e-05/0.3494, allocations: 32.45 kB / 0.5227 GB, free: 32.08 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.525e-05/0.3494, allocations: 143.5 kB / 0.5228 GB, free: 31.95 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.711e-05/0.3495, allocations: 92.23 kB / 0.5229 GB, free: 31.88 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.858e-05/0.3495, allocations: 6.844 kB / 0.5229 GB, free: 31.88 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.723e-05/0.3496, allocations: 353 kB / 0.5232 GB, free: 31.54 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003355/0.3499, allocations: 287.5 kB / 0.5235 GB, free: 31.45 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003442/0.3503, allocations: 339 kB / 0.5238 GB, free: 31.32 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002897/0.3532, allocations: 1.776 MB / 0.5256 GB, free: 30.82 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.3532, allocations: 2.844 kB / 0.5256 GB, free: 30.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0008732/0.3541, allocations: 0.7685 MB / 0.5263 GB, free: 30.52 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.3541, allocations: 5.969 kB / 0.5263 GB, free: 30.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.184e-05/0.3542, allocations: 6.5 kB / 0.5263 GB, free: 30.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.3542, allocations: 2.906 kB / 0.5263 GB, free: 30.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004396/0.3546, allocations: 99.14 kB / 0.5264 GB, free: 30.51 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.3546, allocations: 6.656 kB / 0.5264 GB, free: 30.51 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001676/0.3548, allocations: 65.39 kB / 0.5265 GB, free: 30.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.651e-05/0.3549, allocations: 18.44 kB / 0.5265 GB, free: 30.45 MB / 378.7 MB Warning: Assuming fixed start value for the following 6 variables: 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] 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[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[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[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[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] 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.0001949/0.3551, allocations: 186 kB / 0.5267 GB, free: 30.3 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.957e-05/0.3551, allocations: 33.84 kB / 0.5267 GB, free: 30.28 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.596e-05/0.3552, allocations: 44.48 kB / 0.5268 GB, free: 30.24 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.3552, allocations: 5.188 kB / 0.5268 GB, free: 30.24 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.3552, allocations: 0 / 0.5268 GB, free: 30.24 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.3552, allocations: 3.938 kB / 0.5268 GB, free: 30.24 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003177/0.3556, allocations: 342.1 kB / 0.5271 GB, free: 29.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3556, allocations: 0 / 0.5271 GB, free: 29.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003235/0.3559, allocations: 48.59 kB / 0.5271 GB, free: 29.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.3559, allocations: 2.781 kB / 0.5271 GB, free: 29.98 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.19e-05/0.356, allocations: 24.84 kB / 0.5272 GB, free: 29.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.356, allocations: 3.938 kB / 0.5272 GB, free: 29.96 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.356, allocations: 2.969 kB / 0.5272 GB, free: 29.96 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000797/0.3568, allocations: 0.7451 MB / 0.5279 GB, free: 29.57 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.99e-05/0.3568, allocations: 112.3 kB / 0.528 GB, free: 29.46 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.761e-05/0.3569, allocations: 9.5 kB / 0.528 GB, free: 29.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002145/0.3571, allocations: 13.12 kB / 0.528 GB, free: 29.45 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.743e-05/0.3572, allocations: 19.03 kB / 0.528 GB, free: 29.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.07e-05/0.3572, allocations: 5.719 kB / 0.5281 GB, free: 29.45 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001498/0.3574, allocations: 221 kB / 0.5283 GB, free: 29.33 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3574, allocations: 4 kB / 0.5283 GB, free: 29.33 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007841/0.3582, allocations: 249.6 kB / 0.5285 GB, free: 29.3 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.0004177/0.3586, allocations: 249.2 kB / 0.5287 GB, free: 29.18 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007877/0.3594, allocations: 0.7518 MB / 0.5295 GB, free: 28.82 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3594, allocations: 0 / 0.5295 GB, free: 28.82 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002553/0.3596, allocations: 196.5 kB / 0.5297 GB, free: 28.77 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004372/0.3601, allocations: 37.19 kB / 0.5297 GB, free: 28.74 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001023/0.3611, allocations: 1.071 MB / 0.5307 GB, free: 28.15 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002085/0.3613, allocations: 0.8051 MB / 0.5315 GB, free: 27.44 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001691/0.3615, allocations: 65.39 kB / 0.5316 GB, free: 27.44 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.062e-05/0.3616, allocations: 23.67 kB / 0.5316 GB, free: 27.43 MB / 378.7 MB Notification: Performance of SimCode: time 5.61e-07/0.3616, allocations: 4 kB / 0.5316 GB, free: 27.43 MB / 378.7 MB Notification: Performance of Templates: time 0.01002/0.3717, allocations: 6.294 MB / 0.5378 GB, free: 27.11 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/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