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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001391/0.001391, allocations: 197.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.332/1.332, allocations: 225.4 MB / 240.1 MB, free: 15.15 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008423/0.0008423, allocations: 84.41 kB / 292.1 MB, free: 5.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.376e-05/4.392e-05, allocations: 4 kB / 350.6 MB, free: 2.523 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.131, allocations: 51.49 MB / 402 MB, free: 14.99 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3038/0.4348, allocations: 81.86 MB / 483.9 MB, free: 7.691 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002256/0.435, allocations: 89.44 kB / 484 MB, free: 7.645 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02746/0.4625, allocations: 12.05 MB / 496 MB, free: 13.13 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.4626, allocations: 0 / 496 MB, free: 13.13 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.433e-05/0.4626, allocations: 4 kB / 496 MB, free: 13.12 MB / 362.7 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.00142/0.464, allocations: 0.607 MB / 496.6 MB, free: 12.48 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.4641, allocations: 8.031 kB / 496.7 MB, free: 12.47 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006441/0.4647, allocations: 103.5 kB / 496.8 MB, free: 12.37 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003338/0.4651, allocations: 255.4 kB / 497 MB, free: 12.08 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.451e-05/0.4651, allocations: 35.89 kB / 497 MB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.472e-05/0.4652, allocations: 31.91 kB / 497.1 MB, free: 12.02 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005431/0.4657, allocations: 334.5 kB / 497.4 MB, free: 11.68 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.4658, allocations: 0 / 497.4 MB, free: 11.68 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.958e-05/0.4658, allocations: 12 kB / 497.4 MB, free: 11.67 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.4658, allocations: 8 kB / 497.4 MB, free: 11.66 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003797/0.4662, allocations: 235.1 kB / 497.6 MB, free: 11.43 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001893/0.4681, allocations: 1.452 MB / 499.1 MB, free: 9.84 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000645/0.4688, allocations: 0.6915 MB / 499.8 MB, free: 9.031 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001426/0.4689, allocations: 100.8 kB / 499.9 MB, free: 8.93 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001908/0.4691, allocations: 170.2 kB / 0.4883 GB, free: 8.727 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.4691, allocations: 34.56 kB / 0.4884 GB, free: 8.684 MB / 362.7 MB Notification: Performance of pre-optimization done (n=24): time 1.573e-06/0.4691, allocations: 0 / 0.4884 GB, free: 8.684 MB / 362.7 MB Notification: Performance of matching and sorting (n=24): time 0.0006011/0.4698, allocations: 249 kB / 0.4886 GB, free: 8.434 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/0.4698, allocations: 55.41 kB / 0.4887 GB, free: 8.367 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001673/0.47, allocations: 163.4 kB / 0.4888 GB, free: 8.195 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.47, allocations: 33.64 kB / 0.4888 GB, free: 8.156 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.4701, allocations: 172 kB / 0.489 GB, free: 7.984 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.004e-05/0.4702, allocations: 86.75 kB / 0.4891 GB, free: 7.898 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.262e-05/0.4702, allocations: 4 kB / 0.4891 GB, free: 7.895 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.4704, allocations: 326.8 kB / 0.4894 GB, free: 7.566 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001282/0.4705, allocations: 60.56 kB / 0.4895 GB, free: 7.508 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001692/0.4707, allocations: 129.6 kB / 0.4896 GB, free: 7.363 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001571/0.4709, allocations: 81.14 kB / 0.4897 GB, free: 7.285 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.4709, allocations: 0 / 0.4897 GB, free: 7.285 MB / 362.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006235/0.4715, allocations: 311.8 kB / 0.49 GB, free: 6.973 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.4715, allocations: 9.719 kB / 0.49 GB, free: 6.965 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.4715, allocations: 0 / 0.49 GB, free: 6.965 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003527/0.4719, allocations: 77 kB / 0.49 GB, free: 6.887 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001854/0.4721, allocations: 43.92 kB / 0.4901 GB, free: 6.844 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002078/0.4742, allocations: 1.831 MB / 0.4919 GB, free: 4.883 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001372/0.4744, allocations: 27.69 kB / 0.4919 GB, free: 4.855 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.952e-05/0.4744, allocations: 20 kB / 0.4919 GB, free: 4.836 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.094e-05/0.4745, allocations: 114.1 kB / 0.492 GB, free: 4.719 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.781e-05/0.4745, allocations: 15.81 kB / 0.492 GB, free: 4.703 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005268/0.475, allocations: 280.2 kB / 0.4923 GB, free: 4.422 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.4751, allocations: 7.938 kB / 0.4923 GB, free: 4.414 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.4751, allocations: 3.953 kB / 0.4923 GB, free: 4.41 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.4751, allocations: 3.984 kB / 0.4923 GB, free: 4.406 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009109/0.476, allocations: 0.6803 MB / 0.493 GB, free: 3.668 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.476, allocations: 7.984 kB / 0.493 GB, free: 3.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001103/0.4761, allocations: 23.95 kB / 0.493 GB, free: 3.637 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002203/0.4764, allocations: 72.81 kB / 0.4931 GB, free: 3.562 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.626e-05/0.4764, allocations: 7.984 kB / 0.4931 GB, free: 3.555 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001609/0.478, allocations: 1.82 MB / 0.4949 GB, free: 1.598 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.478, allocations: 0.8438 kB / 0.4949 GB, free: 1.598 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000592/0.4786, allocations: 449.3 kB / 0.4953 GB, free: 1.141 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.82e-05/0.4787, allocations: 112.9 kB / 0.4954 GB, free: 1.012 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.281e-05/0.4787, allocations: 8 kB / 0.4954 GB, free: 1.004 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.4789, allocations: 12.12 kB / 0.4954 GB, free: 0.9922 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.42e-05/0.4789, allocations: 15.98 kB / 0.4955 GB, free: 0.9766 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.295e-05/0.4789, allocations: 7.984 kB / 0.4955 GB, free: 0.9688 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.825e-05/0.479, allocations: 127.2 kB / 0.4956 GB, free: 0.8438 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.479, allocations: 0 / 0.4956 GB, free: 0.8438 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004878/0.4795, allocations: 106.1 kB / 0.4957 GB, free: 0.7422 MB / 362.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002168/0.4798, allocations: 144.9 kB / 0.4958 GB, free: 0.5938 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005314/0.4803, allocations: 330.4 kB / 0.4961 GB, free: 268 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.4803, allocations: 4.062 kB / 0.4961 GB, free: 264 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002908/0.4806, allocations: 246.2 kB / 0.4964 GB, free: 4 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002206/0.4808, allocations: 24.94 kB / 0.4964 GB, free: 15.98 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007383/0.4816, allocations: 399.2 kB / 0.4968 GB, free: 15.57 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002786/0.4819, allocations: 0.7674 MB / 0.4975 GB, free: 14.78 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001082/0.482, allocations: 22.06 kB / 0.4975 GB, free: 14.76 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.582e-05/0.482, allocations: 15.44 kB / 0.4976 GB, free: 14.74 MB / 378.7 MB Notification: Performance of SimCode: time 2.61e-07/0.482, allocations: 0 / 0.4976 GB, free: 14.74 MB / 378.7 MB Notification: Performance of Templates: time 0.005649/0.4877, allocations: 2.608 MB / 0.5001 GB, free: 12.21 MB / 378.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/GeneralLeakage/GeneralLeakage.csv","../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches