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.001425/0.001425, allocations: 109.2 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001518/0.001518, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.339/1.339, allocations: 227.3 MB / 246.9 MB, free: 10.73 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 60.12 kB / 306.9 MB, free: 1.031 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08977/0.09108, allocations: 50.53 MB / 357.4 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.006585/0.09771, allocations: 5.235 MB / 362.7 MB, free: 9.234 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003228/0.101, allocations: 1.717 MB / 364.4 MB, free: 7.508 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006577/0.1017, allocations: 20 kB / 364.4 MB, free: 7.488 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003154/0.1049, allocations: 1.33 MB / 365.7 MB, free: 6.156 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001079/0.106, allocations: 270.3 kB / 366 MB, free: 5.891 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001467/0.1075, allocations: 0.6347 MB / 366.6 MB, free: 5.258 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001391/0.1089, allocations: 0.7776 MB / 367.4 MB, free: 4.477 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001384/0.1103, allocations: 0.6878 MB / 368.1 MB, free: 3.777 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006094/0.1109, allocations: 334.7 kB / 368.4 MB, free: 3.449 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006884/0.1116, allocations: 454.1 kB / 368.9 MB, free: 3.004 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001792/0.1118, allocations: 63.92 kB / 368.9 MB, free: 2.941 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007208/0.1125, allocations: 243.8 kB / 369.2 MB, free: 2.703 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001726/0.1127, allocations: 163.3 kB / 369.3 MB, free: 2.543 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004576/0.1132, allocations: 398 kB / 369.7 MB, free: 2.152 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009877/0.1142, allocations: 0.9389 MB / 370.7 MB, free: 1.211 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.1142, allocations: 4 kB / 370.7 MB, free: 1.207 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1142, allocations: 0 / 370.7 MB, free: 1.207 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.17e-05/0.1143, allocations: 4 kB / 370.7 MB, free: 1.203 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.1568/0.271, allocations: 1.448 MB / 372.1 MB, free: 19.77 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.2711, allocations: 9.438 kB / 372.1 MB, free: 19.77 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002007/0.2731, allocations: 254.9 kB / 372.4 MB, free: 19.73 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002367/0.2734, allocations: 261.7 kB / 372.6 MB, free: 19.47 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.365e-05/0.2735, allocations: 71.53 kB / 372.7 MB, free: 19.47 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002281/0.2737, allocations: 103.5 kB / 372.8 MB, free: 19.46 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001898/0.2756, allocations: 0.9392 MB / 373.8 MB, free: 19.29 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.012e-05/0.2757, allocations: 3.219 kB / 373.8 MB, free: 19.29 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.793e-05/0.2757, allocations: 43.53 kB / 373.8 MB, free: 19.25 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.677e-05/0.2758, allocations: 25.02 kB / 373.8 MB, free: 19.25 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001506/0.2773, allocations: 0.7781 MB / 374.6 MB, free: 18.98 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005117/0.2824, allocations: 3.629 MB / 378.2 MB, free: 16.59 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001867/0.2843, allocations: 1.252 MB / 379.5 MB, free: 15.81 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005331/0.2849, allocations: 367.6 kB / 379.8 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001356/0.285, allocations: 183 kB / 380 MB, free: 15.47 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/0.285, allocations: 52.22 kB / 380.1 MB, free: 15.41 MB / 302.1 MB Notification: Performance of pre-optimization done (n=87): time 3.036e-06/0.2851, allocations: 0 / 380.1 MB, free: 15.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=87): time 0.002219/0.2873, allocations: 1.304 MB / 381.4 MB, free: 14.62 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.931e-05/0.2873, allocations: 87.7 kB / 381.5 MB, free: 14.52 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004223/0.2878, allocations: 366.2 kB / 381.8 MB, free: 14.33 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.911e-05/0.2878, allocations: 39.83 kB / 381.9 MB, free: 14.29 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001706/0.288, allocations: 378 kB / 382.2 MB, free: 13.98 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001824/0.2882, allocations: 302.7 kB / 382.5 MB, free: 13.75 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000268/0.2884, allocations: 173.8 kB / 382.7 MB, free: 13.66 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.914e-05/0.2886, allocations: 362.1 kB / 383 MB, free: 13.33 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004754/0.289, allocations: 265.6 kB / 383.3 MB, free: 13.23 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005792/0.2896, allocations: 475.1 kB / 383.8 MB, free: 12.9 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001014/0.2906, allocations: 0.7644 MB / 384.5 MB, free: 12.39 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.166e-06/0.2907, allocations: 1.734 kB / 384.5 MB, free: 12.39 MB / 302.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001633/0.2923, allocations: 0.978 MB / 385.5 MB, free: 11.94 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.2923, allocations: 8.375 kB / 385.5 MB, free: 11.94 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/0.2924, allocations: 6.219 kB / 385.5 MB, free: 11.94 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003866/0.2928, allocations: 124 kB / 385.6 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007776/0.2935, allocations: 204.9 kB / 385.8 MB, free: 11.87 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002972/0.2965, allocations: 5.58 MB / 391.4 MB, free: 6.301 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006763/0.2972, allocations: 104.9 kB / 391.5 MB, free: 6.227 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001095/0.2973, allocations: 42.61 kB / 391.6 MB, free: 6.219 MB / 302.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.0003783/0.2977, allocations: 233 kB / 391.8 MB, free: 6.02 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001569/0.2979, allocations: 54.06 kB / 391.8 MB, free: 5.992 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001486/0.2994, allocations: 0.85 MB / 392.7 MB, free: 5.562 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.809e-06/0.2994, allocations: 13.06 kB / 392.7 MB, free: 5.559 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.2994, allocations: 4.938 kB / 392.7 MB, free: 5.559 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/0.2994, allocations: 8.719 kB / 392.7 MB, free: 5.555 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002969/0.3024, allocations: 2.086 MB / 394.8 MB, free: 4.176 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.3024, allocations: 3.281 kB / 394.8 MB, free: 4.176 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005934/0.303, allocations: 134.5 kB / 394.9 MB, free: 4.164 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003044/0.3034, allocations: 116.2 kB / 395.1 MB, free: 4.105 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.14e-05/0.3034, allocations: 15.81 kB / 395.1 MB, free: 4.098 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00274/0.3062, allocations: 5.301 MB / 400.4 MB, free: 14.75 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/0.3062, allocations: 10.06 kB / 400.4 MB, free: 14.74 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001931/0.3081, allocations: 1.273 MB / 401.7 MB, free: 13.98 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001919/0.3083, allocations: 138.9 kB / 401.8 MB, free: 13.85 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001011/0.3084, allocations: 22.38 kB / 401.8 MB, free: 13.83 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004233/0.3089, allocations: 22.06 kB / 401.8 MB, free: 13.82 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/0.309, allocations: 67.42 kB / 401.9 MB, free: 13.8 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.351e-05/0.309, allocations: 23.44 kB / 401.9 MB, free: 13.8 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003025/0.3094, allocations: 256.9 kB / 402.2 MB, free: 13.66 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3094, allocations: 0 / 402.2 MB, free: 13.66 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001009/0.3104, allocations: 269.9 kB / 402.4 MB, free: 13.59 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.0002707/0.3107, allocations: 161 kB / 402.6 MB, free: 13.46 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001773/0.3124, allocations: 1.171 MB / 403.8 MB, free: 12.75 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.3125, allocations: 1.719 kB / 403.8 MB, free: 12.75 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000897/0.3134, allocations: 0.7973 MB / 404.6 MB, free: 12.16 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000634/0.314, allocations: 62.31 kB / 404.6 MB, free: 12.12 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003061/0.3171, allocations: 1.792 MB / 406.4 MB, free: 10.94 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005039/0.3176, allocations: 0.9133 MB / 407.3 MB, free: 10.2 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002529/0.3179, allocations: 67.73 kB / 407.4 MB, free: 10.18 MB / 318.1 MB Notification: Performance of SimCode: time 8.62e-07/0.3179, allocations: 0 / 407.4 MB, free: 10.18 MB / 318.1 MB Notification: Performance of Templates: time 0.02202/0.3399, allocations: 20.94 MB / 428.3 MB, free: 6.438 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 -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