Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Blocks.PadeDelay2") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008796/0.0008797, allocations: 201.6 kB / 17.43 MB, free: 4.375 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.185/1.185, allocations: 229.5 MB / 247.7 MB, free: 6.324 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007167/0.0007167, allocations: 93.09 kB / 299.8 MB, free: 5.34 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2807/0.2807, allocations: 45 MB / 397 MB, free: 31.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002256/0.0002257, allocations: 8 kB / 470.8 MB, free: 7.102 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2361/0.2363, allocations: 63.09 MB / 0.5214 GB, free: 38.38 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.001426/0.2378, allocations: 1.522 MB / 0.5228 GB, free: 37.27 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001605/0.2394, allocations: 2.024 MB / 0.5248 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.696e-05/0.2395, allocations: 0 / 0.5248 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 9.186e-05/0.2396, allocations: 21.89 kB / 0.5248 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 5.452e-05/0.2396, allocations: 21.86 kB / 0.5249 GB, free: 35.58 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008888/0.2405, allocations: 480.4 kB / 0.5253 GB, free: 35.4 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001814/0.2407, allocations: 274 kB / 0.5256 GB, free: 35.29 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.98e-05/0.2408, allocations: 41.44 kB / 0.5256 GB, free: 35.27 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001418/0.241, allocations: 100.4 kB / 0.5257 GB, free: 35.23 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001358/0.2411, allocations: 160.1 kB / 0.5259 GB, free: 35.18 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.057e-05/0.2412, allocations: 15.53 kB / 0.5259 GB, free: 35.18 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006775/0.2418, allocations: 0.6918 MB / 0.5266 GB, free: 34.98 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.139e-05/0.2419, allocations: 96.75 kB / 0.5267 GB, free: 34.95 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.807e-05/0.242, allocations: 146 kB / 0.5268 GB, free: 34.85 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007066/0.2427, allocations: 1.052 MB / 0.5278 GB, free: 34.63 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.2428, allocations: 0 / 0.5278 GB, free: 34.63 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2428, allocations: 0 / 0.5278 GB, free: 34.63 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.2428, allocations: 0 / 0.5278 GB, free: 34.63 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.0007613/0.2435, allocations: 0.681 MB / 0.5285 GB, free: 34.11 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.475e-05/0.2436, allocations: 14.28 kB / 0.5285 GB, free: 34.11 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001356/0.2437, allocations: 44.78 kB / 0.5285 GB, free: 34.09 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002055/0.2439, allocations: 281.2 kB / 0.5288 GB, free: 33.84 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.2439, allocations: 10.25 kB / 0.5288 GB, free: 33.83 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.008e-05/0.244, allocations: 27.78 kB / 0.5288 GB, free: 33.82 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003611/0.2444, allocations: 283.2 kB / 0.5291 GB, free: 33.7 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.2444, allocations: 0 / 0.5291 GB, free: 33.7 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.974e-05/0.2444, allocations: 7.938 kB / 0.5291 GB, free: 33.7 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.2444, allocations: 5.594 kB / 0.5291 GB, free: 33.7 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003348/0.2448, allocations: 226.1 kB / 0.5293 GB, free: 33.64 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008723/0.2456, allocations: 0.7601 MB / 0.5301 GB, free: 33.14 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003315/0.246, allocations: 296.4 kB / 0.5304 GB, free: 33.01 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000224/0.2462, allocations: 196.9 kB / 0.5306 GB, free: 32.93 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.276e-05/0.2463, allocations: 6.75 kB / 0.5306 GB, free: 32.93 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.557e-05/0.2463, allocations: 41.25 kB / 0.5306 GB, free: 32.88 MB / 378.7 MB Notification: Performance of pre-optimization done (n=24): time 1.263e-06/0.2463, allocations: 0 / 0.5306 GB, free: 32.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=24): time 0.0007641/0.247, allocations: 0.5496 MB / 0.5311 GB, free: 32.68 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.8e-05/0.2471, allocations: 83.55 kB / 0.5312 GB, free: 32.58 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002242/0.2473, allocations: 351.2 kB / 0.5316 GB, free: 32.4 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.2473, allocations: 29.7 kB / 0.5316 GB, free: 32.36 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.047e-05/0.2474, allocations: 152 kB / 0.5317 GB, free: 32.23 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.782e-05/0.2474, allocations: 95.59 kB / 0.5318 GB, free: 32.16 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.891e-05/0.2475, allocations: 8 kB / 0.5318 GB, free: 32.15 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.082e-05/0.2475, allocations: 347.2 kB / 0.5322 GB, free: 31.82 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003262/0.2479, allocations: 285.9 kB / 0.5324 GB, free: 31.73 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003531/0.2482, allocations: 345.2 kB / 0.5328 GB, free: 31.6 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003068/0.2513, allocations: 1.776 MB / 0.5345 GB, free: 31.09 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.2513, allocations: 3.938 kB / 0.5345 GB, free: 31.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0008641/0.2522, allocations: 0.7662 MB / 0.5352 GB, free: 30.79 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/0.2522, allocations: 5.312 kB / 0.5353 GB, free: 30.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.638e-05/0.2522, allocations: 7.781 kB / 0.5353 GB, free: 30.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.2522, allocations: 3 kB / 0.5353 GB, free: 30.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004226/0.2527, allocations: 101.4 kB / 0.5354 GB, free: 30.78 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.2527, allocations: 4.188 kB / 0.5354 GB, free: 30.78 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000154/0.2528, allocations: 64.69 kB / 0.5354 GB, free: 30.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.635e-05/0.2529, allocations: 14.3 kB / 0.5354 GB, free: 30.73 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.0001632/0.253, allocations: 187.9 kB / 0.5356 GB, free: 30.58 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.681e-05/0.2531, allocations: 29.88 kB / 0.5356 GB, free: 30.56 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.373e-05/0.2532, allocations: 39.48 kB / 0.5357 GB, free: 30.53 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.2532, allocations: 6.828 kB / 0.5357 GB, free: 30.53 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.2532, allocations: 2.562 kB / 0.5357 GB, free: 30.53 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/0.2532, allocations: 1.359 kB / 0.5357 GB, free: 30.53 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003097/0.2535, allocations: 336 kB / 0.536 GB, free: 30.28 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.2535, allocations: 0 / 0.536 GB, free: 30.28 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003637/0.2539, allocations: 53.53 kB / 0.5361 GB, free: 30.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.2539, allocations: 0 / 0.5361 GB, free: 30.27 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.457e-05/0.254, allocations: 20.91 kB / 0.5361 GB, free: 30.26 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.254, allocations: 3.938 kB / 0.5361 GB, free: 30.26 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.254, allocations: 0 / 0.5361 GB, free: 30.26 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007782/0.2548, allocations: 0.7582 MB / 0.5368 GB, free: 29.86 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.2e-05/0.2548, allocations: 109.9 kB / 0.5369 GB, free: 29.75 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.413e-05/0.2549, allocations: 12.59 kB / 0.5369 GB, free: 29.74 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000197/0.2551, allocations: 12.77 kB / 0.537 GB, free: 29.74 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.475e-05/0.2551, allocations: 23.88 kB / 0.537 GB, free: 29.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.912e-05/0.2551, allocations: 8.047 kB / 0.537 GB, free: 29.73 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001436/0.2553, allocations: 219.1 kB / 0.5372 GB, free: 29.61 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2553, allocations: 0 / 0.5372 GB, free: 29.61 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005374/0.2558, allocations: 250.3 kB / 0.5374 GB, free: 29.59 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.000381/0.2562, allocations: 256.9 kB / 0.5377 GB, free: 29.46 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008179/0.2571, allocations: 0.7412 MB / 0.5384 GB, free: 29.11 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.2571, allocations: 1.062 kB / 0.5384 GB, free: 29.11 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002829/0.2574, allocations: 194.7 kB / 0.5386 GB, free: 29.05 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004192/0.2578, allocations: 39.72 kB / 0.5386 GB, free: 29.04 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.2588, allocations: 1.067 MB / 0.5397 GB, free: 28.44 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000226/0.2591, allocations: 0.8028 MB / 0.5405 GB, free: 27.74 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001684/0.2592, allocations: 78.78 kB / 0.5405 GB, free: 27.72 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.965e-05/0.2593, allocations: 21.61 kB / 0.5406 GB, free: 27.71 MB / 378.7 MB Notification: Performance of SimCode: time 2.61e-07/0.2593, allocations: 0 / 0.5406 GB, free: 27.71 MB / 378.7 MB Notification: Performance of Templates: time 0.009326/0.2687, allocations: 6.294 MB / 0.5467 GB, free: 25.51 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Blocks.PadeDelay2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches