Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 112.5 kB / 17.68 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 190.9 kB / 18.62 MB, free: 4.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009798/0.0009798, allocations: 45.3 kB / 302.1 MB, free: 5.133 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09077/0.09177, allocations: 49.44 MB / 351.5 MB, free: 3.672 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.005957/0.09775, allocations: 5.243 MB / 356.7 MB, free: 14.4 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002701/0.1005, allocations: 1.685 MB / 358.4 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002169/0.1007, allocations: 16 kB / 358.4 MB, free: 12.69 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002795/0.1036, allocations: 1.418 MB / 359.9 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007031/0.1043, allocations: 313.7 kB / 360.2 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001446/0.1057, allocations: 0.8092 MB / 361 MB, free: 10.15 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007164/0.1065, allocations: 0.8208 MB / 361.8 MB, free: 9.324 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001007/0.1075, allocations: 0.7651 MB / 362.6 MB, free: 8.543 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003756/0.1079, allocations: 354.7 kB / 362.9 MB, free: 8.195 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005499/0.1084, allocations: 462.2 kB / 363.4 MB, free: 7.742 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.489e-05/0.1085, allocations: 79.94 kB / 363.4 MB, free: 7.664 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005831/0.1091, allocations: 255.8 kB / 363.7 MB, free: 7.414 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001597/0.1093, allocations: 183.2 kB / 363.9 MB, free: 7.234 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004089/0.1097, allocations: 425.9 kB / 364.3 MB, free: 6.816 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001244/0.111, allocations: 1.191 MB / 365.5 MB, free: 5.621 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.111, allocations: 0 / 365.5 MB, free: 5.621 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.111, allocations: 4 kB / 365.5 MB, free: 5.617 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.309e-05/0.111, allocations: 0 / 365.5 MB, free: 5.617 MB / 302.1 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.003915/0.1149, allocations: 1.443 MB / 366.9 MB, free: 4.121 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.115, allocations: 12.03 kB / 366.9 MB, free: 4.109 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001646/0.1166, allocations: 251.7 kB / 367.2 MB, free: 3.863 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002223/0.1169, allocations: 259.2 kB / 367.4 MB, free: 3.57 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.11e-05/0.1169, allocations: 70.38 kB / 367.5 MB, free: 3.504 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001434/0.1171, allocations: 104.3 kB / 367.6 MB, free: 3.402 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001423/0.1185, allocations: 0.9502 MB / 368.6 MB, free: 2.438 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.964e-05/0.1186, allocations: 3.938 kB / 368.6 MB, free: 2.434 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.739e-05/0.1186, allocations: 40 kB / 368.6 MB, free: 2.395 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.802e-05/0.1187, allocations: 24 kB / 368.6 MB, free: 2.371 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001233/0.1199, allocations: 0.7776 MB / 369.4 MB, free: 1.598 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1456/0.2655, allocations: 3.338 MB / 372.7 MB, free: 23.54 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001731/0.2673, allocations: 1.259 MB / 374 MB, free: 23.05 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004929/0.2678, allocations: 371.9 kB / 374.4 MB, free: 22.9 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000103/0.2679, allocations: 104.6 kB / 374.5 MB, free: 22.8 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.2679, allocations: 47.62 kB / 374.5 MB, free: 22.75 MB / 302.1 MB Notification: Performance of pre-optimization done (n=87): time 2.204e-06/0.2679, allocations: 0.9688 kB / 374.5 MB, free: 22.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=87): time 0.001996/0.2699, allocations: 1.306 MB / 375.8 MB, free: 21.97 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.136e-05/0.27, allocations: 88.03 kB / 375.9 MB, free: 21.88 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004254/0.2704, allocations: 368.4 kB / 376.3 MB, free: 21.68 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.36e-05/0.2705, allocations: 36.7 kB / 376.3 MB, free: 21.64 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001701/0.2706, allocations: 384.5 kB / 376.7 MB, free: 21.34 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001582/0.2708, allocations: 294.2 kB / 377 MB, free: 21.12 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000243/0.271, allocations: 175.2 kB / 377.1 MB, free: 21.03 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.469e-05/0.2711, allocations: 361.7 kB / 377.5 MB, free: 20.69 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004185/0.2716, allocations: 270.4 kB / 377.7 MB, free: 20.59 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005076/0.2721, allocations: 474.3 kB / 378.2 MB, free: 20.26 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000918/0.273, allocations: 0.7633 MB / 379 MB, free: 19.76 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.273, allocations: 4.219 kB / 379 MB, free: 19.76 MB / 302.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001499/0.2745, allocations: 0.9745 MB / 380 MB, free: 19.32 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.2745, allocations: 6.375 kB / 380 MB, free: 19.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.2746, allocations: 11.19 kB / 380 MB, free: 19.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003553/0.2749, allocations: 127.4 kB / 380.1 MB, free: 19.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007647/0.2757, allocations: 213.2 kB / 380.3 MB, free: 19.24 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003026/0.2787, allocations: 6.114 MB / 386.4 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005624/0.2793, allocations: 101 kB / 386.5 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-05/0.2794, allocations: 42.88 kB / 386.6 MB, free: 13.08 MB / 302.1 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.0002953/0.2797, allocations: 233.3 kB / 386.8 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.2798, allocations: 57.84 kB / 386.8 MB, free: 12.85 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001375/0.2812, allocations: 0.844 MB / 387.7 MB, free: 12.43 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/0.2812, allocations: 17.34 kB / 387.7 MB, free: 12.42 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.2812, allocations: 2.219 kB / 387.7 MB, free: 12.42 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.21e-05/0.2812, allocations: 5.578 kB / 387.7 MB, free: 12.42 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002745/0.284, allocations: 1.923 MB / 389.6 MB, free: 11.24 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.284, allocations: 6.062 kB / 389.6 MB, free: 11.24 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005864/0.2846, allocations: 139.2 kB / 389.8 MB, free: 11.22 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002703/0.2849, allocations: 107.6 kB / 389.9 MB, free: 11.17 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.626e-05/0.2849, allocations: 23.47 kB / 389.9 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002536/0.2875, allocations: 5.702 MB / 395.6 MB, free: 5.41 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.2875, allocations: 6.75 kB / 395.6 MB, free: 5.406 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001593/0.2891, allocations: 1.27 MB / 396.9 MB, free: 4.645 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001195/0.2892, allocations: 147.8 kB / 397 MB, free: 4.504 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.981e-05/0.2893, allocations: 18.7 kB / 397 MB, free: 4.492 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003732/0.2897, allocations: 26.16 kB / 397.1 MB, free: 4.477 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.2898, allocations: 62.58 kB / 397.1 MB, free: 4.465 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.366e-05/0.2898, allocations: 22.52 kB / 397.2 MB, free: 4.461 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002595/0.2901, allocations: 257.1 kB / 397.4 MB, free: 4.32 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2901, allocations: 0 / 397.4 MB, free: 4.32 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009903/0.2911, allocations: 267.3 kB / 397.7 MB, free: 4.254 MB / 302.1 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.0002445/0.2914, allocations: 155.9 kB / 397.8 MB, free: 4.137 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001657/0.293, allocations: 1.174 MB / 399 MB, free: 3.414 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.349e-06/0.2931, allocations: 0 / 399 MB, free: 3.414 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007864/0.2939, allocations: 0.7953 MB / 399.8 MB, free: 2.828 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005398/0.2944, allocations: 68.5 kB / 399.9 MB, free: 2.789 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00212/0.2965, allocations: 1.395 MB / 401.2 MB, free: 2.004 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003798/0.2969, allocations: 0.9155 MB / 402.2 MB, free: 1.289 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004429/0.2974, allocations: 106 kB / 402.3 MB, free: 1.246 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000141/0.2975, allocations: 47.7 kB / 402.3 MB, free: 1.238 MB / 302.1 MB Notification: Performance of SimCode: time 5.51e-07/0.2975, allocations: 4 kB / 402.3 MB, free: 1.234 MB / 302.1 MB Notification: Performance of Templates: time 0.01254/0.3101, allocations: 7.054 MB / 409.4 MB, free: 13.5 MB / 318.1 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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