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 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] 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] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001305/0.001305, allocations: 112.6 kB / 18.78 MB, free: 3.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001481/0.001481, allocations: 215.9 kB / 19.8 MB, free: 2.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.432/1.432, allocations: 230.4 MB / 251.1 MB, free: 8.465 MB / 206.1 MB 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.001994/0.001994, allocations: 76 kB / 369 MB, free: 6.059 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.24, allocations: 53.31 MB / 422.3 MB, free: 7.867 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.004203/0.2442, allocations: 2.868 MB / 425.1 MB, free: 4.988 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001957/0.2462, allocations: 1.223 MB / 426.4 MB, free: 3.762 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001231/0.2463, allocations: 4 kB / 426.4 MB, free: 3.758 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001509/0.2478, allocations: 0.6263 MB / 427 MB, free: 3.129 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003054/0.2481, allocations: 139 kB / 427.1 MB, free: 2.992 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001321/0.2494, allocations: 0.6603 MB / 427.8 MB, free: 2.332 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003986/0.2498, allocations: 294.6 kB / 428.1 MB, free: 2.043 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004112/0.2502, allocations: 210.8 kB / 428.3 MB, free: 1.832 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002056/0.2504, allocations: 131.6 kB / 428.4 MB, free: 1.703 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002395/0.2507, allocations: 163.3 kB / 428.6 MB, free: 1.543 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.078e-05/0.2507, allocations: 32 kB / 428.6 MB, free: 1.512 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003419/0.2511, allocations: 183.8 kB / 428.8 MB, free: 1.332 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.035e-05/0.2511, allocations: 59.78 kB / 428.8 MB, free: 1.273 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001439/0.2513, allocations: 155.2 kB / 429 MB, free: 1.121 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006206/0.2519, allocations: 0.4939 MB / 429.5 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.2519, allocations: 0 / 429.5 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.2519, allocations: 0 / 429.5 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.121e-06/0.2519, allocations: 0 / 429.5 MB, free: 0.6289 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.001664/0.2535, allocations: 0.7403 MB / 430.2 MB, free: 15.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.174e-05/0.2536, allocations: 8.031 kB / 430.2 MB, free: 15.83 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008562/0.2544, allocations: 112.7 kB / 430.3 MB, free: 15.72 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003476/0.2548, allocations: 272.5 kB / 430.6 MB, free: 15.42 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.576e-05/0.2548, allocations: 25.03 kB / 430.6 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.092e-05/0.2549, allocations: 36.38 kB / 430.7 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005778/0.2554, allocations: 337 kB / 431 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/0.2555, allocations: 0 / 431 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.603e-05/0.2555, allocations: 19.98 kB / 431 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.2555, allocations: 8 kB / 431 MB, free: 14.99 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004368/0.2559, allocations: 238.5 kB / 431.3 MB, free: 14.76 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002133/0.2581, allocations: 1.444 MB / 432.7 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007421/0.2588, allocations: 0.6707 MB / 433.4 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001664/0.259, allocations: 100.7 kB / 433.5 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001919/0.2592, allocations: 178.1 kB / 433.6 MB, free: 12.08 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.2592, allocations: 34.56 kB / 433.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.283e-06/0.2592, allocations: 0 / 433.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001237/0.2604, allocations: 491.4 kB / 434.2 MB, free: 11.53 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/0.2605, allocations: 55.41 kB / 434.2 MB, free: 11.46 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001875/0.2607, allocations: 183.3 kB / 434.4 MB, free: 11.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.588e-05/0.2607, allocations: 29.7 kB / 434.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001291/0.2608, allocations: 184.4 kB / 434.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.057e-05/0.2609, allocations: 83.22 kB / 434.7 MB, free: 10.96 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.269e-05/0.261, allocations: 53.98 kB / 434.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.2611, allocations: 326.8 kB / 435 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001259/0.2613, allocations: 68.53 kB / 435.1 MB, free: 10.51 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001805/0.2615, allocations: 133 kB / 435.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003418/0.2618, allocations: 220.9 kB / 435.5 MB, free: 10.12 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.2618, allocations: 0 / 435.5 MB, free: 10.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006094/0.2624, allocations: 331.8 kB / 435.8 MB, free: 9.789 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.2624, allocations: 4 kB / 435.8 MB, free: 9.785 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.601e-05/0.2624, allocations: 4 kB / 435.8 MB, free: 9.781 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003046/0.2627, allocations: 72.81 kB / 435.9 MB, free: 9.707 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001673/0.2629, allocations: 43.91 kB / 435.9 MB, free: 9.664 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002184/0.2651, allocations: 2.037 MB / 437.9 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001393/0.2652, allocations: 27.81 kB / 438 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.087e-05/0.2653, allocations: 12 kB / 438 MB, free: 7.445 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.0001575/0.2654, allocations: 145.8 kB / 438.1 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.099e-05/0.2655, allocations: 23.8 kB / 438.1 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006041/0.2661, allocations: 283.6 kB / 438.4 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.2661, allocations: 4 kB / 438.4 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.2661, allocations: 0 / 438.4 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.2661, allocations: 0 / 438.4 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001053/0.2671, allocations: 0.6943 MB / 439.1 MB, free: 6.219 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.2671, allocations: 0 / 439.1 MB, free: 6.219 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001244/0.2673, allocations: 23.98 kB / 439.1 MB, free: 6.195 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002432/0.2675, allocations: 76.73 kB / 439.2 MB, free: 6.117 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.786e-05/0.2675, allocations: 8.281 kB / 439.2 MB, free: 6.109 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002143/0.2697, allocations: 2.034 MB / 441.3 MB, free: 3.938 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.2697, allocations: 0 / 441.3 MB, free: 3.938 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007104/0.2704, allocations: 451.2 kB / 441.7 MB, free: 3.48 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/0.2705, allocations: 109 kB / 441.8 MB, free: 3.355 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.67e-05/0.2705, allocations: 8.125 kB / 441.8 MB, free: 3.348 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001252/0.2706, allocations: 8 kB / 441.8 MB, free: 3.34 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.991e-05/0.2707, allocations: 15.97 kB / 441.8 MB, free: 3.324 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.2707, allocations: 8 kB / 441.9 MB, free: 3.316 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001139/0.2708, allocations: 123.2 kB / 442 MB, free: 3.195 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2708, allocations: 4 kB / 442 MB, free: 3.191 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004953/0.2713, allocations: 103.7 kB / 442.1 MB, free: 3.09 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.0002134/0.2715, allocations: 131.2 kB / 442.2 MB, free: 2.953 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006337/0.2721, allocations: 342.6 kB / 442.5 MB, free: 2.605 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2721, allocations: 8.125 kB / 442.5 MB, free: 2.598 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000354/0.2725, allocations: 234.5 kB / 442.8 MB, free: 2.355 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003163/0.2728, allocations: 28.33 kB / 442.8 MB, free: 2.332 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/0.2739, allocations: 0.5697 MB / 443.4 MB, free: 1.742 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003975/0.2743, allocations: 0.756 MB / 444.1 MB, free: 0.957 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.27e-05/0.2744, allocations: 25.89 kB / 444.2 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.806e-05/0.2744, allocations: 15.44 kB / 444.2 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2744, allocations: 0 / 444.2 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of Templates: time 0.007113/0.2815, allocations: 2.807 MB / 447 MB, free: 14.12 MB / 366.1 MB 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/GeneralLeakage/GeneralLeakage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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] Reference file matches