Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001293/0.001293, allocations: 115.1 kB / 18.46 MB, free: 4.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001366/0.001366, allocations: 202.8 kB / 19.41 MB, free: 3.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.315/1.315, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 55.91 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2018/0.203, allocations: 50.55 MB / 410 MB, free: 1.727 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.00624/0.2093, allocations: 5.25 MB / 415.2 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00283/0.2121, allocations: 1.724 MB / 416.9 MB, free: 10.72 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004542/0.2126, allocations: 24 kB / 416.9 MB, free: 10.7 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002978/0.2156, allocations: 1.404 MB / 418.4 MB, free: 9.289 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006986/0.2163, allocations: 325.7 kB / 418.7 MB, free: 8.969 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001221/0.2175, allocations: 0.6537 MB / 419.3 MB, free: 8.316 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007302/0.2183, allocations: 0.8052 MB / 420.1 MB, free: 7.508 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009913/0.2193, allocations: 0.7573 MB / 420.9 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003294/0.2196, allocations: 354.7 kB / 421.2 MB, free: 6.383 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004527/0.2201, allocations: 466.1 kB / 421.7 MB, free: 5.926 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.708e-05/0.2202, allocations: 76 kB / 421.8 MB, free: 5.852 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004498/0.2207, allocations: 259.8 kB / 422 MB, free: 5.598 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001267/0.2208, allocations: 179.4 kB / 422.2 MB, free: 5.422 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003253/0.2211, allocations: 429.8 kB / 422.6 MB, free: 5 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001061/0.2222, allocations: 1.193 MB / 423.8 MB, free: 3.805 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.2222, allocations: 0 / 423.8 MB, free: 3.805 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.2222, allocations: 3.938 kB / 423.8 MB, free: 3.801 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.917e-06/0.2222, allocations: 3.938 kB / 423.8 MB, free: 3.797 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.003796/0.226, allocations: 1.455 MB / 425.3 MB, free: 2.293 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.2261, allocations: 8.031 kB / 425.3 MB, free: 2.285 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001658/0.2277, allocations: 251.7 kB / 425.5 MB, free: 2.039 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002091/0.228, allocations: 263.2 kB / 425.8 MB, free: 1.742 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.102e-05/0.228, allocations: 74.38 kB / 425.8 MB, free: 1.668 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001341/0.2282, allocations: 100.3 kB / 425.9 MB, free: 1.57 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001418/0.2296, allocations: 0.9386 MB / 426.9 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.696e-05/0.2296, allocations: 4 kB / 426.9 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.902e-05/0.2297, allocations: 40 kB / 426.9 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.898e-05/0.2297, allocations: 28 kB / 427 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001279/0.231, allocations: 0.7847 MB / 427.7 MB, free: 15.76 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00482/0.2359, allocations: 3.594 MB / 431.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001865/0.2377, allocations: 1.252 MB / 432.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005066/0.2383, allocations: 372.2 kB / 432.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001514/0.2384, allocations: 187.2 kB / 433.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.669e-05/0.2384, allocations: 47.55 kB / 433.2 MB, free: 9.953 MB / 350.1 MB Notification: Performance of pre-optimization done (n=87): time 2.174e-06/0.2385, allocations: 0 / 433.2 MB, free: 9.953 MB / 350.1 MB Notification: Performance of matching and sorting (n=87): time 0.00206/0.2405, allocations: 1.3 MB / 434.5 MB, free: 8.559 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.814e-05/0.2406, allocations: 90.09 kB / 434.6 MB, free: 8.453 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003821/0.241, allocations: 368.4 kB / 434.9 MB, free: 8.086 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.88e-05/0.241, allocations: 33.7 kB / 435 MB, free: 8.047 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001997/0.2412, allocations: 390.7 kB / 435.3 MB, free: 7.656 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001981/0.2414, allocations: 291.8 kB / 435.6 MB, free: 7.367 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002399/0.2417, allocations: 174.8 kB / 435.8 MB, free: 7.188 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.2418, allocations: 362.8 kB / 436.2 MB, free: 6.824 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004357/0.2423, allocations: 258.5 kB / 436.4 MB, free: 6.574 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005788/0.2428, allocations: 483.4 kB / 436.9 MB, free: 6.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001026/0.2439, allocations: 0.7706 MB / 437.6 MB, free: 5.176 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.211e-06/0.2439, allocations: 7.938 kB / 437.7 MB, free: 5.168 MB / 350.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001565/0.2455, allocations: 0.9647 MB / 438.6 MB, free: 4.184 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.2455, allocations: 8 kB / 438.6 MB, free: 4.176 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.2455, allocations: 11.92 kB / 438.6 MB, free: 4.164 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000354/0.2459, allocations: 127.8 kB / 438.8 MB, free: 4.027 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007805/0.2467, allocations: 207.7 kB / 439 MB, free: 3.824 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004019/0.2507, allocations: 6.111 MB / 445.1 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005083/0.2512, allocations: 98.91 kB / 445.2 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.805e-05/0.2513, allocations: 43.98 kB / 445.2 MB, free: 13.02 MB / 366.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.0002639/0.2515, allocations: 229.6 kB / 445.4 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001095/0.2517, allocations: 59.28 kB / 445.5 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001428/0.2531, allocations: 0.8443 MB / 446.3 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.876e-06/0.2531, allocations: 3.984 kB / 446.3 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.2531, allocations: 0 / 446.3 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/0.2532, allocations: 148.1 kB / 446.5 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.698e-05/0.2533, allocations: 16 kB / 446.5 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003315/0.2536, allocations: 20 kB / 446.5 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.094e-05/0.2537, allocations: 64.84 kB / 446.6 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001577/0.2553, allocations: 0.9024 MB / 447.5 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001419/0.2568, allocations: 1.156 MB / 448.6 MB, free: 9.492 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003715/0.2571, allocations: 263.9 kB / 448.9 MB, free: 9.238 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002536/0.2574, allocations: 255.2 kB / 449.2 MB, free: 8.988 MB / 366.1 MB Notification: Performance of Backend: time 5.41e-07/0.2574, allocations: 0 / 449.2 MB, free: 8.988 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001777/0.2592, allocations: 1.136 MB / 450.3 MB, free: 7.793 MB / 366.1 MB Notification: Performance of SimCode: time 0.001736/0.2609, allocations: 1.632 MB / 451.9 MB, free: 6.113 MB / 366.1 MB Notification: Performance of Templates: time 0.01646/0.2774, allocations: 10.56 MB / 462.5 MB, free: 11.59 MB / 382.1 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/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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches