Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_cpp_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_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001478/0.001477, allocations: 185.9 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.985/1.985, allocations: 205.4 MB / 222.5 MB, free: 9.145 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001413/0.001413, allocations: 92.36 kB / 270.9 MB, free: 8.387 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004161/0.0004161, allocations: 8 kB / 327 MB, free: 216 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.3286, allocations: 47.57 MB / 374.5 MB, free: 45.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.125/0.4537, allocations: 79.88 MB / 454.4 MB, free: 0.9102 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003264/0.454, allocations: 87.95 kB / 454.5 MB, free: 0.8242 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04204/0.4961, allocations: 11.19 MB / 465.7 MB, free: 5.496 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.275e-06/0.4962, allocations: 4 kB / 465.7 MB, free: 5.492 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.665e-05/0.4962, allocations: 4 kB / 465.7 MB, free: 5.488 MB / 346.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.001865/0.4981, allocations: 0.6121 MB / 466.3 MB, free: 4.828 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.4981, allocations: 19.91 kB / 466.3 MB, free: 4.809 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00102/0.4992, allocations: 103.5 kB / 466.4 MB, free: 4.707 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004511/0.4996, allocations: 259.2 kB / 466.7 MB, free: 4.414 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.424e-05/0.4997, allocations: 24.66 kB / 466.7 MB, free: 4.391 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.765e-05/0.4998, allocations: 35.95 kB / 466.7 MB, free: 4.355 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008171/0.5006, allocations: 325.1 kB / 467.1 MB, free: 4.023 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.611e-05/0.5007, allocations: 4 kB / 467.1 MB, free: 4.02 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.809e-05/0.5007, allocations: 12 kB / 467.1 MB, free: 4.008 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.387e-05/0.5007, allocations: 12 kB / 467.1 MB, free: 3.996 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006453/0.5014, allocations: 238.5 kB / 467.3 MB, free: 3.766 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002893/0.5043, allocations: 1.456 MB / 468.8 MB, free: 2.168 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009864/0.5053, allocations: 0.7085 MB / 469.5 MB, free: 1.344 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001353/0.5055, allocations: 85.09 kB / 469.6 MB, free: 1.242 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.5055, allocations: 38.56 kB / 469.6 MB, free: 1.195 MB / 346.7 MB Notification: Performance of pre-optimization done (n=24): time 2.585e-06/0.5055, allocations: 0 / 469.6 MB, free: 1.195 MB / 346.7 MB Notification: Performance of matching and sorting (n=24): time 0.001883/0.5074, allocations: 485.8 kB / 470.1 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.207e-05/0.5075, allocations: 55.41 kB / 470.1 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002219/0.5077, allocations: 158.5 kB / 470.3 MB, free: 472 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.087e-05/0.5078, allocations: 29.7 kB / 470.3 MB, free: 436 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001459/0.5079, allocations: 238.4 kB / 470.6 MB, free: 196 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.119e-05/0.508, allocations: 86.75 kB / 470.6 MB, free: 108 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.119e-05/0.5081, allocations: 4 kB / 470.6 MB, free: 104 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.5082, allocations: 330.8 kB / 471 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001873/0.5084, allocations: 64.53 kB / 471 MB, free: 15.71 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002301/0.5087, allocations: 119.3 kB / 471.1 MB, free: 15.57 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002327/0.5089, allocations: 89.09 kB / 471.2 MB, free: 15.48 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.5089, allocations: 4 kB / 471.2 MB, free: 15.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000878/0.5098, allocations: 305.1 kB / 471.5 MB, free: 15.18 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.55e-05/0.5099, allocations: 8 kB / 471.5 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.5099, allocations: 3.984 kB / 471.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004796/0.5104, allocations: 80.73 kB / 471.6 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002791/0.5107, allocations: 35.98 kB / 471.7 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002772/0.5135, allocations: 1.867 MB / 473.5 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000239/0.5137, allocations: 23.75 kB / 473.6 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.841e-05/0.5138, allocations: 8 kB / 473.6 MB, free: 13.02 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 () * 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.0002246/0.514, allocations: 141.8 kB / 473.7 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.846e-05/0.5141, allocations: 15.81 kB / 473.7 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008768/0.515, allocations: 292.7 kB / 474 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.839e-06/0.515, allocations: 4 kB / 474 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.515, allocations: 3.953 kB / 474 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.515, allocations: 4 kB / 474 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001513/0.5165, allocations: 0.6905 MB / 474.7 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.5166, allocations: 0 / 474.7 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002248/0.5168, allocations: 27.92 kB / 474.7 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004055/0.5172, allocations: 84.73 kB / 474.8 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.279e-05/0.5173, allocations: 8 kB / 474.8 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00266/0.5199, allocations: 1.847 MB / 476.7 MB, free: 9.691 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.52, allocations: 0 / 476.7 MB, free: 9.691 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001048/0.521, allocations: 452.5 kB / 477.1 MB, free: 9.23 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001446/0.5212, allocations: 116.8 kB / 477.2 MB, free: 9.098 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.092e-05/0.5213, allocations: 4 kB / 477.2 MB, free: 9.094 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001868/0.5215, allocations: 4 kB / 477.2 MB, free: 9.09 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.465e-05/0.5215, allocations: 23.97 kB / 477.3 MB, free: 9.066 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.845e-05/0.5216, allocations: 4 kB / 477.3 MB, free: 9.062 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001537/0.5217, allocations: 127.5 kB / 477.4 MB, free: 8.938 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5217, allocations: 0 / 477.4 MB, free: 8.938 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006643/0.5224, allocations: 103.8 kB / 477.5 MB, free: 8.836 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 () * 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.0002707/0.5227, allocations: 127.2 kB / 477.6 MB, free: 8.703 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008953/0.5236, allocations: 343.1 kB / 477.9 MB, free: 8.355 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.5236, allocations: 0 / 477.9 MB, free: 8.355 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004995/0.5241, allocations: 246.5 kB / 478.2 MB, free: 8.102 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003211/0.5245, allocations: 24.33 kB / 478.2 MB, free: 8.078 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001614/0.5261, allocations: 0.7556 MB / 479 MB, free: 7.293 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003776/0.5265, allocations: 0.7557 MB / 479.7 MB, free: 6.512 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.825e-05/0.5266, allocations: 23.44 kB / 479.7 MB, free: 6.488 MB / 362.7 MB Notification: Performance of SimCode: time 1.232e-06/0.5266, allocations: 0 / 479.7 MB, free: 6.488 MB / 362.7 MB Notification: Performance of Templates: time 0.008655/0.5353, allocations: 3.828 MB / 483.6 MB, free: 2.66 MB / 362.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/GeneralLeakage/GeneralLeakage.csv","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches