Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001859/0.001859, allocations: 114.5 kB / 21.18 MB, free: 0.7422 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001672/0.001672, allocations: 211.4 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.388/1.388, allocations: 230.4 MB / 258.1 MB, free: 8.145 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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=1000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 75.81 kB / 378.8 MB, free: 2.883 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2075/0.2095, allocations: 53.31 MB / 432.1 MB, free: 7.379 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.004476/0.214, allocations: 2.885 MB / 434.9 MB, free: 4.48 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002072/0.216, allocations: 1.226 MB / 436.2 MB, free: 3.25 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001665/0.2162, allocations: 8 kB / 436.2 MB, free: 3.242 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001588/0.2178, allocations: 0.6128 MB / 436.8 MB, free: 2.629 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003815/0.2182, allocations: 147 kB / 436.9 MB, free: 2.484 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001345/0.2195, allocations: 0.6547 MB / 437.6 MB, free: 1.832 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004513/0.22, allocations: 298.6 kB / 437.9 MB, free: 1.539 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004274/0.2204, allocations: 216.4 kB / 438.1 MB, free: 1.328 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002368/0.2206, allocations: 127.6 kB / 438.2 MB, free: 1.203 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002545/0.2209, allocations: 175.3 kB / 438.4 MB, free: 1.031 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.386e-05/0.2209, allocations: 24 kB / 438.4 MB, free: 1.008 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003672/0.2213, allocations: 179.9 kB / 438.6 MB, free: 0.832 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.649e-05/0.2213, allocations: 59.77 kB / 438.6 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001535/0.2215, allocations: 155.2 kB / 438.8 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006449/0.2221, allocations: 0.4943 MB / 439.3 MB, free: 128 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.2221, allocations: 0 / 439.3 MB, free: 128 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.2221, allocations: 0 / 439.3 MB, free: 128 kB / 334.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.2222, allocations: 8 kB / 439.3 MB, free: 120 kB / 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.00176/0.2239, allocations: 0.7288 MB / 440 MB, free: 15.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.2239, allocations: 8.031 kB / 440 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008869/0.2248, allocations: 120.7 kB / 440.2 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003734/0.2252, allocations: 264.6 kB / 440.4 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.766e-05/0.2252, allocations: 25.03 kB / 440.4 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.389e-05/0.2253, allocations: 32.38 kB / 440.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005553/0.2258, allocations: 336.9 kB / 440.8 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/0.2259, allocations: 4 kB / 440.8 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.105e-05/0.2259, allocations: 12 kB / 440.8 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/0.2259, allocations: 12 kB / 440.8 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004398/0.2263, allocations: 242.5 kB / 441.1 MB, free: 14.26 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002093/0.2284, allocations: 1.444 MB / 442.5 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007273/0.2292, allocations: 0.6809 MB / 443.2 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001549/0.2293, allocations: 92.45 kB / 443.3 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001834/0.2295, allocations: 178.1 kB / 443.5 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.2295, allocations: 38.5 kB / 443.5 MB, free: 11.53 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.513e-06/0.2295, allocations: 0 / 443.5 MB, free: 11.53 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001274/0.2308, allocations: 0.4905 MB / 444 MB, free: 11.01 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/0.2308, allocations: 51.41 kB / 444 MB, free: 10.95 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001684/0.231, allocations: 171.3 kB / 444.2 MB, free: 10.77 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.036e-05/0.231, allocations: 37.64 kB / 444.2 MB, free: 10.72 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.2312, allocations: 176.4 kB / 444.4 MB, free: 10.55 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.795e-05/0.2312, allocations: 91.2 kB / 444.5 MB, free: 10.46 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.441e-05/0.2313, allocations: 53.98 kB / 444.5 MB, free: 10.4 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.2315, allocations: 338.8 kB / 444.9 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/0.2316, allocations: 64.53 kB / 444.9 MB, free: 9.996 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001693/0.2318, allocations: 132.9 kB / 445.1 MB, free: 9.844 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003228/0.2321, allocations: 220.9 kB / 445.3 MB, free: 9.605 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.2321, allocations: 0 / 445.3 MB, free: 9.605 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006234/0.2327, allocations: 327.7 kB / 445.6 MB, free: 9.277 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.2327, allocations: 8 kB / 445.6 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.2327, allocations: 0 / 445.6 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003116/0.233, allocations: 84.95 kB / 445.7 MB, free: 9.184 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001608/0.2332, allocations: 43.92 kB / 445.7 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002159/0.2354, allocations: 2.026 MB / 447.8 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001426/0.2355, allocations: 27.78 kB / 447.8 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.016e-05/0.2355, allocations: 12 kB / 447.8 MB, free: 6.934 MB / 350.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.000148/0.2357, allocations: 149.8 kB / 448 MB, free: 6.777 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.17e-05/0.2357, allocations: 23.8 kB / 448 MB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005888/0.2363, allocations: 272.2 kB / 448.2 MB, free: 6.473 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.2363, allocations: 3.984 kB / 448.2 MB, free: 6.469 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.2363, allocations: 0 / 448.2 MB, free: 6.469 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.2364, allocations: 116.9 kB / 448.4 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.653e-05/0.2365, allocations: 4 kB / 448.4 MB, free: 6.332 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001223/0.2366, allocations: 8 kB / 448.4 MB, free: 6.324 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.2366, allocations: 27.75 kB / 448.4 MB, free: 6.297 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000725/0.2373, allocations: 352.9 kB / 448.7 MB, free: 5.945 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005032/0.2378, allocations: 451.2 kB / 449.2 MB, free: 5.488 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001114/0.238, allocations: 64.08 kB / 449.2 MB, free: 5.426 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001058/0.2381, allocations: 127.2 kB / 449.4 MB, free: 5.301 MB / 350.1 MB Notification: Performance of Backend: time 2.41e-07/0.2381, allocations: 0 / 449.4 MB, free: 5.301 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009803/0.239, allocations: 440.6 kB / 449.8 MB, free: 4.852 MB / 350.1 MB Notification: Performance of SimCode: time 0.00116/0.2402, allocations: 1.041 MB / 450.8 MB, free: 3.766 MB / 350.1 MB Notification: Performance of Templates: time 0.00872/0.2489, allocations: 4.201 MB / 455 MB, free: 15.57 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/GeneralLeakage/GeneralLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.302645933814347]