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.001056/0.001056, allocations: 117.2 kB / 17.79 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001067/0.001067, allocations: 200.6 kB / 18.73 MB, free: 4.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.371/1.371, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00113/0.00113, allocations: 59.89 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2187/0.2199, allocations: 50.54 MB / 409.2 MB, free: 1.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.003577/0.2235, allocations: 2.849 MB / 412.1 MB, free: 14.88 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001633/0.2251, allocations: 1.211 MB / 413.3 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001093/0.2253, allocations: 8 kB / 413.3 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00136/0.2266, allocations: 0.6145 MB / 413.9 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002565/0.2269, allocations: 127.1 kB / 414 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001217/0.2281, allocations: 0.6754 MB / 414.7 MB, free: 12.24 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004477/0.2286, allocations: 290.6 kB / 415 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005111/0.2291, allocations: 272.1 kB / 415.3 MB, free: 11.69 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001958/0.2293, allocations: 131.5 kB / 415.4 MB, free: 11.56 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002106/0.2295, allocations: 171.4 kB / 415.6 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.636e-05/0.2296, allocations: 24 kB / 415.6 MB, free: 11.37 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003137/0.2299, allocations: 187.8 kB / 415.8 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.847e-05/0.2299, allocations: 63.72 kB / 415.8 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001306/0.2301, allocations: 143.3 kB / 416 MB, free: 10.98 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005452/0.2306, allocations: 0.5023 MB / 416.5 MB, free: 10.48 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.2306, allocations: 0 / 416.5 MB, free: 10.48 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.2307, allocations: 0 / 416.5 MB, free: 10.48 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.615e-06/0.2307, allocations: 4 kB / 416.5 MB, free: 10.47 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.001518/0.2322, allocations: 0.7255 MB / 417.2 MB, free: 9.699 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.2322, allocations: 12.03 kB / 417.2 MB, free: 9.688 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007926/0.233, allocations: 116.5 kB / 417.3 MB, free: 9.574 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003305/0.2334, allocations: 260.5 kB / 417.6 MB, free: 9.281 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.391e-05/0.2334, allocations: 25.03 kB / 417.6 MB, free: 9.258 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.293e-05/0.2335, allocations: 32.38 kB / 417.6 MB, free: 9.227 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004787/0.234, allocations: 337 kB / 418 MB, free: 8.887 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/0.234, allocations: 0 / 418 MB, free: 8.887 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.87e-05/0.234, allocations: 15.98 kB / 418 MB, free: 8.871 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.234, allocations: 8 kB / 418 MB, free: 8.863 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003805/0.2344, allocations: 246.4 kB / 418.2 MB, free: 8.625 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001784/0.2362, allocations: 1.435 MB / 419.7 MB, free: 7.051 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006648/0.2369, allocations: 0.6961 MB / 420.4 MB, free: 6.238 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001563/0.2371, allocations: 104.8 kB / 420.5 MB, free: 6.133 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001751/0.2372, allocations: 170.1 kB / 420.6 MB, free: 5.93 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/0.2373, allocations: 38.56 kB / 420.7 MB, free: 5.883 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 2.645e-06/0.2373, allocations: 7.984 kB / 420.7 MB, free: 5.875 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.001146/0.2384, allocations: 487.3 kB / 421.2 MB, free: 5.371 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.018e-05/0.2385, allocations: 55.41 kB / 421.2 MB, free: 5.305 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001506/0.2386, allocations: 175.3 kB / 421.4 MB, free: 5.117 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.2387, allocations: 29.7 kB / 421.4 MB, free: 5.082 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.595e-05/0.2388, allocations: 184 kB / 421.6 MB, free: 4.898 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.212e-05/0.2388, allocations: 82.69 kB / 421.7 MB, free: 4.816 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.568e-05/0.2389, allocations: 57.89 kB / 421.7 MB, free: 4.754 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.239, allocations: 326.8 kB / 422 MB, free: 4.426 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001099/0.2391, allocations: 68.53 kB / 422.1 MB, free: 4.359 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00015/0.2393, allocations: 133 kB / 422.2 MB, free: 4.207 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002751/0.2396, allocations: 216.9 kB / 422.5 MB, free: 3.973 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.2396, allocations: 0 / 422.5 MB, free: 3.973 MB / 334.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005325/0.2401, allocations: 331.5 kB / 422.8 MB, free: 3.641 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.2402, allocations: 7.984 kB / 422.8 MB, free: 3.633 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/0.2402, allocations: 8.219 kB / 422.8 MB, free: 3.625 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003076/0.2405, allocations: 72.75 kB / 422.9 MB, free: 3.551 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000149/0.2406, allocations: 43.92 kB / 422.9 MB, free: 3.508 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001833/0.2425, allocations: 2.026 MB / 424.9 MB, free: 1.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001242/0.2426, allocations: 31.78 kB / 425 MB, free: 1.309 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.743e-05/0.2426, allocations: 8 kB / 425 MB, free: 1.301 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.0001286/0.2428, allocations: 153.7 kB / 425.1 MB, free: 1.141 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.261e-05/0.2428, allocations: 19.75 kB / 425.1 MB, free: 1.121 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005202/0.2434, allocations: 281.5 kB / 425.4 MB, free: 0.832 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.249e-05/0.2434, allocations: 4 kB / 425.4 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.2434, allocations: 0 / 425.4 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.2434, allocations: 7.984 kB / 425.4 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008776/0.2443, allocations: 0.6855 MB / 426.1 MB, free: 76 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.2443, allocations: 0 / 426.1 MB, free: 76 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001267/0.2444, allocations: 27.98 kB / 426.1 MB, free: 48 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002327/0.2447, allocations: 84.72 kB / 426.2 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/0.2447, allocations: 4 kB / 426.2 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001764/0.2465, allocations: 2.014 MB / 428.2 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.2465, allocations: 288 / 428.2 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006083/0.2471, allocations: 460.3 kB / 428.7 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.665e-05/0.2472, allocations: 108.8 kB / 428.8 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.255e-05/0.2472, allocations: 15.94 kB / 428.8 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.2473, allocations: 4 kB / 428.8 MB, free: 13.19 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.256e-05/0.2474, allocations: 20.03 kB / 428.8 MB, free: 13.17 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.295e-05/0.2474, allocations: 12 kB / 428.8 MB, free: 13.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.46e-05/0.2475, allocations: 123.2 kB / 429 MB, free: 13.04 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2475, allocations: 0 / 429 MB, free: 13.04 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000435/0.248, allocations: 99.69 kB / 429.1 MB, free: 12.94 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.0001929/0.2482, allocations: 127.2 kB / 429.2 MB, free: 12.81 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005794/0.2487, allocations: 354.3 kB / 429.5 MB, free: 12.45 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.2488, allocations: 0 / 429.5 MB, free: 12.45 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003162/0.2491, allocations: 264.3 kB / 429.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002882/0.2494, allocations: 12 kB / 429.8 MB, free: 12.17 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008829/0.2503, allocations: 0.5665 MB / 430.4 MB, free: 11.58 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003154/0.2506, allocations: 0.756 MB / 431.1 MB, free: 10.8 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.796e-05/0.2507, allocations: 25.94 kB / 431.2 MB, free: 10.77 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.221e-05/0.2507, allocations: 19.44 kB / 431.2 MB, free: 10.75 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2508, allocations: 0 / 431.2 MB, free: 10.75 MB / 350.1 MB Notification: Performance of Templates: time 0.005856/0.2566, allocations: 2.704 MB / 433.9 MB, free: 8.055 MB / 350.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/GeneralLeakage/GeneralLeakage.csv","/var/lib/jenkins/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