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.001079/0.001079, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001014/0.001014, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.279/1.279, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001065/0.001066, allocations: 63.89 kB / 358.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2301/0.2311, allocations: 50.55 MB / 409.2 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.003518/0.2347, allocations: 2.84 MB / 412.1 MB, free: 14.75 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001936/0.2366, allocations: 1.199 MB / 413.3 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001482/0.2368, allocations: 11.94 kB / 413.3 MB, free: 13.53 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001424/0.2383, allocations: 0.622 MB / 413.9 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002821/0.2386, allocations: 135 kB / 414.1 MB, free: 12.78 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001153/0.2397, allocations: 0.6564 MB / 414.7 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003397/0.2401, allocations: 298.6 kB / 415 MB, free: 11.83 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004152/0.2405, allocations: 266.8 kB / 415.3 MB, free: 11.56 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001756/0.2407, allocations: 135.5 kB / 415.4 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001987/0.2409, allocations: 167.4 kB / 415.6 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.763e-05/0.2409, allocations: 24 kB / 415.6 MB, free: 11.24 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003093/0.2412, allocations: 183.8 kB / 415.8 MB, free: 11.06 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.618e-05/0.2413, allocations: 59.77 kB / 415.8 MB, free: 11 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001271/0.2414, allocations: 151.3 kB / 416 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006053/0.2421, allocations: 0.5019 MB / 416.5 MB, free: 10.36 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.2421, allocations: 0 / 416.5 MB, free: 10.36 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2421, allocations: 4 kB / 416.5 MB, free: 10.35 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.348e-06/0.2421, allocations: 0 / 416.5 MB, free: 10.35 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.001546/0.2436, allocations: 0.7287 MB / 417.2 MB, free: 9.574 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.2437, allocations: 12.03 kB / 417.2 MB, free: 9.562 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007953/0.2445, allocations: 124.6 kB / 417.3 MB, free: 9.441 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003312/0.2448, allocations: 264.5 kB / 417.6 MB, free: 9.145 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.451e-05/0.2449, allocations: 29.03 kB / 417.6 MB, free: 9.117 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.355e-05/0.2449, allocations: 32.38 kB / 417.7 MB, free: 9.086 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005029/0.2454, allocations: 329 kB / 418 MB, free: 8.754 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.822e-05/0.2455, allocations: 3.938 kB / 418 MB, free: 8.75 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.049e-05/0.2455, allocations: 19.98 kB / 418 MB, free: 8.73 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.2455, allocations: 8 kB / 418 MB, free: 8.723 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003822/0.2459, allocations: 242.5 kB / 418.2 MB, free: 8.488 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001751/0.2477, allocations: 1.432 MB / 419.7 MB, free: 6.918 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006327/0.2483, allocations: 0.7028 MB / 420.4 MB, free: 6.102 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001463/0.2485, allocations: 100.8 kB / 420.5 MB, free: 6 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001678/0.2487, allocations: 170.1 kB / 420.6 MB, free: 5.797 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.238e-05/0.2487, allocations: 38.56 kB / 420.7 MB, free: 5.75 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 2.575e-06/0.2487, allocations: 3.984 kB / 420.7 MB, free: 5.746 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.001134/0.2498, allocations: 498.4 kB / 421.2 MB, free: 5.234 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.147e-05/0.2499, allocations: 59.34 kB / 421.2 MB, free: 5.164 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/0.25, allocations: 175.3 kB / 421.4 MB, free: 4.977 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/0.2501, allocations: 29.7 kB / 421.4 MB, free: 4.941 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.666e-05/0.2502, allocations: 184.4 kB / 421.6 MB, free: 4.758 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.709e-05/0.2502, allocations: 87.22 kB / 421.7 MB, free: 4.672 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.363e-05/0.2503, allocations: 49.98 kB / 421.7 MB, free: 4.617 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.645e-05/0.2504, allocations: 326.8 kB / 422.1 MB, free: 4.289 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001144/0.2505, allocations: 72.53 kB / 422.1 MB, free: 4.219 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001402/0.2507, allocations: 137 kB / 422.3 MB, free: 4.062 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002705/0.2509, allocations: 217 kB / 422.5 MB, free: 3.828 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.2509, allocations: 0 / 422.5 MB, free: 3.828 MB / 334.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005201/0.2515, allocations: 331.8 kB / 422.8 MB, free: 3.496 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.2515, allocations: 7.938 kB / 422.8 MB, free: 3.488 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.2515, allocations: 4 kB / 422.8 MB, free: 3.484 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003057/0.2518, allocations: 80.73 kB / 422.9 MB, free: 3.402 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001426/0.252, allocations: 35.98 kB / 422.9 MB, free: 3.367 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00179/0.2538, allocations: 2.041 MB / 425 MB, free: 1.184 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001242/0.2539, allocations: 27.81 kB / 425 MB, free: 1.156 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.753e-05/0.2539, allocations: 8 kB / 425 MB, free: 1.148 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.00012/0.2541, allocations: 149.8 kB / 425.2 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.742e-05/0.2541, allocations: 27.78 kB / 425.2 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005064/0.2546, allocations: 272.2 kB / 425.4 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.2546, allocations: 4 kB / 425.4 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.2547, allocations: 4 kB / 425.5 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.2547, allocations: 0 / 425.5 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008834/0.2555, allocations: 0.6934 MB / 426.1 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.2556, allocations: 0 / 426.1 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001224/0.2557, allocations: 27.92 kB / 426.2 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002269/0.2559, allocations: 76.8 kB / 426.2 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.256, allocations: 3.984 kB / 426.3 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001709/0.2577, allocations: 2.026 MB / 428.3 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/0.2577, allocations: 8.016 kB / 428.3 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005931/0.2583, allocations: 460.3 kB / 428.7 MB, free: 13.17 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.981e-05/0.2584, allocations: 113 kB / 428.8 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.374e-05/0.2584, allocations: 4 kB / 428.8 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.2585, allocations: 0 / 428.8 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.868e-05/0.2586, allocations: 19.98 kB / 428.9 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.254e-05/0.2586, allocations: 7.984 kB / 428.9 MB, free: 13.01 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.655e-05/0.2587, allocations: 123.2 kB / 429 MB, free: 12.89 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2587, allocations: 0 / 429 MB, free: 12.89 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004449/0.2591, allocations: 103.7 kB / 429.1 MB, free: 12.79 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.0001845/0.2593, allocations: 135.2 kB / 429.2 MB, free: 12.65 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005654/0.2599, allocations: 350.5 kB / 429.6 MB, free: 12.29 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.2599, allocations: 0 / 429.6 MB, free: 12.29 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003035/0.2602, allocations: 247.9 kB / 429.8 MB, free: 12.04 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000295/0.2605, allocations: 19.98 kB / 429.8 MB, free: 12.02 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000903/0.2614, allocations: 0.5744 MB / 430.4 MB, free: 11.42 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003309/0.2618, allocations: 0.756 MB / 431.2 MB, free: 10.64 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.068e-05/0.2619, allocations: 25.94 kB / 431.2 MB, free: 10.61 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.715e-05/0.2619, allocations: 19.44 kB / 431.2 MB, free: 10.59 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2619, allocations: 0 / 431.2 MB, free: 10.59 MB / 350.1 MB Notification: Performance of Templates: time 0.005706/0.2676, allocations: 2.697 MB / 433.9 MB, free: 7.898 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