Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.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) 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(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|quarterCylinder1.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009451/0.0009451, allocations: 179.7 kB / 17.36 MB, free: 4.195 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.3/1.3, allocations: 205.6 MB / 223.7 MB, free: 8.941 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.0007054/0.0007054, allocations: 94.67 kB / 272.1 MB, free: 8.121 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000247/0.000247, allocations: 8 kB / 329 MB, free: 15.06 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.189/0.1892, allocations: 47.58 MB / 376.6 MB, free: 45.59 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.003766/0.1931, allocations: 4.474 MB / 381.1 MB, free: 42.09 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002571/0.1957, allocations: 2.313 MB / 383.4 MB, free: 39.93 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002844/0.196, allocations: 16.88 kB / 383.4 MB, free: 39.93 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005953/0.1966, allocations: 267.6 kB / 383.7 MB, free: 39.76 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000615/0.1972, allocations: 269.5 kB / 383.9 MB, free: 39.54 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001439/0.1986, allocations: 1.518 MB / 385.5 MB, free: 38.04 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007539/0.1994, allocations: 0.7655 MB / 386.2 MB, free: 37.6 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002381/0.2018, allocations: 2.587 MB / 388.8 MB, free: 35.13 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003528/0.2022, allocations: 297 kB / 389.1 MB, free: 34.97 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003809/0.2025, allocations: 418.5 kB / 389.5 MB, free: 34.72 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.512e-05/0.2026, allocations: 35.91 kB / 389.5 MB, free: 34.72 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004598/0.2031, allocations: 208.3 kB / 389.7 MB, free: 34.64 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.202e-05/0.2032, allocations: 127.7 kB / 389.9 MB, free: 34.54 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002382/0.2034, allocations: 403.4 kB / 390.3 MB, free: 34.16 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007291/0.2042, allocations: 1.122 MB / 391.4 MB, free: 33.04 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2042, allocations: 0 / 391.4 MB, free: 33.04 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2042, allocations: 4 kB / 391.4 MB, free: 33.04 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.506e-06/0.2042, allocations: 0 / 391.4 MB, free: 33.04 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.003114/0.2073, allocations: 1.28 MB / 392.7 MB, free: 31.7 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.2074, allocations: 16.03 kB / 392.7 MB, free: 31.69 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001526/0.2089, allocations: 251.7 kB / 392.9 MB, free: 31.44 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001617/0.2091, allocations: 267.3 kB / 393.2 MB, free: 31.14 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.831e-05/0.2091, allocations: 74.38 kB / 393.3 MB, free: 31.07 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001447/0.2093, allocations: 100.3 kB / 393.4 MB, free: 30.98 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001229/0.2105, allocations: 0.9383 MB / 394.3 MB, free: 30.02 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.797e-05/0.2105, allocations: 7.938 kB / 394.3 MB, free: 30.02 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.939e-05/0.2106, allocations: 40 kB / 394.3 MB, free: 29.98 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.575e-05/0.2106, allocations: 24 kB / 394.4 MB, free: 29.95 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001127/0.2118, allocations: 0.7767 MB / 395.1 MB, free: 29.18 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0038/0.2156, allocations: 3.388 MB / 398.5 MB, free: 25.6 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001471/0.2171, allocations: 1.245 MB / 399.8 MB, free: 24.27 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004339/0.2175, allocations: 374.9 kB / 400.1 MB, free: 23.91 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.708e-05/0.2176, allocations: 110 kB / 400.3 MB, free: 23.78 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.689e-05/0.2176, allocations: 39.56 kB / 400.3 MB, free: 23.73 MB / 298.7 MB Notification: Performance of pre-optimization done (n=87): time 2.104e-06/0.2176, allocations: 4 kB / 400.3 MB, free: 23.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=87): time 0.001672/0.2193, allocations: 1.3 MB / 401.6 MB, free: 22.34 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.845e-05/0.2194, allocations: 90.11 kB / 401.7 MB, free: 22.23 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002991/0.2197, allocations: 364.3 kB / 402 MB, free: 21.87 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.927e-05/0.2197, allocations: 41.7 kB / 402.1 MB, free: 21.82 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001407/0.2199, allocations: 382.8 kB / 402.5 MB, free: 21.44 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001265/0.22, allocations: 299.7 kB / 402.7 MB, free: 21.14 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.525e-05/0.22, allocations: 20 kB / 402.8 MB, free: 21.12 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.597e-05/0.2201, allocations: 358.8 kB / 403.1 MB, free: 20.76 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003581/0.2205, allocations: 266.5 kB / 403.4 MB, free: 20.5 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004271/0.2209, allocations: 467.4 kB / 403.8 MB, free: 19.97 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008279/0.2217, allocations: 0.7744 MB / 404.6 MB, free: 19.12 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.2218, allocations: 0 / 404.6 MB, free: 19.12 MB / 298.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001262/0.223, allocations: 0.9606 MB / 405.6 MB, free: 18.14 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.2231, allocations: 8.688 kB / 405.6 MB, free: 18.13 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.2231, allocations: 8 kB / 405.6 MB, free: 18.12 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000334/0.2234, allocations: 123.3 kB / 405.7 MB, free: 17.99 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006813/0.2241, allocations: 203.7 kB / 405.9 MB, free: 17.79 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002611/0.2267, allocations: 5.566 MB / 411.5 MB, free: 11.69 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000512/0.2273, allocations: 99.09 kB / 411.6 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.709e-05/0.2273, allocations: 43.98 kB / 411.6 MB, free: 11.55 MB / 298.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.0002714/0.2276, allocations: 229.5 kB / 411.8 MB, free: 11.31 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.561e-05/0.2277, allocations: 59.34 kB / 411.9 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001208/0.2289, allocations: 0.8443 MB / 412.7 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.513e-06/0.2289, allocations: 12 kB / 412.7 MB, free: 10.37 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.2289, allocations: 3.938 kB / 412.8 MB, free: 10.37 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.2289, allocations: 7.969 kB / 412.8 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002249/0.2312, allocations: 1.924 MB / 414.7 MB, free: 8.305 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.94e-06/0.2312, allocations: 4 kB / 414.7 MB, free: 8.301 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005274/0.2318, allocations: 135.8 kB / 414.8 MB, free: 8.168 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000245/0.232, allocations: 107.3 kB / 414.9 MB, free: 8.051 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.695e-05/0.2321, allocations: 27.97 kB / 415 MB, free: 8.023 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002319/0.2344, allocations: 5.291 MB / 420.2 MB, free: 2.203 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.2344, allocations: 4 kB / 420.2 MB, free: 2.199 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00136/0.2358, allocations: 1.26 MB / 421.5 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/0.2359, allocations: 148.3 kB / 421.7 MB, free: 0.7188 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.902e-05/0.236, allocations: 23.88 kB / 421.7 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003643/0.2363, allocations: 23.98 kB / 421.7 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.477e-05/0.2364, allocations: 60.64 kB / 421.8 MB, free: 0.6133 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-05/0.2365, allocations: 31.94 kB / 421.8 MB, free: 0.582 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002041/0.2367, allocations: 251.2 kB / 422 MB, free: 344 kB / 298.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2367, allocations: 0 / 422 MB, free: 344 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008395/0.2375, allocations: 263.4 kB / 422.3 MB, free: 80 kB / 298.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.0002379/0.2378, allocations: 164.5 kB / 422.5 MB, free: 15.91 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001617/0.2394, allocations: 1.162 MB / 423.6 MB, free: 14.7 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.2394, allocations: 4.188 kB / 423.6 MB, free: 14.69 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008485/0.2403, allocations: 0.7912 MB / 424.4 MB, free: 13.85 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005921/0.2409, allocations: 57.42 kB / 424.5 MB, free: 13.79 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002734/0.2436, allocations: 1.804 MB / 426.3 MB, free: 11.93 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005666/0.2442, allocations: 0.9148 MB / 427.2 MB, free: 10.99 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005558/0.2448, allocations: 109.1 kB / 427.3 MB, free: 10.88 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001542/0.2449, allocations: 55.42 kB / 427.3 MB, free: 10.82 MB / 314.7 MB Notification: Performance of SimCode: time 6.21e-07/0.245, allocations: 0 / 427.3 MB, free: 10.82 MB / 314.7 MB Notification: Performance of Templates: time 0.01301/0.258, allocations: 6.758 MB / 434.1 MB, free: 4.086 MB / 314.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.csv","../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches