Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.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) 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(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|quarterCylinder1.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009549/0.0009549, allocations: 199.9 kB / 17.43 MB, free: 4.277 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.269/1.269, allocations: 229.5 MB / 247.7 MB, free: 6.332 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007563/0.0007563, allocations: 91.69 kB / 299.9 MB, free: 5.332 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002069/0.0002069, allocations: 8 kB / 360.7 MB, free: 8.453 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2129/0.2131, allocations: 51.41 MB / 412.1 MB, free: 25.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.00351/0.2167, allocations: 4.506 MB / 416.6 MB, free: 21.38 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00269/0.2194, allocations: 2.56 MB / 419.1 MB, free: 18.59 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002852/0.2197, allocations: 16 kB / 419.1 MB, free: 18.58 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005324/0.2203, allocations: 262.9 kB / 419.4 MB, free: 18.32 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006404/0.2209, allocations: 274.3 kB / 419.7 MB, free: 18.05 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001093/0.222, allocations: 1.135 MB / 420.8 MB, free: 16.79 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005919/0.2226, allocations: 0.7853 MB / 421.6 MB, free: 16 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002187/0.2248, allocations: 2.582 MB / 424.2 MB, free: 13.11 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003514/0.2252, allocations: 302.7 kB / 424.5 MB, free: 12.81 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003109/0.2255, allocations: 410.2 kB / 424.9 MB, free: 12.41 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.369e-05/0.2256, allocations: 39.94 kB / 424.9 MB, free: 12.37 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004382/0.226, allocations: 207.8 kB / 425.1 MB, free: 12.16 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.203e-05/0.2261, allocations: 143.2 kB / 425.2 MB, free: 12.02 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000223/0.2263, allocations: 395.7 kB / 425.6 MB, free: 11.63 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007673/0.2271, allocations: 1.15 MB / 426.8 MB, free: 10.48 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2271, allocations: 0 / 426.8 MB, free: 10.48 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2271, allocations: 0 / 426.8 MB, free: 10.48 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.587e-06/0.2271, allocations: 0 / 426.8 MB, free: 10.48 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.00305/0.2302, allocations: 1.28 MB / 428.1 MB, free: 9.145 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.2302, allocations: 8.031 kB / 428.1 MB, free: 9.137 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001481/0.2317, allocations: 255.7 kB / 428.3 MB, free: 8.887 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001846/0.2319, allocations: 261.8 kB / 428.6 MB, free: 8.594 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.288e-05/0.232, allocations: 74.38 kB / 428.7 MB, free: 8.523 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001172/0.2321, allocations: 108.3 kB / 428.8 MB, free: 8.418 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001282/0.2334, allocations: 0.9308 MB / 429.7 MB, free: 7.473 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.953e-05/0.2334, allocations: 11.98 kB / 429.7 MB, free: 7.461 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.635e-05/0.2335, allocations: 36 kB / 429.7 MB, free: 7.426 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.458e-05/0.2335, allocations: 24 kB / 429.8 MB, free: 7.402 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001042/0.2345, allocations: 0.773 MB / 430.5 MB, free: 6.633 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004031/0.2386, allocations: 3.645 MB / 434.2 MB, free: 2.742 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001502/0.2401, allocations: 1.241 MB / 435.4 MB, free: 1.406 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004133/0.2405, allocations: 365.2 kB / 435.8 MB, free: 1.043 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001041/0.2406, allocations: 187.2 kB / 436 MB, free: 0.8242 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.839e-05/0.2407, allocations: 39.56 kB / 436 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of pre-optimization done (n=87): time 2.705e-06/0.2407, allocations: 7.938 kB / 436 MB, free: 0.7695 MB / 298.7 MB Notification: Performance of matching and sorting (n=87): time 0.00189/0.2426, allocations: 1.3 MB / 437.3 MB, free: 15.38 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.554e-05/0.2426, allocations: 86.11 kB / 437.4 MB, free: 15.28 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003891/0.243, allocations: 368.2 kB / 437.7 MB, free: 14.91 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.938e-05/0.2431, allocations: 45.64 kB / 437.8 MB, free: 14.86 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000225/0.2433, allocations: 382.9 kB / 438.2 MB, free: 14.48 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002066/0.2435, allocations: 291.7 kB / 438.4 MB, free: 14.19 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-05/0.2436, allocations: 20 kB / 438.5 MB, free: 14.17 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.2437, allocations: 362.8 kB / 438.8 MB, free: 13.8 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004261/0.2442, allocations: 262.5 kB / 439.1 MB, free: 13.55 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005665/0.2447, allocations: 467.4 kB / 439.5 MB, free: 13.02 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001052/0.2458, allocations: 0.7666 MB / 440.3 MB, free: 12.17 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.561e-06/0.2458, allocations: 4 kB / 440.3 MB, free: 12.17 MB / 314.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001502/0.2473, allocations: 0.9651 MB / 441.3 MB, free: 11.18 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.2474, allocations: 8 kB / 441.3 MB, free: 11.18 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.2474, allocations: 4 kB / 441.3 MB, free: 11.17 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003957/0.2478, allocations: 127.3 kB / 441.4 MB, free: 11.04 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007576/0.2485, allocations: 203.7 kB / 441.6 MB, free: 10.84 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00387/0.2524, allocations: 5.586 MB / 447.2 MB, free: 4.711 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005467/0.253, allocations: 98.88 kB / 447.3 MB, free: 4.613 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.683e-05/0.253, allocations: 36 kB / 447.3 MB, free: 4.578 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.0003228/0.2534, allocations: 234.5 kB / 447.6 MB, free: 4.34 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.373e-05/0.2535, allocations: 51.38 kB / 447.6 MB, free: 4.289 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001351/0.2548, allocations: 0.8403 MB / 448.4 MB, free: 3.43 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.2549, allocations: 8 kB / 448.5 MB, free: 3.422 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/0.2549, allocations: 7.938 kB / 448.5 MB, free: 3.414 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.2549, allocations: 7.984 kB / 448.5 MB, free: 3.406 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002711/0.2576, allocations: 2.086 MB / 450.6 MB, free: 1.152 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.573e-06/0.2576, allocations: 4 kB / 450.6 MB, free: 1.148 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005525/0.2582, allocations: 131.8 kB / 450.7 MB, free: 1.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002723/0.2585, allocations: 107.6 kB / 450.8 MB, free: 0.9023 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.214e-05/0.2585, allocations: 20 kB / 450.8 MB, free: 0.8828 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003351/0.2619, allocations: 5.307 MB / 456.1 MB, free: 11.04 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.2619, allocations: 0 / 456.1 MB, free: 11.04 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001658/0.2636, allocations: 1.264 MB / 457.4 MB, free: 9.719 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001435/0.2637, allocations: 148.2 kB / 457.5 MB, free: 9.555 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.208e-05/0.2638, allocations: 27.92 kB / 457.6 MB, free: 9.527 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003576/0.2642, allocations: 16 kB / 457.6 MB, free: 9.512 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/0.2643, allocations: 64.52 kB / 457.6 MB, free: 9.449 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-05/0.2643, allocations: 24 kB / 457.7 MB, free: 9.426 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002768/0.2646, allocations: 255.2 kB / 457.9 MB, free: 9.176 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.2646, allocations: 4.062 kB / 457.9 MB, free: 9.172 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008842/0.2655, allocations: 259.4 kB / 458.2 MB, free: 8.918 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.0002659/0.2658, allocations: 170.9 kB / 458.3 MB, free: 8.742 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001519/0.2673, allocations: 1.164 MB / 459.5 MB, free: 7.527 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.2673, allocations: 0 / 459.5 MB, free: 7.527 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008043/0.2681, allocations: 0.7932 MB / 460.3 MB, free: 6.684 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005863/0.2687, allocations: 65.36 kB / 460.4 MB, free: 6.621 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002414/0.2711, allocations: 1.793 MB / 462.1 MB, free: 4.773 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004572/0.2716, allocations: 0.9149 MB / 463.1 MB, free: 3.832 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005184/0.2721, allocations: 109 kB / 463.2 MB, free: 3.723 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001513/0.2723, allocations: 51.42 kB / 463.2 MB, free: 3.672 MB / 330.7 MB Notification: Performance of SimCode: time 4.31e-07/0.2723, allocations: 4 kB / 463.2 MB, free: 3.668 MB / 330.7 MB Notification: Performance of Templates: time 0.01179/0.2841, allocations: 6.837 MB / 470.1 MB, free: 12.85 MB / 346.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches