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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0014/0.0014, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001512/0.001512, allocations: 211.4 kB / 24.48 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.453/1.453, allocations: 230.5 MB / 258.1 MB, free: 7.77 MB / 206.1 MB " [Timeout remaining time 178] 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=1000,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=1000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 67.89 kB / 379 MB, free: 2.301 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2338/0.2358, allocations: 53.41 MB / 432.4 MB, free: 6.527 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.004362/0.2402, allocations: 2.66 MB / 435.1 MB, free: 3.855 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002189/0.2424, allocations: 1.145 MB / 436.2 MB, free: 2.707 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001482/0.2425, allocations: 4 kB / 436.2 MB, free: 2.703 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001648/0.2442, allocations: 0.5717 MB / 436.8 MB, free: 2.129 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003791/0.2445, allocations: 139 kB / 436.9 MB, free: 1.992 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001366/0.2459, allocations: 0.6176 MB / 437.5 MB, free: 1.375 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004354/0.2463, allocations: 298.6 kB / 437.8 MB, free: 1.082 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004583/0.2468, allocations: 238.1 kB / 438.1 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002204/0.247, allocations: 131.6 kB / 438.2 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002217/0.2472, allocations: 147.3 kB / 438.3 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.091e-05/0.2473, allocations: 24 kB / 438.3 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003825/0.2477, allocations: 183.8 kB / 438.5 MB, free: 384 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.518e-05/0.2477, allocations: 59.77 kB / 438.6 MB, free: 324 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001231/0.2478, allocations: 123.4 kB / 438.7 MB, free: 200 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006577/0.2485, allocations: 0.5018 MB / 439.2 MB, free: 15.7 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.2485, allocations: 0 / 439.2 MB, free: 15.7 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.2485, allocations: 0 / 439.2 MB, free: 15.7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.2485, allocations: 4 kB / 439.2 MB, free: 15.69 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.001638/0.2502, allocations: 0.6456 MB / 439.9 MB, free: 15.01 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.2502, allocations: 15.97 kB / 439.9 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007892/0.251, allocations: 116.7 kB / 440 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003864/0.2514, allocations: 214.6 kB / 440.2 MB, free: 14.65 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.934e-05/0.2514, allocations: 29.03 kB / 440.2 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.33e-05/0.2515, allocations: 32.38 kB / 440.3 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005598/0.252, allocations: 340.9 kB / 440.6 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.158e-05/0.252, allocations: 4 kB / 440.6 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.054e-05/0.2521, allocations: 12 kB / 440.6 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.27e-05/0.2521, allocations: 8 kB / 440.6 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004304/0.2525, allocations: 234.5 kB / 440.8 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001885/0.2544, allocations: 1.039 MB / 441.9 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005151/0.2549, allocations: 242.1 kB / 442.1 MB, free: 12.65 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001568/0.2551, allocations: 99.5 kB / 442.2 MB, free: 12.56 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001107/0.2552, allocations: 15.98 kB / 442.2 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.464e-05/0.2552, allocations: 38.5 kB / 442.3 MB, free: 12.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.863e-06/0.2552, allocations: 4 kB / 442.3 MB, free: 12.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001223/0.2565, allocations: 406.4 kB / 442.7 MB, free: 12.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/0.2565, allocations: 51.41 kB / 442.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001609/0.2567, allocations: 167.6 kB / 442.9 MB, free: 11.85 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.872e-05/0.2567, allocations: 29.7 kB / 442.9 MB, free: 11.81 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.2568, allocations: 188.3 kB / 443.1 MB, free: 11.62 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.361e-05/0.2569, allocations: 83.31 kB / 443.2 MB, free: 11.54 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9e-05/0.257, allocations: 57.94 kB / 443.2 MB, free: 11.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.2571, allocations: 326.8 kB / 443.6 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001334/0.2573, allocations: 68.55 kB / 443.6 MB, free: 11.08 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000171/0.2574, allocations: 129 kB / 443.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003246/0.2578, allocations: 228 kB / 444 MB, free: 10.69 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2578, allocations: 0 / 444 MB, free: 10.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006166/0.2584, allocations: 324.3 kB / 444.3 MB, free: 10.36 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.2584, allocations: 8.219 kB / 444.3 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.2584, allocations: 4 kB / 444.3 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003381/0.2587, allocations: 80.8 kB / 444.4 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001645/0.2589, allocations: 39.92 kB / 444.4 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002162/0.2611, allocations: 1.887 MB / 446.3 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001448/0.2612, allocations: 23.88 kB / 446.3 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.083e-05/0.2612, allocations: 12 kB / 446.3 MB, free: 8.203 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.0001686/0.2614, allocations: 153.7 kB / 446.5 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.357e-05/0.2614, allocations: 11.91 kB / 446.5 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005912/0.262, allocations: 295.4 kB / 446.8 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.262, allocations: 4 kB / 446.8 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.262, allocations: 0 / 446.8 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.262, allocations: 11.91 kB / 446.8 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009569/0.263, allocations: 0.573 MB / 447.4 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.263, allocations: 0 / 447.4 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001377/0.2631, allocations: 27.98 kB / 447.4 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000242/0.2634, allocations: 76.73 kB / 447.5 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.802e-05/0.2634, allocations: 8 kB / 447.5 MB, free: 6.992 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002116/0.2655, allocations: 1.888 MB / 449.4 MB, free: 5.004 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.2655, allocations: 0 / 449.4 MB, free: 5.004 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007097/0.2662, allocations: 441.2 kB / 449.8 MB, free: 4.555 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.303e-05/0.2663, allocations: 35.8 kB / 449.8 MB, free: 4.52 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.555e-05/0.2663, allocations: 4 kB / 449.8 MB, free: 4.516 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/0.2665, allocations: 4 kB / 449.8 MB, free: 4.512 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.936e-05/0.2665, allocations: 20.08 kB / 449.9 MB, free: 4.492 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.402e-05/0.2665, allocations: 15.94 kB / 449.9 MB, free: 4.477 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001087/0.2666, allocations: 123.7 kB / 450 MB, free: 4.355 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2666, allocations: 0 / 450 MB, free: 4.355 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005382/0.2672, allocations: 95.78 kB / 450.1 MB, free: 4.262 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (constantSource.port_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * 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 Backend phase and start with SimCode phase: time 0.0002387/0.2674, allocations: 127.2 kB / 450.2 MB, free: 4.129 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006362/0.268, allocations: 334.3 kB / 450.5 MB, free: 3.789 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.268, allocations: 0 / 450.5 MB, free: 3.789 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003554/0.2684, allocations: 246.4 kB / 450.8 MB, free: 3.535 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003286/0.2687, allocations: 24.44 kB / 450.8 MB, free: 3.512 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/0.2699, allocations: 0.5815 MB / 451.4 MB, free: 2.891 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001843/0.2701, allocations: 150.4 kB / 451.5 MB, free: 2.727 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.467e-05/0.2701, allocations: 23.42 kB / 451.6 MB, free: 2.703 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2701, allocations: 7.938 kB / 451.6 MB, free: 2.695 MB / 350.1 MB Notification: Performance of Templates: time 0.006911/0.277, allocations: 4.183 MB / 455.8 MB, free: 14.51 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile [Timeout 660] (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) [Timeout 480] 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.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.385338495019823]