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.001256/0.001256, allocations: 114.2 kB / 17.75 MB, free: 5.355 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.001234/0.001235, allocations: 185.4 kB / 18.68 MB, free: 4.434 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.298/1.298, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009351/0.0009351, allocations: 51.92 kB / 352 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2152/0.2162, allocations: 49.43 MB / 401.4 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.005798/0.222, allocations: 5.253 MB / 406.7 MB, free: 3.586 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002247/0.2242, allocations: 1.674 MB / 408.3 MB, free: 1.902 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001995/0.2245, allocations: 16 kB / 408.4 MB, free: 1.887 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00287/0.2273, allocations: 1.412 MB / 409.8 MB, free: 484 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005555/0.2279, allocations: 317.6 kB / 410.1 MB, free: 164 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001451/0.2294, allocations: 0.8241 MB / 410.9 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007165/0.2301, allocations: 0.8205 MB / 411.7 MB, free: 14.51 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009679/0.2311, allocations: 0.7627 MB / 412.5 MB, free: 13.73 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000322/0.2314, allocations: 350.7 kB / 412.8 MB, free: 13.38 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004747/0.2319, allocations: 466.1 kB / 413.3 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.406e-05/0.232, allocations: 76 kB / 413.4 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004393/0.2324, allocations: 259.8 kB / 413.6 MB, free: 12.6 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001181/0.2326, allocations: 175.3 kB / 413.8 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003237/0.2329, allocations: 425.9 kB / 414.2 MB, free: 12.01 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001023/0.2339, allocations: 1.199 MB / 415.4 MB, free: 10.81 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.2339, allocations: 0 / 415.4 MB, free: 10.81 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2339, allocations: 0 / 415.4 MB, free: 10.81 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.218e-05/0.234, allocations: 0 / 415.4 MB, free: 10.81 MB / 334.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.003819/0.2378, allocations: 1.44 MB / 416.8 MB, free: 9.32 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.2378, allocations: 8.031 kB / 416.8 MB, free: 9.312 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001745/0.2396, allocations: 251.7 kB / 417.1 MB, free: 9.066 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001984/0.2398, allocations: 255.2 kB / 417.3 MB, free: 8.777 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.669e-05/0.2399, allocations: 86.25 kB / 417.4 MB, free: 8.691 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001269/0.24, allocations: 92.38 kB / 417.5 MB, free: 8.602 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001461/0.2415, allocations: 0.9425 MB / 418.5 MB, free: 7.648 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.8e-05/0.2415, allocations: 3.906 kB / 418.5 MB, free: 7.645 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.93e-05/0.2416, allocations: 40 kB / 418.5 MB, free: 7.605 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.323e-05/0.2416, allocations: 24 kB / 418.5 MB, free: 7.582 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001268/0.2429, allocations: 0.7776 MB / 419.3 MB, free: 6.805 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004789/0.2477, allocations: 3.361 MB / 422.7 MB, free: 3.262 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001897/0.2496, allocations: 1.253 MB / 423.9 MB, free: 1.922 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005196/0.2501, allocations: 377.1 kB / 424.3 MB, free: 1.555 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.849e-05/0.2502, allocations: 98.08 kB / 424.4 MB, free: 1.441 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/0.2503, allocations: 47.56 kB / 424.4 MB, free: 1.387 MB / 334.1 MB Notification: Performance of pre-optimization done (n=87): time 2.274e-06/0.2503, allocations: 0 / 424.4 MB, free: 1.387 MB / 334.1 MB Notification: Performance of matching and sorting (n=87): time 0.002242/0.2525, allocations: 1.3 MB / 425.7 MB, free: 15.99 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.136e-05/0.2526, allocations: 90.05 kB / 425.8 MB, free: 15.88 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004142/0.253, allocations: 360.3 kB / 426.2 MB, free: 15.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.468e-05/0.253, allocations: 45.64 kB / 426.2 MB, free: 15.47 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002113/0.2533, allocations: 378.9 kB / 426.6 MB, free: 15.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002111/0.2535, allocations: 311.6 kB / 426.9 MB, free: 14.79 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002917/0.2538, allocations: 178.8 kB / 427.1 MB, free: 14.6 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.2539, allocations: 358.8 kB / 427.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000445/0.2544, allocations: 266.5 kB / 427.7 MB, free: 13.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005773/0.255, allocations: 471.4 kB / 428.1 MB, free: 13.44 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001083/0.2561, allocations: 0.7744 MB / 428.9 MB, free: 12.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.812e-06/0.2561, allocations: 3.938 kB / 428.9 MB, free: 12.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001628/0.2577, allocations: 0.9807 MB / 429.9 MB, free: 11.59 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.2577, allocations: 8 kB / 429.9 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.2578, allocations: 4 kB / 429.9 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003616/0.2581, allocations: 123.4 kB / 430 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008063/0.2589, allocations: 203.7 kB / 430.2 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004234/0.2632, allocations: 6.118 MB / 436.3 MB, free: 4.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000559/0.2638, allocations: 103 kB / 436.4 MB, free: 4.469 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.835e-05/0.2638, allocations: 40 kB / 436.5 MB, free: 4.43 MB / 350.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.000278/0.2641, allocations: 231.2 kB / 436.7 MB, free: 4.195 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001113/0.2642, allocations: 55.34 kB / 436.8 MB, free: 4.141 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001448/0.2657, allocations: 0.8482 MB / 437.6 MB, free: 3.27 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.238e-06/0.2657, allocations: 7.984 kB / 437.6 MB, free: 3.262 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.2657, allocations: 0 / 437.6 MB, free: 3.262 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001188/0.2658, allocations: 148.1 kB / 437.8 MB, free: 3.098 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.657e-05/0.2659, allocations: 16 kB / 437.8 MB, free: 3.082 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003362/0.2663, allocations: 16 kB / 437.8 MB, free: 3.066 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.16e-05/0.2664, allocations: 60.91 kB / 437.9 MB, free: 3.004 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001602/0.268, allocations: 0.9024 MB / 438.8 MB, free: 2.086 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001478/0.2695, allocations: 1.164 MB / 439.9 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003732/0.2699, allocations: 271.9 kB / 440.2 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002528/0.2701, allocations: 251.2 kB / 440.4 MB, free: 404 kB / 350.1 MB Notification: Performance of Backend: time 4.41e-07/0.2701, allocations: 0 / 440.4 MB, free: 404 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001815/0.2719, allocations: 1.128 MB / 441.6 MB, free: 15.21 MB / 366.1 MB Notification: Performance of SimCode: time 0.001785/0.2737, allocations: 1.624 MB / 443.2 MB, free: 13.54 MB / 366.1 MB Notification: Performance of Templates: time 0.01616/0.2899, allocations: 10.55 MB / 453.7 MB, free: 3.023 MB / 366.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