Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001682/0.001682, allocations: 110.4 kB / 21.19 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002031/0.002031, allocations: 204.7 kB / 24.49 MB, free: 3.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.496/1.496, allocations: 230.6 MB / 258.3 MB, free: 7.797 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001573/0.001573, allocations: 51.91 kB / 379 MB, free: 2.484 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.216/0.2175, allocations: 53.36 MB / 432.3 MB, free: 6.75 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.004354/0.2219, allocations: 2.664 MB / 435 MB, free: 4.074 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002092/0.224, allocations: 1.137 MB / 436.1 MB, free: 2.934 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001904/0.2242, allocations: 11.94 kB / 436.2 MB, free: 2.922 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001584/0.2258, allocations: 0.5678 MB / 436.7 MB, free: 2.352 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003942/0.2262, allocations: 143 kB / 436.9 MB, free: 2.211 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001353/0.2275, allocations: 0.6134 MB / 437.5 MB, free: 1.598 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004493/0.228, allocations: 298.6 kB / 437.8 MB, free: 1.305 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004465/0.2284, allocations: 242.1 kB / 438 MB, free: 1.07 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002322/0.2286, allocations: 139.5 kB / 438.1 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00022/0.2289, allocations: 159.4 kB / 438.3 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.256e-05/0.2289, allocations: 27.94 kB / 438.3 MB, free: 0.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003501/0.2293, allocations: 183.8 kB / 438.5 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.864e-05/0.2293, allocations: 63.77 kB / 438.6 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001214/0.2294, allocations: 119.5 kB / 438.7 MB, free: 400 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006389/0.2301, allocations: 0.5095 MB / 439.2 MB, free: 15.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.2301, allocations: 0 / 439.2 MB, free: 15.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2301, allocations: 0 / 439.2 MB, free: 15.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.051e-05/0.2301, allocations: 0 / 439.2 MB, free: 15.88 MB / 350.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.001687/0.2318, allocations: 0.6534 MB / 439.8 MB, free: 15.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.2318, allocations: 8.031 kB / 439.8 MB, free: 15.19 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000878/0.2327, allocations: 120.7 kB / 440 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003646/0.2331, allocations: 210.7 kB / 440.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.735e-05/0.2331, allocations: 21.03 kB / 440.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.593e-05/0.2331, allocations: 36.38 kB / 440.2 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005817/0.2337, allocations: 336.9 kB / 440.6 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/0.2337, allocations: 0 / 440.6 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.313e-05/0.2338, allocations: 16 kB / 440.6 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/0.2338, allocations: 12 kB / 440.6 MB, free: 14.42 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004383/0.2342, allocations: 234.5 kB / 440.8 MB, free: 14.19 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001867/0.2361, allocations: 1.047 MB / 441.9 MB, free: 13.08 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005168/0.2366, allocations: 231.6 kB / 442.1 MB, free: 12.85 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000162/0.2368, allocations: 90.45 kB / 442.2 MB, free: 12.76 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001112/0.2369, allocations: 19.98 kB / 442.2 MB, free: 12.74 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.931e-05/0.2369, allocations: 42.5 kB / 442.2 MB, free: 12.69 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.573e-06/0.2369, allocations: 3.938 kB / 442.2 MB, free: 12.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001276/0.2382, allocations: 414 kB / 442.6 MB, free: 12.28 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.2382, allocations: 51.41 kB / 442.7 MB, free: 12.21 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001647/0.2384, allocations: 158.2 kB / 442.8 MB, free: 12.05 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.514e-05/0.2384, allocations: 29.7 kB / 442.9 MB, free: 12.01 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/0.2385, allocations: 192.2 kB / 443.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.832e-05/0.2386, allocations: 79.33 kB / 443.1 MB, free: 11.74 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.441e-05/0.2387, allocations: 61.92 kB / 443.2 MB, free: 11.67 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.2388, allocations: 326.8 kB / 443.5 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001259/0.239, allocations: 68.53 kB / 443.6 MB, free: 11.28 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001791/0.2391, allocations: 132.9 kB / 443.7 MB, free: 11.12 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003278/0.2395, allocations: 220 kB / 443.9 MB, free: 10.88 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.2395, allocations: 4 kB / 443.9 MB, free: 10.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006147/0.2401, allocations: 324.3 kB / 444.3 MB, free: 10.55 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.2401, allocations: 4 kB / 444.3 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.2401, allocations: 4 kB / 444.3 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003322/0.2404, allocations: 84.95 kB / 444.3 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001742/0.2406, allocations: 39.92 kB / 444.4 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002236/0.2429, allocations: 1.891 MB / 446.3 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001437/0.243, allocations: 23.88 kB / 446.3 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.364e-05/0.243, allocations: 11.98 kB / 446.3 MB, free: 8.391 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.0001555/0.2432, allocations: 149.7 kB / 446.5 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.109e-05/0.2432, allocations: 15.91 kB / 446.5 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006203/0.2439, allocations: 283.5 kB / 446.8 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.2439, allocations: 7.922 kB / 446.8 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.2439, allocations: 0 / 446.8 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.457e-05/0.2439, allocations: 31.83 kB / 446.8 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.839e-05/0.244, allocations: 8 kB / 446.8 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/0.2441, allocations: 11.94 kB / 446.8 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.594e-05/0.2441, allocations: 19.95 kB / 446.8 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007521/0.2449, allocations: 360.5 kB / 447.2 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005235/0.2454, allocations: 434.4 kB / 447.6 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000116/0.2455, allocations: 66.14 kB / 447.7 MB, free: 6.996 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.931e-05/0.2456, allocations: 126.6 kB / 447.8 MB, free: 6.875 MB / 350.1 MB Notification: Performance of Backend: time 3.5e-07/0.2456, allocations: 0 / 447.8 MB, free: 6.875 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001046/0.2467, allocations: 436.6 kB / 448.2 MB, free: 6.426 MB / 350.1 MB Notification: Performance of SimCode: time 0.001253/0.2479, allocations: 1.044 MB / 449.3 MB, free: 5.332 MB / 350.1 MB Notification: Performance of Templates: time 0.009223/0.2571, allocations: 4.494 MB / 453.8 MB, free: 0.8711 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/GeneralLeakage/GeneralLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.37957544499659]