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.000963/0.000963, allocations: 95.58 kB / 17.31 MB, free: 6.391 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.001051/0.001051, allocations: 174.5 kB / 18.21 MB, free: 5.551 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.115/1.115, allocations: 223.3 MB / 242.3 MB, free: 244 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002099/0.0002099, allocations: 7.938 kB / 302.1 MB, free: 6.133 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06872/0.06894, allocations: 50.42 MB / 352.5 MB, free: 3.703 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.004103/0.07306, allocations: 4.766 MB / 357.3 MB, free: 14.91 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002273/0.07534, allocations: 1.647 MB / 358.9 MB, free: 13.25 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002957/0.07565, allocations: 16 kB / 358.9 MB, free: 13.24 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005265/0.07618, allocations: 262.9 kB / 359.2 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006382/0.07683, allocations: 270.3 kB / 359.5 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001249/0.07809, allocations: 0.7706 MB / 360.2 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007042/0.0788, allocations: 0.774 MB / 361 MB, free: 11.17 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002138/0.08095, allocations: 1.493 MB / 362.5 MB, free: 9.645 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002971/0.08125, allocations: 298.7 kB / 362.8 MB, free: 9.352 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003786/0.08164, allocations: 402.2 kB / 363.2 MB, free: 8.957 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.511e-05/0.08171, allocations: 36 kB / 363.2 MB, free: 8.922 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003662/0.08208, allocations: 211.8 kB / 363.4 MB, free: 8.715 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.671e-05/0.08218, allocations: 135.3 kB / 363.6 MB, free: 8.582 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002733/0.08246, allocations: 399.6 kB / 363.9 MB, free: 8.184 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006935/0.08316, allocations: 0.9116 MB / 364.9 MB, free: 7.27 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.08317, allocations: 3.938 kB / 364.9 MB, free: 7.266 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.08317, allocations: 4 kB / 364.9 MB, free: 7.262 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.51e-05/0.08319, allocations: 0 / 364.9 MB, free: 7.262 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.0031/0.0863, allocations: 1.28 MB / 366.1 MB, free: 5.93 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.834e-05/0.08634, allocations: 8.031 kB / 366.1 MB, free: 5.922 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001472/0.08781, allocations: 259.7 kB / 366.4 MB, free: 5.668 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001693/0.08799, allocations: 251.2 kB / 366.6 MB, free: 5.383 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.937e-05/0.08805, allocations: 74.38 kB / 366.7 MB, free: 5.312 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001308/0.08818, allocations: 100.3 kB / 366.8 MB, free: 5.215 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001311/0.0895, allocations: 0.9425 MB / 367.8 MB, free: 4.258 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.778e-05/0.08953, allocations: 7.938 kB / 367.8 MB, free: 4.25 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.072e-05/0.08961, allocations: 44 kB / 367.8 MB, free: 4.207 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.639e-05/0.08963, allocations: 24 kB / 367.8 MB, free: 4.184 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001127/0.09076, allocations: 0.777 MB / 368.6 MB, free: 3.41 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1291/0.2198, allocations: 3.391 MB / 372 MB, free: 23.34 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001795/0.2217, allocations: 1.256 MB / 373.3 MB, free: 22.9 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004635/0.2222, allocations: 376.7 kB / 373.6 MB, free: 22.88 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.337e-05/0.2223, allocations: 103.6 kB / 373.7 MB, free: 22.79 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/0.2223, allocations: 42.42 kB / 373.8 MB, free: 22.75 MB / 302.1 MB Notification: Performance of pre-optimization done (n=87): time 2.725e-06/0.2223, allocations: 3.75 kB / 373.8 MB, free: 22.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=87): time 0.0019/0.2242, allocations: 1.307 MB / 375.1 MB, free: 22.28 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.603e-05/0.2242, allocations: 91.17 kB / 375.2 MB, free: 22.19 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003596/0.2246, allocations: 366.5 kB / 375.5 MB, free: 22.08 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.024e-05/0.2246, allocations: 44.58 kB / 375.6 MB, free: 22.05 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001403/0.2248, allocations: 380.5 kB / 375.9 MB, free: 21.81 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001452/0.2249, allocations: 298.6 kB / 376.2 MB, free: 21.62 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.727e-05/0.225, allocations: 82.17 kB / 376.3 MB, free: 21.61 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.858e-05/0.2251, allocations: 363.1 kB / 376.7 MB, free: 21.29 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003746/0.2255, allocations: 265.4 kB / 376.9 MB, free: 21.2 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004412/0.2259, allocations: 477.3 kB / 377.4 MB, free: 20.87 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008258/0.2268, allocations: 0.7673 MB / 378.2 MB, free: 20.37 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.2268, allocations: 1.469 kB / 378.2 MB, free: 20.37 MB / 302.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001339/0.2281, allocations: 0.9763 MB / 379.1 MB, free: 19.92 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.2282, allocations: 7.812 kB / 379.1 MB, free: 19.92 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.2282, allocations: 5.844 kB / 379.2 MB, free: 19.92 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003234/0.2285, allocations: 124.9 kB / 379.3 MB, free: 19.86 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006697/0.2292, allocations: 206.8 kB / 379.5 MB, free: 19.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002418/0.2316, allocations: 5.575 MB / 385.1 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004923/0.2321, allocations: 108.3 kB / 385.2 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.376e-05/0.2322, allocations: 46.81 kB / 385.2 MB, free: 14.19 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.0002257/0.2324, allocations: 233.9 kB / 385.4 MB, free: 13.99 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.077e-05/0.2325, allocations: 53.53 kB / 385.5 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001188/0.2337, allocations: 0.8467 MB / 386.3 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.463e-06/0.2337, allocations: 9.156 kB / 386.3 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.2337, allocations: 3.328 kB / 386.3 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.774e-06/0.2337, allocations: 4.172 kB / 386.3 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002197/0.2359, allocations: 1.938 MB / 388.3 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.2359, allocations: 3.281 kB / 388.3 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004869/0.2364, allocations: 138.6 kB / 388.4 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002243/0.2367, allocations: 107.2 kB / 388.5 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.688e-05/0.2367, allocations: 21.03 kB / 388.5 MB, free: 12.26 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002039/0.2388, allocations: 5.299 MB / 393.8 MB, free: 6.91 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.2388, allocations: 7.562 kB / 393.9 MB, free: 6.906 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001401/0.2402, allocations: 1.272 MB / 395.1 MB, free: 6.145 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.544e-05/0.2403, allocations: 148.3 kB / 395.3 MB, free: 6.004 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.985e-05/0.2404, allocations: 18.28 kB / 395.3 MB, free: 5.992 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003447/0.2407, allocations: 21.66 kB / 395.3 MB, free: 5.98 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.434e-05/0.2408, allocations: 70.91 kB / 395.4 MB, free: 5.961 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.461e-05/0.2408, allocations: 24.27 kB / 395.4 MB, free: 5.957 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002212/0.2411, allocations: 255.9 kB / 395.7 MB, free: 5.812 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.2411, allocations: 0 / 395.7 MB, free: 5.812 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007516/0.2418, allocations: 260.5 kB / 395.9 MB, free: 5.75 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.0001794/0.242, allocations: 152.2 kB / 396.1 MB, free: 5.641 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00122/0.2432, allocations: 1.177 MB / 397.2 MB, free: 4.922 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.2433, allocations: 384 / 397.2 MB, free: 4.922 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006464/0.2439, allocations: 0.7986 MB / 398 MB, free: 4.332 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005623/0.2445, allocations: 62.73 kB / 398.1 MB, free: 4.297 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002061/0.2466, allocations: 1.838 MB / 399.9 MB, free: 3.098 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002945/0.2469, allocations: 0.912 MB / 400.8 MB, free: 2.391 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001829/0.247, allocations: 61.8 kB / 400.9 MB, free: 2.379 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2471, allocations: 0.6562 kB / 400.9 MB, free: 2.379 MB / 302.1 MB Notification: Performance of Templates: time 0.01799/0.265, allocations: 20.83 MB / 421.7 MB, free: 1.477 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 -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