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) 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) 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=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/ModelicaServices trunk/package.mo): time 0.001278/0.001278, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001255/0.001255, allocations: 207.8 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.424/1.424, allocations: 227.4 MB / 247.5 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001744/0.001744, allocations: 62.44 kB / 307.7 MB, free: 0.6445 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09474/0.0965, allocations: 50.54 MB / 358.2 MB, free: 14.1 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.004244/0.1008, allocations: 2.842 MB / 361 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001933/0.1027, allocations: 1.219 MB / 362.3 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001293/0.1029, allocations: 8 kB / 362.3 MB, free: 10.01 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001428/0.1043, allocations: 0.6145 MB / 362.9 MB, free: 9.395 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003037/0.1047, allocations: 135 kB / 363 MB, free: 9.262 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001195/0.1059, allocations: 0.6569 MB / 363.7 MB, free: 8.605 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003611/0.1062, allocations: 290.7 kB / 363.9 MB, free: 8.32 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004473/0.1067, allocations: 283 kB / 364.2 MB, free: 8.047 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001868/0.1069, allocations: 139.5 kB / 364.4 MB, free: 7.91 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002073/0.1071, allocations: 171.3 kB / 364.5 MB, free: 7.742 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.987e-05/0.1071, allocations: 24 kB / 364.6 MB, free: 7.719 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003282/0.1075, allocations: 183.8 kB / 364.7 MB, free: 7.539 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.421e-05/0.1075, allocations: 59.72 kB / 364.8 MB, free: 7.48 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001351/0.1077, allocations: 151.3 kB / 364.9 MB, free: 7.332 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005614/0.1083, allocations: 498.5 kB / 365.4 MB, free: 6.844 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1083, allocations: 0 / 365.4 MB, free: 6.844 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1083, allocations: 0 / 365.4 MB, free: 6.844 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.099e-05/0.1083, allocations: 4 kB / 365.4 MB, free: 6.84 MB / 302.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.001559/0.1099, allocations: 0.7216 MB / 366.2 MB, free: 6.066 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.1099, allocations: 12.03 kB / 366.2 MB, free: 6.055 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007578/0.1107, allocations: 116.5 kB / 366.3 MB, free: 5.941 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003025/0.111, allocations: 264.5 kB / 366.5 MB, free: 5.645 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.592e-05/0.111, allocations: 28.97 kB / 366.6 MB, free: 5.617 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.816e-05/0.1111, allocations: 32.38 kB / 366.6 MB, free: 5.586 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005047/0.1116, allocations: 333 kB / 366.9 MB, free: 5.254 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.1116, allocations: 0 / 366.9 MB, free: 5.254 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.899e-05/0.1116, allocations: 16 kB / 366.9 MB, free: 5.238 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.1117, allocations: 8 kB / 366.9 MB, free: 5.23 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004483/0.1121, allocations: 242.5 kB / 367.2 MB, free: 4.992 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001939/0.1141, allocations: 1.455 MB / 368.6 MB, free: 3.395 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006957/0.1148, allocations: 0.7033 MB / 369.3 MB, free: 2.574 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001524/0.1149, allocations: 104.1 kB / 369.4 MB, free: 2.473 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001842/0.1151, allocations: 170.1 kB / 369.6 MB, free: 2.27 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.1152, allocations: 38.56 kB / 369.6 MB, free: 2.223 MB / 302.1 MB Notification: Performance of pre-optimization done (n=24): time 1.423e-06/0.1152, allocations: 0 / 369.6 MB, free: 2.223 MB / 302.1 MB Notification: Performance of matching and sorting (n=24): time 0.001201/0.1164, allocations: 499.2 kB / 370.1 MB, free: 1.707 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.192e-05/0.1164, allocations: 59.41 kB / 370.2 MB, free: 1.637 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001643/0.1166, allocations: 172.9 kB / 370.4 MB, free: 1.453 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.313e-05/0.1166, allocations: 33.7 kB / 370.4 MB, free: 1.414 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000114/0.1168, allocations: 184 kB / 370.6 MB, free: 1.227 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.377e-05/0.1168, allocations: 78.77 kB / 370.6 MB, free: 1.148 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.46e-05/0.1169, allocations: 57.91 kB / 370.7 MB, free: 1.086 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.1171, allocations: 330.8 kB / 371 MB, free: 0.7539 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001161/0.1172, allocations: 72.53 kB / 371.1 MB, free: 0.6836 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001578/0.1173, allocations: 125 kB / 371.2 MB, free: 0.5391 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002948/0.1176, allocations: 224.1 kB / 371.4 MB, free: 304 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1177, allocations: 0 / 371.4 MB, free: 304 kB / 302.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.1785/0.2962, allocations: 321.8 kB / 371.8 MB, free: 20.06 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.815e-05/0.2963, allocations: 6.312 kB / 371.8 MB, free: 20.06 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.2963, allocations: 5.125 kB / 371.8 MB, free: 20.06 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003825/0.2967, allocations: 75.92 kB / 371.8 MB, free: 20.05 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001989/0.2969, allocations: 44.72 kB / 371.9 MB, free: 20.05 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001827/0.2987, allocations: 2.026 MB / 373.9 MB, free: 18.58 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001502/0.2989, allocations: 26.69 kB / 373.9 MB, free: 18.58 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.093e-05/0.2989, allocations: 12.86 kB / 373.9 MB, free: 18.58 MB / 302.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.0001316/0.2991, allocations: 150.8 kB / 374.1 MB, free: 18.47 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.053e-05/0.2991, allocations: 20.05 kB / 374.1 MB, free: 18.46 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000561/0.2997, allocations: 283 kB / 374.4 MB, free: 18.41 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.2997, allocations: 2.125 kB / 374.4 MB, free: 18.41 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.2997, allocations: 2.188 kB / 374.4 MB, free: 18.41 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.2997, allocations: 5.297 kB / 374.4 MB, free: 18.41 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009531/0.3007, allocations: 0.6941 MB / 375.1 MB, free: 18.05 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.3007, allocations: 0 / 375.1 MB, free: 18.05 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001182/0.3008, allocations: 23.5 kB / 375.1 MB, free: 18.05 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002317/0.3011, allocations: 79.19 kB / 375.2 MB, free: 18.02 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.695e-05/0.3011, allocations: 9.906 kB / 375.2 MB, free: 18.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001548/0.3026, allocations: 2.025 MB / 377.2 MB, free: 16.23 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3026, allocations: 0 / 377.2 MB, free: 16.23 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006524/0.3033, allocations: 455.8 kB / 377.7 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.915e-05/0.3034, allocations: 110.2 kB / 377.8 MB, free: 15.85 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.607e-05/0.3034, allocations: 5.594 kB / 377.8 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.3035, allocations: 6.156 kB / 377.8 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.11e-05/0.3036, allocations: 20.33 kB / 377.8 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/0.3036, allocations: 8.391 kB / 377.8 MB, free: 15.84 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.613e-05/0.3037, allocations: 130.8 kB / 377.9 MB, free: 15.75 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3037, allocations: 0 / 377.9 MB, free: 15.75 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000612/0.3043, allocations: 95.17 kB / 378 MB, free: 15.72 MB / 302.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.0002336/0.3046, allocations: 133.9 kB / 378.2 MB, free: 15.62 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006049/0.3052, allocations: 353.5 kB / 378.5 MB, free: 15.42 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3052, allocations: 0 / 378.5 MB, free: 15.42 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002782/0.3055, allocations: 250 kB / 378.8 MB, free: 15.25 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003832/0.3059, allocations: 28.11 kB / 378.8 MB, free: 15.24 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009492/0.3069, allocations: 0.5861 MB / 379.4 MB, free: 14.88 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002012/0.3071, allocations: 0.7544 MB / 380.1 MB, free: 14.18 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.315e-05/0.3071, allocations: 19.84 kB / 380.1 MB, free: 14.17 MB / 302.1 MB Notification: Performance of SimCode: time 2e-07/0.3071, allocations: 0 / 380.1 MB, free: 14.17 MB / 302.1 MB Notification: Performance of Templates: time 0.007255/0.3144, allocations: 4.024 MB / 384.2 MB, free: 13.75 MB / 302.1 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/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) Reference file matches