Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.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.CylinderLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|quarterCylinder1.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|quarterCylinder1.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001156/0.001156, allocations: 115.8 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001309/0.001309, allocations: 203.4 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.327/1.327, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001819/0.001819, allocations: 60 kB / 308.4 MB, free: 15.87 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1025, allocations: 50.53 MB / 358.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.006583/0.1091, allocations: 5.254 MB / 364.2 MB, free: 8.043 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002958/0.1121, allocations: 1.72 MB / 365.9 MB, free: 6.312 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005393/0.1127, allocations: 16 kB / 365.9 MB, free: 6.297 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003058/0.1157, allocations: 1.415 MB / 367.3 MB, free: 4.879 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009644/0.1167, allocations: 325.6 kB / 367.6 MB, free: 4.559 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001343/0.1181, allocations: 0.6455 MB / 368.3 MB, free: 3.914 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001054/0.1191, allocations: 0.8127 MB / 369.1 MB, free: 3.098 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001117/0.1203, allocations: 0.7613 MB / 369.9 MB, free: 2.32 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004954/0.1208, allocations: 354.7 kB / 370.2 MB, free: 1.973 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005923/0.1214, allocations: 466.1 kB / 370.7 MB, free: 1.516 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001123/0.1215, allocations: 76 kB / 370.7 MB, free: 1.441 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005309/0.122, allocations: 259.8 kB / 371 MB, free: 1.188 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001344/0.1222, allocations: 183.3 kB / 371.2 MB, free: 1.008 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003861/0.1226, allocations: 425.9 kB / 371.6 MB, free: 0.5898 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1432/0.2658, allocations: 1.191 MB / 372.8 MB, free: 12.99 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.2658, allocations: 1.812 kB / 372.8 MB, free: 12.99 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.2659, allocations: 0 / 372.8 MB, free: 12.99 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.824e-05/0.2659, allocations: 0.8438 kB / 372.8 MB, free: 12.99 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.003716/0.2696, allocations: 1.448 MB / 374.2 MB, free: 12.43 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.2697, allocations: 9.281 kB / 374.2 MB, free: 12.43 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001663/0.2713, allocations: 252.8 kB / 374.5 MB, free: 12.39 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000167/0.2715, allocations: 261.4 kB / 374.7 MB, free: 12.14 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.567e-05/0.2716, allocations: 76.47 kB / 374.8 MB, free: 12.14 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001405/0.2717, allocations: 99.53 kB / 374.9 MB, free: 12.14 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001494/0.2732, allocations: 0.9358 MB / 375.8 MB, free: 12.06 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.277e-05/0.2733, allocations: 14.41 kB / 375.9 MB, free: 12.06 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.517e-05/0.2733, allocations: 37.16 kB / 375.9 MB, free: 12.06 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.07e-05/0.2734, allocations: 24.97 kB / 375.9 MB, free: 12.06 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001201/0.2746, allocations: 0.7803 MB / 376.7 MB, free: 12.05 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004454/0.279, allocations: 3.601 MB / 380.3 MB, free: 9.906 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001656/0.2807, allocations: 1.252 MB / 381.5 MB, free: 9.141 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004679/0.2812, allocations: 375.6 kB / 381.9 MB, free: 8.988 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001221/0.2813, allocations: 183.9 kB / 382.1 MB, free: 8.793 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.789e-05/0.2813, allocations: 41.84 kB / 382.1 MB, free: 8.75 MB / 302.1 MB Notification: Performance of pre-optimization done (n=87): time 1.924e-06/0.2813, allocations: 0 / 382.1 MB, free: 8.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=87): time 0.001888/0.2832, allocations: 1.31 MB / 383.4 MB, free: 7.961 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.594e-05/0.2833, allocations: 88.73 kB / 383.5 MB, free: 7.863 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003707/0.2837, allocations: 369.9 kB / 383.9 MB, free: 7.668 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.741e-05/0.2837, allocations: 40.55 kB / 383.9 MB, free: 7.625 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001496/0.2839, allocations: 377.9 kB / 384.3 MB, free: 7.324 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001491/0.284, allocations: 298.8 kB / 384.6 MB, free: 7.098 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002288/0.2842, allocations: 173.3 kB / 384.8 MB, free: 7.008 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.811e-05/0.2843, allocations: 362.7 kB / 385.1 MB, free: 6.672 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004205/0.2847, allocations: 267.2 kB / 385.4 MB, free: 6.57 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000509/0.2853, allocations: 474.8 kB / 385.8 MB, free: 6.246 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009106/0.2862, allocations: 0.7707 MB / 386.6 MB, free: 5.742 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.2862, allocations: 6.984 kB / 386.6 MB, free: 5.738 MB / 302.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001505/0.2877, allocations: 0.9744 MB / 387.6 MB, free: 5.336 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.2877, allocations: 6.844 kB / 387.6 MB, free: 5.336 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.2877, allocations: 6.375 kB / 387.6 MB, free: 5.336 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003456/0.2881, allocations: 124.8 kB / 387.7 MB, free: 5.281 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007546/0.2889, allocations: 207.7 kB / 387.9 MB, free: 5.273 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002998/0.2919, allocations: 6.108 MB / 394 MB, free: 15.21 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005358/0.2924, allocations: 101.2 kB / 394.1 MB, free: 15.14 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.569e-05/0.2925, allocations: 42.73 kB / 394.2 MB, free: 15.13 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (120): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002843/0.2928, allocations: 235.4 kB / 394.4 MB, free: 14.95 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/0.2929, allocations: 49.2 kB / 394.5 MB, free: 14.92 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00146/0.2944, allocations: 0.8464 MB / 395.3 MB, free: 14.5 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/0.2944, allocations: 12.25 kB / 395.3 MB, free: 14.5 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.2944, allocations: 3.078 kB / 395.3 MB, free: 14.5 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.203e-05/0.2944, allocations: 9.016 kB / 395.3 MB, free: 14.5 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002762/0.2972, allocations: 2.093 MB / 397.4 MB, free: 13.14 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.2972, allocations: 3.594 kB / 397.4 MB, free: 13.14 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005599/0.2978, allocations: 132.9 kB / 397.6 MB, free: 13.14 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002651/0.2981, allocations: 109.7 kB / 397.7 MB, free: 13.09 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.793e-05/0.2981, allocations: 19.72 kB / 397.7 MB, free: 13.08 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003646/0.3018, allocations: 5.712 MB / 403.4 MB, free: 7.344 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.3018, allocations: 18.81 kB / 403.4 MB, free: 7.336 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001668/0.3035, allocations: 1.269 MB / 404.7 MB, free: 6.582 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001204/0.3036, allocations: 138.2 kB / 404.8 MB, free: 6.449 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.83e-05/0.3037, allocations: 23.16 kB / 404.8 MB, free: 6.438 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003777/0.3041, allocations: 24.97 kB / 404.9 MB, free: 6.422 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.654e-05/0.3042, allocations: 63.27 kB / 404.9 MB, free: 6.41 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.453e-05/0.3042, allocations: 26.8 kB / 405 MB, free: 6.406 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002588/0.3045, allocations: 257 kB / 405.2 MB, free: 6.27 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3045, allocations: 0 / 405.2 MB, free: 6.27 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009079/0.3054, allocations: 260.1 kB / 405.5 MB, free: 6.207 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (78): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002419/0.3057, allocations: 169.5 kB / 405.6 MB, free: 6.09 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001565/0.3072, allocations: 1.174 MB / 406.8 MB, free: 5.398 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.3072, allocations: 1.438 kB / 406.8 MB, free: 5.398 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008584/0.3081, allocations: 0.7937 MB / 407.6 MB, free: 4.824 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005744/0.3087, allocations: 66.19 kB / 407.7 MB, free: 4.781 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002223/0.3109, allocations: 1.39 MB / 409 MB, free: 3.996 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004402/0.3114, allocations: 0.9095 MB / 410 MB, free: 3.219 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004322/0.3118, allocations: 107.6 kB / 410.1 MB, free: 3.156 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001471/0.312, allocations: 55.11 kB / 410.1 MB, free: 3.141 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.312, allocations: 4 kB / 410.1 MB, free: 3.137 MB / 318.1 MB Notification: Performance of Templates: time 0.01239/0.3244, allocations: 7.069 MB / 417.2 MB, free: 13.05 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches