Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.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.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001248/0.001248, allocations: 114.8 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001355/0.001355, allocations: 204 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.327/1.327, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001128/0.001128, allocations: 59.91 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2051/0.2063, allocations: 50.54 MB / 409.9 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.00369/0.21, allocations: 2.842 MB / 412.8 MB, free: 14.74 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001586/0.2116, allocations: 1.207 MB / 414 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001129/0.2117, allocations: 8 kB / 414 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001414/0.2132, allocations: 0.6184 MB / 414.6 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002633/0.2134, allocations: 135 kB / 414.7 MB, free: 12.76 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001157/0.2146, allocations: 0.6601 MB / 415.4 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003515/0.215, allocations: 302.6 kB / 415.7 MB, free: 11.81 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000418/0.2154, allocations: 270.6 kB / 416 MB, free: 11.54 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001815/0.2156, allocations: 135.5 kB / 416.1 MB, free: 11.41 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002036/0.2158, allocations: 171.4 kB / 416.3 MB, free: 11.24 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.924e-05/0.2159, allocations: 24 kB / 416.3 MB, free: 11.22 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003218/0.2162, allocations: 183.8 kB / 416.5 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.882e-05/0.2162, allocations: 63.77 kB / 416.5 MB, free: 10.98 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000132/0.2164, allocations: 147.3 kB / 416.7 MB, free: 10.83 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005335/0.2169, allocations: 0.4997 MB / 417.2 MB, free: 10.33 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.2169, allocations: 0 / 417.2 MB, free: 10.33 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.2169, allocations: 0 / 417.2 MB, free: 10.33 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.997e-06/0.217, allocations: 4 kB / 417.2 MB, free: 10.33 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001586/0.2185, allocations: 0.7178 MB / 417.9 MB, free: 9.562 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.2186, allocations: 8.031 kB / 417.9 MB, free: 9.555 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008429/0.2194, allocations: 124.5 kB / 418 MB, free: 9.434 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003002/0.2197, allocations: 256.5 kB / 418.3 MB, free: 9.145 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.152e-05/0.2198, allocations: 25.03 kB / 418.3 MB, free: 9.121 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.251e-05/0.2198, allocations: 40.36 kB / 418.3 MB, free: 9.082 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005071/0.2204, allocations: 333 kB / 418.7 MB, free: 8.746 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.2204, allocations: 0 / 418.7 MB, free: 8.746 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.982e-05/0.2204, allocations: 12 kB / 418.7 MB, free: 8.734 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.2204, allocations: 8 kB / 418.7 MB, free: 8.727 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003919/0.2208, allocations: 242.5 kB / 418.9 MB, free: 8.492 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001817/0.2227, allocations: 1.443 MB / 420.4 MB, free: 6.91 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006212/0.2233, allocations: 0.6994 MB / 421.1 MB, free: 6.094 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001534/0.2235, allocations: 104.8 kB / 421.2 MB, free: 5.988 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001537/0.2236, allocations: 170.1 kB / 421.3 MB, free: 5.785 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.015e-05/0.2236, allocations: 38.56 kB / 421.4 MB, free: 5.738 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.633e-06/0.2236, allocations: 0 / 421.4 MB, free: 5.738 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.001176/0.2248, allocations: 492.5 kB / 421.8 MB, free: 5.23 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.323e-05/0.2249, allocations: 55.41 kB / 421.9 MB, free: 5.164 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/0.225, allocations: 175.3 kB / 422.1 MB, free: 4.977 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.225, allocations: 33.64 kB / 422.1 MB, free: 4.938 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.933e-05/0.2251, allocations: 176 kB / 422.3 MB, free: 4.762 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.373e-05/0.2252, allocations: 90.73 kB / 422.4 MB, free: 4.672 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.611e-05/0.2253, allocations: 53.89 kB / 422.4 MB, free: 4.613 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.2254, allocations: 326.8 kB / 422.7 MB, free: 4.285 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001126/0.2255, allocations: 64.53 kB / 422.8 MB, free: 4.223 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001525/0.2257, allocations: 133 kB / 422.9 MB, free: 4.07 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002789/0.226, allocations: 224.9 kB / 423.2 MB, free: 3.828 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.226, allocations: 0 / 423.2 MB, free: 3.828 MB / 334.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005528/0.2265, allocations: 331.5 kB / 423.5 MB, free: 3.496 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.2266, allocations: 4 kB / 423.5 MB, free: 3.492 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.2266, allocations: 8.156 kB / 423.5 MB, free: 3.484 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002886/0.2269, allocations: 80.73 kB / 423.6 MB, free: 3.402 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/0.227, allocations: 39.98 kB / 423.6 MB, free: 3.363 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001876/0.2289, allocations: 2.026 MB / 425.6 MB, free: 1.195 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001383/0.2291, allocations: 35.69 kB / 425.7 MB, free: 1.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.67e-05/0.2291, allocations: 8 kB / 425.7 MB, free: 1.152 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.0001215/0.2292, allocations: 141.8 kB / 425.8 MB, free: 1.004 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.536e-05/0.2293, allocations: 19.75 kB / 425.8 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005369/0.2298, allocations: 287.6 kB / 426.1 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.2298, allocations: 0 / 426.1 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.2298, allocations: 0 / 426.1 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.5e-05/0.2299, allocations: 116.8 kB / 426.2 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.586e-05/0.23, allocations: 4 kB / 426.2 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001173/0.2301, allocations: 4 kB / 426.2 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.568e-05/0.2301, allocations: 23.83 kB / 426.3 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006684/0.2308, allocations: 357.3 kB / 426.6 MB, free: 172 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004425/0.2312, allocations: 435.5 kB / 427 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001005/0.2314, allocations: 67.95 kB / 427.1 MB, free: 15.66 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.172e-05/0.2315, allocations: 127.2 kB / 427.2 MB, free: 15.54 MB / 350.1 MB Notification: Performance of Backend: time 2.21e-07/0.2315, allocations: 0 / 427.2 MB, free: 15.54 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008884/0.2324, allocations: 449 kB / 427.7 MB, free: 15.08 MB / 350.1 MB Notification: Performance of SimCode: time 0.0009412/0.2333, allocations: 1.037 MB / 428.7 MB, free: 14 MB / 350.1 MB Notification: Performance of Templates: time 0.007391/0.2407, allocations: 4.014 MB / 432.7 MB, free: 9.988 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches