Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Blocks.PadeDelay2") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008711/0.0008712, allocations: 178.7 kB / 16.08 MB, free: 5.234 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.197/1.197, allocations: 205.6 MB / 222.4 MB, free: 8.93 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007814/0.0007814, allocations: 90.88 kB / 270.8 MB, free: 8.117 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2889/0.2889, allocations: 43.67 MB / 362.7 MB, free: 51.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002964/0.0002964, allocations: 8 kB / 432.3 MB, free: 4.789 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09349/0.09381, allocations: 58.85 MB / 491.2 MB, free: 9.797 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.001662/0.09551, allocations: 1.506 MB / 492.7 MB, free: 8.277 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001966/0.09751, allocations: 1.79 MB / 494.4 MB, free: 6.387 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.865e-05/0.09758, allocations: 4 kB / 494.5 MB, free: 6.383 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001212/0.09771, allocations: 23.8 kB / 494.5 MB, free: 6.359 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 6.322e-05/0.09778, allocations: 23.78 kB / 494.5 MB, free: 6.336 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001099/0.09889, allocations: 487.1 kB / 495 MB, free: 5.859 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002346/0.09913, allocations: 263.3 kB / 495.2 MB, free: 5.602 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.09925, allocations: 44.28 kB / 495.3 MB, free: 5.562 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000138/0.0994, allocations: 99.53 kB / 495.4 MB, free: 5.465 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001743/0.09958, allocations: 151.5 kB / 495.5 MB, free: 5.316 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.351e-05/0.09962, allocations: 12 kB / 495.5 MB, free: 5.305 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000837/0.1005, allocations: 0.6862 MB / 496.2 MB, free: 4.617 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001065/0.1006, allocations: 99.7 kB / 496.3 MB, free: 4.52 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001243/0.1007, allocations: 152.9 kB / 496.5 MB, free: 4.363 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009732/0.1017, allocations: 1.048 MB / 497.5 MB, free: 3.312 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1017, allocations: 0 / 497.5 MB, free: 3.312 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1017, allocations: 0 / 497.5 MB, free: 3.312 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.1017, allocations: 0 / 497.5 MB, free: 3.312 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.0009804/0.1027, allocations: 0.6848 MB / 498.2 MB, free: 2.582 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.061e-05/0.1028, allocations: 8.031 kB / 498.2 MB, free: 2.574 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.78e-05/0.1028, allocations: 32.56 kB / 498.2 MB, free: 2.543 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002892/0.1031, allocations: 280 kB / 498.5 MB, free: 2.234 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.387e-05/0.1032, allocations: 20 kB / 498.5 MB, free: 2.215 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.184e-05/0.1032, allocations: 23.89 kB / 498.6 MB, free: 2.191 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004407/0.1037, allocations: 271.2 kB / 498.8 MB, free: 1.914 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.1037, allocations: 3.938 kB / 498.8 MB, free: 1.91 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.165e-05/0.1037, allocations: 4 kB / 498.8 MB, free: 1.906 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.1037, allocations: 4 kB / 498.8 MB, free: 1.902 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003978/0.1041, allocations: 235.8 kB / 499.1 MB, free: 1.672 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001111/0.1053, allocations: 0.7616 MB / 499.8 MB, free: 0.8555 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004192/0.1057, allocations: 293 kB / 0.4884 GB, free: 0.5508 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002798/0.106, allocations: 201.5 kB / 0.4886 GB, free: 356 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.405e-05/0.106, allocations: 8 kB / 0.4886 GB, free: 348 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.106, allocations: 34.5 kB / 0.4886 GB, free: 304 kB / 378.7 MB Notification: Performance of pre-optimization done (n=24): time 1.273e-06/0.1061, allocations: 0 / 0.4886 GB, free: 304 kB / 378.7 MB Notification: Performance of matching and sorting (n=24): time 0.1614/0.2675, allocations: 0.5457 MB / 0.4892 GB, free: 43.05 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.775e-05/0.2675, allocations: 81 kB / 0.4892 GB, free: 42.96 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003324/0.2679, allocations: 349.3 kB / 0.4896 GB, free: 42.86 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.781e-05/0.2679, allocations: 30.11 kB / 0.4896 GB, free: 42.82 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.456e-05/0.268, allocations: 139.1 kB / 0.4897 GB, free: 42.74 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.315e-05/0.268, allocations: 99.06 kB / 0.4898 GB, free: 42.69 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.121e-05/0.2681, allocations: 6.875 kB / 0.4898 GB, free: 42.69 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.034e-05/0.2681, allocations: 350 kB / 0.4902 GB, free: 42.38 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004104/0.2686, allocations: 291.3 kB / 0.4904 GB, free: 42.38 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004525/0.269, allocations: 350.1 kB / 0.4908 GB, free: 42.35 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003532/0.2726, allocations: 1.773 MB / 0.4925 GB, free: 42.28 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.2726, allocations: 0 / 0.4925 GB, free: 42.28 MB / 378.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001087/0.2737, allocations: 0.7723 MB / 0.4933 GB, free: 42.22 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.2737, allocations: 4.125 kB / 0.4933 GB, free: 42.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.612e-05/0.2737, allocations: 7.5 kB / 0.4933 GB, free: 42.22 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/0.2738, allocations: 2.75 kB / 0.4933 GB, free: 42.22 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005196/0.2743, allocations: 97.33 kB / 0.4934 GB, free: 42.22 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.2743, allocations: 5.625 kB / 0.4934 GB, free: 42.22 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001972/0.2745, allocations: 70.45 kB / 0.4934 GB, free: 42.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.054e-05/0.2745, allocations: 11.59 kB / 0.4934 GB, free: 42.18 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.0002128/0.2748, allocations: 180.4 kB / 0.4936 GB, free: 42.06 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.709e-05/0.2748, allocations: 30.16 kB / 0.4936 GB, free: 42.04 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.56e-05/0.2749, allocations: 40.67 kB / 0.4937 GB, free: 42.04 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.2749, allocations: 4.062 kB / 0.4937 GB, free: 42.04 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.2749, allocations: 2 kB / 0.4937 GB, free: 42.04 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.275, allocations: 1.031 kB / 0.4937 GB, free: 42.04 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003666/0.2753, allocations: 337.8 kB / 0.494 GB, free: 41.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.2753, allocations: 9.688 kB / 0.494 GB, free: 41.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003631/0.2757, allocations: 51.11 kB / 0.4941 GB, free: 41.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.2757, allocations: 1.922 kB / 0.4941 GB, free: 41.84 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.545e-05/0.2758, allocations: 13.08 kB / 0.4941 GB, free: 41.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.2758, allocations: 2.109 kB / 0.4941 GB, free: 41.84 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.2758, allocations: 0 / 0.4941 GB, free: 41.84 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009323/0.2767, allocations: 0.7603 MB / 0.4948 GB, free: 41.61 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.045e-05/0.2768, allocations: 112.3 kB / 0.4949 GB, free: 41.49 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.229e-05/0.2768, allocations: 13.69 kB / 0.495 GB, free: 41.49 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002445/0.2771, allocations: 15.45 kB / 0.495 GB, free: 41.49 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.838e-05/0.2772, allocations: 13.88 kB / 0.495 GB, free: 41.49 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.211e-05/0.2772, allocations: 11.69 kB / 0.495 GB, free: 41.49 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001864/0.2774, allocations: 221.1 kB / 0.4952 GB, free: 41.41 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2774, allocations: 4 kB / 0.4952 GB, free: 41.4 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007388/0.2781, allocations: 247.7 kB / 0.4954 GB, free: 41.4 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.000476/0.2786, allocations: 263.5 kB / 0.4957 GB, free: 41.31 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009438/0.2796, allocations: 0.7373 MB / 0.4964 GB, free: 41.18 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.2796, allocations: 1.562 kB / 0.4964 GB, free: 41.18 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003323/0.2799, allocations: 200.9 kB / 0.4966 GB, free: 41.17 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004717/0.2804, allocations: 42.09 kB / 0.4966 GB, free: 41.17 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/0.2815, allocations: 1.067 MB / 0.4977 GB, free: 40.68 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000204/0.2817, allocations: 0.804 MB / 0.4985 GB, free: 39.98 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001688/0.2819, allocations: 70.69 kB / 0.4985 GB, free: 39.98 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.989e-05/0.282, allocations: 23.78 kB / 0.4986 GB, free: 39.98 MB / 378.7 MB Notification: Performance of SimCode: time 3.21e-07/0.282, allocations: 4 kB / 0.4986 GB, free: 39.97 MB / 378.7 MB Notification: Performance of Templates: time 0.009698/0.2917, allocations: 6.293 MB / 0.5047 GB, free: 39.73 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/PadeDelay2/PadeDelay2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches