Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.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.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 110.5 kB / 17.75 MB, free: 5.332 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.000992/0.000992, allocations: 187 kB / 18.68 MB, free: 4.406 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.386/1.386, allocations: 222.9 MB / 242.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009235/0.0009235, allocations: 51.92 kB / 352 MB, free: 3.234 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2158/0.2167, allocations: 49.44 MB / 401.4 MB, free: 8.723 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.003612/0.2204, allocations: 2.828 MB / 404.2 MB, free: 5.996 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001572/0.2219, allocations: 1.152 MB / 405.4 MB, free: 4.84 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001116/0.2221, allocations: 11.94 kB / 405.4 MB, free: 4.828 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001385/0.2235, allocations: 0.6221 MB / 406 MB, free: 4.207 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000266/0.2237, allocations: 135 kB / 406.2 MB, free: 4.074 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001198/0.225, allocations: 0.6848 MB / 406.8 MB, free: 3.387 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003341/0.2253, allocations: 294.6 kB / 407.1 MB, free: 3.098 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000405/0.2257, allocations: 268.1 kB / 407.4 MB, free: 2.832 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001592/0.2259, allocations: 131.5 kB / 407.5 MB, free: 2.703 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001942/0.2261, allocations: 167.3 kB / 407.7 MB, free: 2.539 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.124e-05/0.2261, allocations: 24 kB / 407.7 MB, free: 2.516 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003026/0.2264, allocations: 179.8 kB / 407.9 MB, free: 2.34 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.257e-05/0.2265, allocations: 59.78 kB / 407.9 MB, free: 2.281 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001205/0.2266, allocations: 151.3 kB / 408.1 MB, free: 2.133 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005094/0.2272, allocations: 0.4944 MB / 408.6 MB, free: 1.641 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.2272, allocations: 0 / 408.6 MB, free: 1.641 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2272, allocations: 4 kB / 408.6 MB, free: 1.637 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.2272, allocations: 0 / 408.6 MB, free: 1.637 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001642/0.2288, allocations: 0.71 MB / 409.3 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.2289, allocations: 8.031 kB / 409.3 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008586/0.2297, allocations: 128.4 kB / 409.4 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000329/0.2301, allocations: 256.6 kB / 409.7 MB, free: 468 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.583e-05/0.2301, allocations: 25.03 kB / 409.7 MB, free: 444 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.893e-05/0.2302, allocations: 44.2 kB / 409.8 MB, free: 400 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005121/0.2307, allocations: 329 kB / 410.1 MB, free: 56 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.2307, allocations: 4 kB / 410.1 MB, free: 52 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.042e-05/0.2308, allocations: 19.94 kB / 410.1 MB, free: 32 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.876e-06/0.2308, allocations: 8 kB / 410.1 MB, free: 24 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004085/0.2312, allocations: 238.5 kB / 410.3 MB, free: 15.79 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001914/0.2331, allocations: 1.443 MB / 411.8 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006653/0.2338, allocations: 0.7099 MB / 412.5 MB, free: 13.38 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001473/0.2339, allocations: 100.2 kB / 412.6 MB, free: 13.28 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.511e-05/0.2341, allocations: 89.05 kB / 412.7 MB, free: 13.18 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/0.2341, allocations: 38.55 kB / 412.7 MB, free: 13.13 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.613e-06/0.2341, allocations: 0 / 412.7 MB, free: 13.13 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.001179/0.2353, allocations: 495 kB / 413.2 MB, free: 12.62 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.554e-05/0.2353, allocations: 55.34 kB / 413.3 MB, free: 12.55 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/0.2355, allocations: 172 kB / 413.4 MB, free: 12.37 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.2355, allocations: 33.7 kB / 413.5 MB, free: 12.33 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.775e-05/0.2356, allocations: 176 kB / 413.6 MB, free: 12.16 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.059e-05/0.2357, allocations: 86.75 kB / 413.7 MB, free: 12.07 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.427e-05/0.2358, allocations: 49.98 kB / 413.8 MB, free: 12.02 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.2359, allocations: 334.8 kB / 414.1 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001117/0.236, allocations: 60.55 kB / 414.1 MB, free: 11.62 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001521/0.2362, allocations: 129 kB / 414.3 MB, free: 11.47 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002831/0.2365, allocations: 216.1 kB / 414.5 MB, free: 11.24 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.2365, allocations: 4 kB / 414.5 MB, free: 11.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005449/0.237, allocations: 332.4 kB / 414.8 MB, free: 10.9 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.237, allocations: 8 kB / 414.8 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.2371, allocations: 0 / 414.8 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002909/0.2374, allocations: 77.03 kB / 414.9 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001556/0.2375, allocations: 47.91 kB / 414.9 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001837/0.2394, allocations: 2.033 MB / 417 MB, free: 8.594 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001371/0.2395, allocations: 27.69 kB / 417 MB, free: 8.566 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.2395, allocations: 12 kB / 417 MB, free: 8.555 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001308/0.2397, allocations: 153.8 kB / 417.2 MB, free: 8.395 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.571e-05/0.2397, allocations: 23.73 kB / 417.2 MB, free: 8.371 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000524/0.2403, allocations: 280 kB / 417.5 MB, free: 8.086 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.2403, allocations: 3.984 kB / 417.5 MB, free: 8.082 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.2403, allocations: 0 / 417.5 MB, free: 8.082 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.689e-05/0.2404, allocations: 112.8 kB / 417.6 MB, free: 7.953 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.595e-05/0.2404, allocations: 8 kB / 417.6 MB, free: 7.945 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/0.2405, allocations: 4 kB / 417.6 MB, free: 7.941 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.861e-05/0.2406, allocations: 19.95 kB / 417.6 MB, free: 7.922 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000663/0.2412, allocations: 352.2 kB / 417.9 MB, free: 7.57 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004234/0.2417, allocations: 442.1 kB / 418.4 MB, free: 7.121 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001061/0.2418, allocations: 66.41 kB / 418.4 MB, free: 7.059 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.102e-05/0.2419, allocations: 131.5 kB / 418.6 MB, free: 6.93 MB / 334.1 MB Notification: Performance of Backend: time 4.61e-07/0.2419, allocations: 0 / 418.6 MB, free: 6.93 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009241/0.2428, allocations: 455.2 kB / 419 MB, free: 6.469 MB / 334.1 MB Notification: Performance of SimCode: time 0.0009835/0.2438, allocations: 1.026 MB / 420 MB, free: 5.398 MB / 334.1 MB Notification: Performance of Templates: time 0.007409/0.2512, allocations: 3.952 MB / 424 MB, free: 1.453 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/GeneralLeakage/GeneralLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches