Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.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) 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(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|quarterCylinder1.port_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|quarterCylinder1.port_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000911/0.0009112, allocations: 183.2 kB / 16.71 MB, free: 4.969 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.216/1.216, allocations: 225.7 MB / 243.2 MB, free: 8.508 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.0007017/0.0007017, allocations: 90.58 kB / 294.4 MB, free: 9.508 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002254/0.0002254, allocations: 11.94 kB / 354.2 MB, free: 13.62 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.186/0.1863, allocations: 50.41 MB / 404.6 MB, free: 31.32 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.003442/0.1897, allocations: 4.506 MB / 409.1 MB, free: 26.8 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002076/0.1918, allocations: 2.273 MB / 411.4 MB, free: 24.36 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002258/0.1921, allocations: 20 kB / 411.4 MB, free: 24.34 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004426/0.1925, allocations: 262.9 kB / 411.6 MB, free: 24.09 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005254/0.1931, allocations: 266.3 kB / 411.9 MB, free: 23.82 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001207/0.1943, allocations: 1.513 MB / 413.4 MB, free: 22.12 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005729/0.1949, allocations: 0.7701 MB / 414.2 MB, free: 21.35 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002215/0.1971, allocations: 2.593 MB / 416.8 MB, free: 18.45 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002759/0.1974, allocations: 294.6 kB / 417.1 MB, free: 18.16 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004374/0.1978, allocations: 406.2 kB / 417.5 MB, free: 17.76 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.441e-05/0.1979, allocations: 36 kB / 417.5 MB, free: 17.73 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004354/0.1983, allocations: 211.8 kB / 417.7 MB, free: 17.52 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.209e-05/0.1984, allocations: 131.3 kB / 417.8 MB, free: 17.39 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002312/0.1987, allocations: 399.7 kB / 418.2 MB, free: 16.99 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007902/0.1995, allocations: 1.138 MB / 419.4 MB, free: 15.85 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.1995, allocations: 4 kB / 419.4 MB, free: 15.85 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.105e-06/0.1995, allocations: 4 kB / 419.4 MB, free: 15.84 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.1995, allocations: 0 / 419.4 MB, free: 15.84 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.00352/0.203, allocations: 1.273 MB / 420.6 MB, free: 14.52 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.2031, allocations: 12.03 kB / 420.7 MB, free: 14.51 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001448/0.2045, allocations: 255.7 kB / 420.9 MB, free: 14.26 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000199/0.2048, allocations: 263.2 kB / 421.2 MB, free: 13.96 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.246e-05/0.2048, allocations: 74.38 kB / 421.2 MB, free: 13.89 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001114/0.2049, allocations: 100.3 kB / 421.3 MB, free: 13.79 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001238/0.2062, allocations: 0.9346 MB / 422.3 MB, free: 12.84 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.624e-05/0.2062, allocations: 8 kB / 422.3 MB, free: 12.84 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.454e-05/0.2063, allocations: 40 kB / 422.3 MB, free: 12.8 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.534e-05/0.2063, allocations: 23.98 kB / 422.3 MB, free: 12.77 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001018/0.2073, allocations: 0.7731 MB / 423.1 MB, free: 12 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003786/0.2111, allocations: 3.4 MB / 426.5 MB, free: 8.418 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001438/0.2126, allocations: 1.248 MB / 427.8 MB, free: 7.078 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000418/0.213, allocations: 369.1 kB / 428.1 MB, free: 6.715 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.224e-05/0.2131, allocations: 98.09 kB / 428.2 MB, free: 6.602 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.864e-05/0.2131, allocations: 39.56 kB / 428.3 MB, free: 6.555 MB / 298.7 MB Notification: Performance of pre-optimization done (n=87): time 2.775e-06/0.2131, allocations: 0 / 428.3 MB, free: 6.555 MB / 298.7 MB Notification: Performance of matching and sorting (n=87): time 0.001637/0.2148, allocations: 1.308 MB / 429.6 MB, free: 5.152 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.309e-05/0.2148, allocations: 90.11 kB / 429.7 MB, free: 5.047 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002849/0.2151, allocations: 368.2 kB / 430 MB, free: 4.68 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.808e-05/0.2151, allocations: 41.7 kB / 430.1 MB, free: 4.633 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/0.2152, allocations: 366.9 kB / 430.4 MB, free: 4.266 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001167/0.2154, allocations: 303.6 kB / 430.7 MB, free: 3.965 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.458e-05/0.2154, allocations: 28.03 kB / 430.7 MB, free: 3.938 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.029e-05/0.2155, allocations: 358.8 kB / 431.1 MB, free: 3.578 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003507/0.2158, allocations: 266.5 kB / 431.3 MB, free: 3.32 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004135/0.2163, allocations: 463.4 kB / 431.8 MB, free: 2.789 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008127/0.2171, allocations: 0.7744 MB / 432.6 MB, free: 1.938 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.2171, allocations: 0 / 432.6 MB, free: 1.938 MB / 298.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001193/0.2183, allocations: 0.969 MB / 433.5 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.2183, allocations: 8 kB / 433.6 MB, free: 0.9414 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.417e-06/0.2183, allocations: 4 kB / 433.6 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000301/0.2186, allocations: 127.4 kB / 433.7 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006577/0.2193, allocations: 203.7 kB / 433.9 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003605/0.2229, allocations: 5.564 MB / 439.4 MB, free: 10.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005659/0.2235, allocations: 102.9 kB / 439.5 MB, free: 10.4 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.945e-05/0.2236, allocations: 40 kB / 439.6 MB, free: 10.36 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (120): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003105/0.2239, allocations: 229.5 kB / 439.8 MB, free: 10.12 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.409e-05/0.224, allocations: 59.44 kB / 439.9 MB, free: 10.07 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001419/0.2254, allocations: 0.8441 MB / 440.7 MB, free: 9.203 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.887e-06/0.2254, allocations: 12 kB / 440.7 MB, free: 9.191 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.2255, allocations: 3.938 kB / 440.7 MB, free: 9.188 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.2255, allocations: 3.984 kB / 440.7 MB, free: 9.184 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002541/0.228, allocations: 1.928 MB / 442.7 MB, free: 7.121 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.228, allocations: 4 kB / 442.7 MB, free: 7.117 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005387/0.2286, allocations: 131.8 kB / 442.8 MB, free: 6.988 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002908/0.2289, allocations: 111.6 kB / 442.9 MB, free: 6.867 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.835e-05/0.2289, allocations: 23.98 kB / 442.9 MB, free: 6.844 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002982/0.2319, allocations: 5.31 MB / 448.2 MB, free: 1.004 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.2319, allocations: 4 kB / 448.2 MB, free: 1 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001607/0.2336, allocations: 1.26 MB / 449.5 MB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001226/0.2337, allocations: 148.3 kB / 449.6 MB, free: 15.52 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.329e-05/0.2338, allocations: 31.98 kB / 449.7 MB, free: 15.49 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003515/0.2341, allocations: 16 kB / 449.7 MB, free: 15.47 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.2342, allocations: 56.58 kB / 449.7 MB, free: 15.42 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.129e-05/0.2343, allocations: 28 kB / 449.8 MB, free: 15.39 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000258/0.2345, allocations: 251.2 kB / 450 MB, free: 15.14 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2346, allocations: 3.938 kB / 450 MB, free: 15.14 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008189/0.2354, allocations: 263.4 kB / 450.3 MB, free: 14.88 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 1 (constantSource.port_p.reference.gamma) * 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 (78): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002611/0.2356, allocations: 164 kB / 450.4 MB, free: 14.71 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001575/0.2372, allocations: 1.165 MB / 451.6 MB, free: 13.5 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.2373, allocations: 0 / 451.6 MB, free: 13.5 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007917/0.238, allocations: 0.7892 MB / 452.4 MB, free: 12.65 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005694/0.2386, allocations: 70.42 kB / 452.5 MB, free: 12.58 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002602/0.2412, allocations: 1.795 MB / 454.3 MB, free: 10.73 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004984/0.2418, allocations: 0.9227 MB / 455.2 MB, free: 9.781 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005303/0.2423, allocations: 105 kB / 455.3 MB, free: 9.676 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001485/0.2425, allocations: 55.42 kB / 455.3 MB, free: 9.625 MB / 330.7 MB Notification: Performance of SimCode: time 4.31e-07/0.2425, allocations: 0 / 455.3 MB, free: 9.625 MB / 330.7 MB Notification: Performance of Templates: time 0.0126/0.2551, allocations: 6.787 MB / 462.1 MB, free: 2.855 MB / 330.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.csv","../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches