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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) 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=2000,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=2000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00125/0.00125, allocations: 115.5 kB / 18.45 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001288/0.001288, allocations: 206.8 kB / 19.4 MB, free: 3.645 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.419/1.419, allocations: 227.7 MB / 247.9 MB, free: 10.18 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.001813/0.001813, allocations: 59.89 kB / 359.7 MB, free: 12.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2129/0.2147, allocations: 50.54 MB / 410.2 MB, free: 1.398 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.004023/0.2187, allocations: 2.859 MB / 413.1 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001939/0.2206, allocations: 1.207 MB / 414.3 MB, free: 13.32 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001184/0.2208, allocations: 8 kB / 414.3 MB, free: 13.31 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001443/0.2222, allocations: 0.6146 MB / 414.9 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002892/0.2225, allocations: 139 kB / 415 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001278/0.2238, allocations: 0.6599 MB / 415.7 MB, free: 11.9 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003722/0.2241, allocations: 290.6 kB / 416 MB, free: 11.61 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003727/0.2245, allocations: 206.8 kB / 416.2 MB, free: 11.41 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001945/0.2247, allocations: 139.5 kB / 416.3 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002077/0.2249, allocations: 163.4 kB / 416.5 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.146e-05/0.225, allocations: 28 kB / 416.5 MB, free: 11.08 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003247/0.2253, allocations: 183.8 kB / 416.7 MB, free: 10.9 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.392e-05/0.2253, allocations: 63.78 kB / 416.7 MB, free: 10.84 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001296/0.2255, allocations: 139.3 kB / 416.9 MB, free: 10.7 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006066/0.2261, allocations: 0.5058 MB / 417.4 MB, free: 10.2 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.766e-06/0.2261, allocations: 0 / 417.4 MB, free: 10.2 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2261, allocations: 0 / 417.4 MB, free: 10.2 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.952e-06/0.2261, allocations: 4 kB / 417.4 MB, free: 10.2 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.001652/0.2277, allocations: 0.7404 MB / 418.1 MB, free: 9.406 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.2278, allocations: 8.031 kB / 418.1 MB, free: 9.398 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008337/0.2286, allocations: 120.7 kB / 418.3 MB, free: 9.281 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000334/0.2289, allocations: 264.5 kB / 418.5 MB, free: 8.984 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.262e-05/0.229, allocations: 29.02 kB / 418.5 MB, free: 8.957 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.926e-05/0.229, allocations: 28.38 kB / 418.6 MB, free: 8.93 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005226/0.2295, allocations: 333 kB / 418.9 MB, free: 8.594 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.927e-05/0.2296, allocations: 7.938 kB / 418.9 MB, free: 8.586 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.951e-05/0.2296, allocations: 8 kB / 418.9 MB, free: 8.578 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.2296, allocations: 8 kB / 418.9 MB, free: 8.57 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004059/0.23, allocations: 242.5 kB / 419.2 MB, free: 8.336 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001991/0.232, allocations: 1.44 MB / 420.6 MB, free: 6.758 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007022/0.2327, allocations: 0.6831 MB / 421.3 MB, free: 5.957 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001453/0.2328, allocations: 88.83 kB / 421.4 MB, free: 5.867 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000178/0.233, allocations: 174.1 kB / 421.5 MB, free: 5.66 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.233, allocations: 38.5 kB / 421.6 MB, free: 5.613 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.382e-06/0.233, allocations: 0 / 421.6 MB, free: 5.613 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.001212/0.2343, allocations: 496.2 kB / 422.1 MB, free: 5.102 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.073e-05/0.2343, allocations: 55.41 kB / 422.1 MB, free: 5.035 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000173/0.2345, allocations: 175.3 kB / 422.3 MB, free: 4.848 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.306e-05/0.2345, allocations: 29.7 kB / 422.3 MB, free: 4.812 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.2346, allocations: 180.4 kB / 422.5 MB, free: 4.633 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.932e-05/0.2347, allocations: 87.22 kB / 422.6 MB, free: 4.547 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.116e-05/0.2348, allocations: 49.98 kB / 422.6 MB, free: 4.492 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.2349, allocations: 330.8 kB / 422.9 MB, free: 4.16 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001189/0.235, allocations: 68.53 kB / 423 MB, free: 4.094 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001691/0.2352, allocations: 137 kB / 423.1 MB, free: 3.938 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003009/0.2355, allocations: 217 kB / 423.4 MB, free: 3.703 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.2355, allocations: 0 / 423.4 MB, free: 3.703 MB / 334.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000572/0.2361, allocations: 327.7 kB / 423.7 MB, free: 3.375 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.2361, allocations: 11.98 kB / 423.7 MB, free: 3.363 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.2361, allocations: 3.938 kB / 423.7 MB, free: 3.359 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003026/0.2364, allocations: 76.75 kB / 423.8 MB, free: 3.281 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000157/0.2365, allocations: 48.08 kB / 423.8 MB, free: 3.234 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002383/0.2389, allocations: 2.022 MB / 425.8 MB, free: 1.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000145/0.2391, allocations: 31.78 kB / 425.9 MB, free: 1.039 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.829e-05/0.2391, allocations: 8 kB / 425.9 MB, free: 1.031 MB / 334.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.0001692/0.2393, allocations: 145.8 kB / 426 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.213e-05/0.2393, allocations: 27.86 kB / 426 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005787/0.2399, allocations: 279.8 kB / 426.3 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.2399, allocations: 0 / 426.3 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.2399, allocations: 4 kB / 426.3 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.2399, allocations: 0 / 426.3 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001026/0.2409, allocations: 0.6943 MB / 427 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.2409, allocations: 0 / 427 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001194/0.2411, allocations: 27.92 kB / 427 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002416/0.2413, allocations: 72.8 kB / 427.1 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.809e-05/0.2413, allocations: 8 kB / 427.1 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002156/0.2435, allocations: 2.026 MB / 429.1 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.2435, allocations: 0 / 429.1 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006837/0.2442, allocations: 452.4 kB / 429.6 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.2443, allocations: 113 kB / 429.7 MB, free: 12.94 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.084e-05/0.2443, allocations: 0 / 429.7 MB, free: 12.94 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.2444, allocations: 4 kB / 429.7 MB, free: 12.94 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.894e-05/0.2444, allocations: 23.97 kB / 429.7 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.2445, allocations: 4 kB / 429.7 MB, free: 12.91 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001057/0.2446, allocations: 123.2 kB / 429.9 MB, free: 12.79 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2446, allocations: 0 / 429.9 MB, free: 12.79 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004764/0.245, allocations: 103.7 kB / 430 MB, free: 12.69 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.0002206/0.2453, allocations: 131.2 kB / 430.1 MB, free: 12.55 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006836/0.2459, allocations: 345.2 kB / 430.4 MB, free: 12.2 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.2459, allocations: 0 / 430.4 MB, free: 12.2 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003534/0.2463, allocations: 242.4 kB / 430.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003236/0.2466, allocations: 15.28 kB / 430.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/0.2477, allocations: 0.5822 MB / 431.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004056/0.2481, allocations: 0.7482 MB / 432 MB, free: 10.56 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.832e-05/0.2482, allocations: 29.94 kB / 432 MB, free: 10.53 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.961e-05/0.2482, allocations: 19.44 kB / 432 MB, free: 10.51 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2482, allocations: 0 / 432 MB, free: 10.51 MB / 350.1 MB Notification: Performance of Templates: time 0.006998/0.2552, allocations: 2.75 MB / 434.8 MB, free: 7.773 MB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile (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 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches