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.001039/0.001039, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.209/1.209, allocations: 227.2 MB / 245 MB, free: 5.93 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008126/0.0008126, allocations: 98.84 kB / 297.3 MB, free: 5.973 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000224/0.000224, allocations: 4 kB / 357.9 MB, free: 9.324 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2027/0.2029, allocations: 51.48 MB / 409.4 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09181/0.2948, allocations: 81.92 MB / 491.3 MB, free: 8.68 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002294/0.2951, allocations: 91.94 kB / 491.4 MB, free: 8.59 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02678/0.3219, allocations: 12.1 MB / 0.4917 GB, free: 12.35 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3219, allocations: 4 kB / 0.4917 GB, free: 12.34 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.483e-05/0.3219, allocations: 4 kB / 0.4917 GB, free: 12.34 MB / 378.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.001257/0.3232, allocations: 0.6238 MB / 0.4924 GB, free: 11.67 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.3232, allocations: 8.031 kB / 0.4924 GB, free: 11.66 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006599/0.3239, allocations: 111.5 kB / 0.4925 GB, free: 11.55 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003287/0.3242, allocations: 263.3 kB / 0.4927 GB, free: 11.25 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.221e-05/0.3243, allocations: 20.66 kB / 0.4927 GB, free: 11.23 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.842e-05/0.3243, allocations: 43.89 kB / 0.4928 GB, free: 11.19 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004859/0.3248, allocations: 321.1 kB / 0.4931 GB, free: 10.87 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.3249, allocations: 0 / 0.4931 GB, free: 10.87 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.9e-05/0.3249, allocations: 19.98 kB / 0.4931 GB, free: 10.85 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.3249, allocations: 8 kB / 0.4931 GB, free: 10.84 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000372/0.3253, allocations: 238.5 kB / 0.4933 GB, free: 10.61 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001782/0.3271, allocations: 1.459 MB / 0.4948 GB, free: 9.008 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005785/0.3277, allocations: 0.6998 MB / 0.4954 GB, free: 8.191 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001671/0.3279, allocations: 170.2 kB / 0.4956 GB, free: 7.988 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.3279, allocations: 34.56 kB / 0.4956 GB, free: 7.945 MB / 378.7 MB Notification: Performance of pre-optimization done (n=24): time 1.773e-06/0.3279, allocations: 0 / 0.4956 GB, free: 7.945 MB / 378.7 MB Notification: Performance of matching and sorting (n=24): time 0.00112/0.329, allocations: 494.2 kB / 0.4961 GB, free: 7.438 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.909e-05/0.3291, allocations: 55.41 kB / 0.4962 GB, free: 7.371 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001424/0.3292, allocations: 158.4 kB / 0.4963 GB, free: 7.203 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.3292, allocations: 29.7 kB / 0.4963 GB, free: 7.168 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.88e-05/0.3293, allocations: 176 kB / 0.4965 GB, free: 6.992 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.625e-05/0.3294, allocations: 82.81 kB / 0.4966 GB, free: 6.91 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.111e-05/0.3294, allocations: 4 kB / 0.4966 GB, free: 6.906 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.746e-05/0.3295, allocations: 334.8 kB / 0.4969 GB, free: 6.57 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001034/0.3296, allocations: 64.53 kB / 0.497 GB, free: 6.508 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001455/0.3298, allocations: 119.8 kB / 0.4971 GB, free: 6.371 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001493/0.3299, allocations: 93.11 kB / 0.4972 GB, free: 6.281 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.3299, allocations: 0 / 0.4972 GB, free: 6.281 MB / 378.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005246/0.3305, allocations: 307.9 kB / 0.4975 GB, free: 5.973 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.3305, allocations: 8.188 kB / 0.4975 GB, free: 5.965 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.3305, allocations: 4 kB / 0.4975 GB, free: 5.961 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000327/0.3308, allocations: 80.73 kB / 0.4976 GB, free: 5.879 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001497/0.331, allocations: 35.98 kB / 0.4976 GB, free: 5.844 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00185/0.3329, allocations: 1.866 MB / 0.4994 GB, free: 3.848 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001347/0.333, allocations: 23.81 kB / 0.4994 GB, free: 3.824 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.74e-05/0.333, allocations: 15.94 kB / 0.4995 GB, free: 3.809 MB / 378.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 () * Number of clocked 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 0.0001412/0.3332, allocations: 145.8 kB / 0.4996 GB, free: 3.656 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.167e-05/0.3332, allocations: 15.81 kB / 0.4996 GB, free: 3.641 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005325/0.3338, allocations: 288 kB / 0.4999 GB, free: 3.344 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.3338, allocations: 4 kB / 0.4999 GB, free: 3.34 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.3338, allocations: 7.938 kB / 0.4999 GB, free: 3.332 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.3338, allocations: 4 kB / 0.4999 GB, free: 3.328 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009105/0.3347, allocations: 0.6889 MB / 0.5006 GB, free: 2.582 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.3347, allocations: 3.938 kB / 0.5006 GB, free: 2.578 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001099/0.3349, allocations: 23.98 kB / 0.5006 GB, free: 2.555 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000237/0.3351, allocations: 80.69 kB / 0.5007 GB, free: 2.473 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.667e-05/0.3351, allocations: 4 kB / 0.5007 GB, free: 2.469 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001872/0.337, allocations: 1.847 MB / 0.5025 GB, free: 0.4922 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.337, allocations: 0 / 0.5025 GB, free: 0.4922 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006494/0.3377, allocations: 456.9 kB / 0.5029 GB, free: 28 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.1681/0.5058, allocations: 107 kB / 0.503 GB, free: 91.82 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.133e-05/0.5059, allocations: 8.156 kB / 0.503 GB, free: 91.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001515/0.506, allocations: 5.172 kB / 0.503 GB, free: 91.82 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.287e-05/0.5061, allocations: 17.55 kB / 0.5031 GB, free: 91.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-05/0.5061, allocations: 6.875 kB / 0.5031 GB, free: 91.82 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000122/0.5063, allocations: 130 kB / 0.5032 GB, free: 91.75 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5063, allocations: 0 / 0.5032 GB, free: 91.75 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000572/0.5069, allocations: 106.2 kB / 0.5033 GB, free: 91.75 MB / 378.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 () * 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 (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.0002158/0.5071, allocations: 139.4 kB / 0.5034 GB, free: 91.66 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006881/0.5078, allocations: 340.8 kB / 0.5037 GB, free: 91.55 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.5078, allocations: 1.281 kB / 0.5037 GB, free: 91.55 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003157/0.5081, allocations: 246.7 kB / 0.504 GB, free: 91.43 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002386/0.5084, allocations: 22.5 kB / 0.504 GB, free: 91.43 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009999/0.5094, allocations: 0.7182 MB / 0.5047 GB, free: 91.09 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001818/0.5096, allocations: 0.7649 MB / 0.5054 GB, free: 90.39 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001018/0.5097, allocations: 22.3 kB / 0.5055 GB, free: 90.38 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.501e-05/0.5097, allocations: 19.73 kB / 0.5055 GB, free: 90.38 MB / 378.7 MB Notification: Performance of SimCode: time 9.32e-07/0.5097, allocations: 1 kB / 0.5055 GB, free: 90.38 MB / 378.7 MB Notification: Performance of Templates: time 0.005264/0.515, allocations: 2.53 MB / 0.508 GB, free: 90.24 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