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.001157/0.001157, allocations: 98.92 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001459/0.001459, allocations: 206.9 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.335/1.335, allocations: 227.2 MB / 245.9 MB, free: 12.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002071/0.0002072, allocations: 4 kB / 306.6 MB, free: 1.645 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08382/0.08404, allocations: 51.5 MB / 358.1 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.004248/0.08833, allocations: 4.149 MB / 362.2 MB, free: 9.973 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00213/0.09048, allocations: 1.601 MB / 363.8 MB, free: 8.363 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001821/0.09068, allocations: 16 kB / 363.9 MB, free: 8.348 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004066/0.09109, allocations: 202.8 kB / 364 MB, free: 8.148 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005089/0.09161, allocations: 295.2 kB / 364.3 MB, free: 7.859 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001037/0.09266, allocations: 0.5221 MB / 364.9 MB, free: 7.336 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006579/0.09332, allocations: 0.5769 MB / 365.4 MB, free: 6.758 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002168/0.0955, allocations: 1.305 MB / 366.7 MB, free: 5.426 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003037/0.09582, allocations: 286.9 kB / 367 MB, free: 5.145 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004238/0.09625, allocations: 374.4 kB / 367.4 MB, free: 4.777 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.451e-05/0.09631, allocations: 32 kB / 367.4 MB, free: 4.746 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004085/0.09673, allocations: 199.8 kB / 367.6 MB, free: 4.551 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001087/0.09685, allocations: 131.4 kB / 367.7 MB, free: 4.422 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001501/0.097, allocations: 169.3 kB / 367.9 MB, free: 4.25 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008844/0.09789, allocations: 0.9 MB / 368.8 MB, free: 3.348 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.09791, allocations: 0 / 368.8 MB, free: 3.348 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.09792, allocations: 0 / 368.8 MB, free: 3.348 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.696e-06/0.09793, allocations: 0 / 368.8 MB, free: 3.348 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.003599/0.1015, allocations: 1.307 MB / 370.1 MB, free: 1.988 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.1016, allocations: 8.031 kB / 370.1 MB, free: 1.98 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001631/0.1032, allocations: 254.8 kB / 370.4 MB, free: 1.73 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002036/0.1034, allocations: 251 kB / 370.6 MB, free: 1.445 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.966e-05/0.1035, allocations: 77.98 kB / 370.7 MB, free: 1.371 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001368/0.1036, allocations: 103.9 kB / 370.8 MB, free: 1.27 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001356/0.105, allocations: 0.9227 MB / 371.7 MB, free: 340 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.87e-05/0.105, allocations: 8 kB / 371.7 MB, free: 332 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.721e-05/0.1051, allocations: 40 kB / 371.8 MB, free: 292 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.857e-05/0.1051, allocations: 24 kB / 371.8 MB, free: 268 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1526/0.2578, allocations: 0.7655 MB / 372.6 MB, free: 18.92 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005054/0.2629, allocations: 3.643 MB / 376.2 MB, free: 17.24 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001674/0.2646, allocations: 1.247 MB / 377.4 MB, free: 16.46 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001179/0.2647, allocations: 185.9 kB / 377.6 MB, free: 16.27 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.07e-05/0.2647, allocations: 39.92 kB / 377.7 MB, free: 16.23 MB / 302.1 MB Notification: Performance of pre-optimization done (n=87): time 2.906e-06/0.2647, allocations: 3.719 kB / 377.7 MB, free: 16.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=87): time 0.001855/0.2666, allocations: 1.296 MB / 379 MB, free: 15.43 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.262e-05/0.2666, allocations: 94.12 kB / 379.1 MB, free: 15.33 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003677/0.267, allocations: 367.6 kB / 379.4 MB, free: 15.14 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.374e-05/0.2671, allocations: 36.73 kB / 379.4 MB, free: 15.1 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001625/0.2672, allocations: 381.9 kB / 379.8 MB, free: 14.79 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001554/0.2674, allocations: 296.8 kB / 380.1 MB, free: 14.57 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.81e-05/0.2674, allocations: 20.75 kB / 380.1 MB, free: 14.55 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.957e-05/0.2675, allocations: 361.9 kB / 380.5 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004078/0.2679, allocations: 263.6 kB / 380.7 MB, free: 14.11 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004989/0.2684, allocations: 468.1 kB / 381.2 MB, free: 13.78 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004841/0.2689, allocations: 336.5 kB / 381.5 MB, free: 13.61 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.2689, allocations: 2.469 kB / 381.5 MB, free: 13.61 MB / 302.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001416/0.2704, allocations: 0.9643 MB / 382.5 MB, free: 13.17 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.2704, allocations: 12 kB / 382.5 MB, free: 13.17 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/0.2704, allocations: 3.875 kB / 382.5 MB, free: 13.17 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003487/0.2708, allocations: 121.4 kB / 382.6 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007598/0.2715, allocations: 200 kB / 382.8 MB, free: 13.1 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002735/0.2743, allocations: 5.599 MB / 388.4 MB, free: 7.516 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005514/0.2748, allocations: 108.9 kB / 388.5 MB, free: 7.438 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.037e-05/0.2749, allocations: 38.56 kB / 388.6 MB, free: 7.43 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000277/0.2752, allocations: 229.6 kB / 388.8 MB, free: 7.234 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.972e-05/0.2753, allocations: 53.5 kB / 388.8 MB, free: 7.207 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00137/0.2767, allocations: 0.842 MB / 389.7 MB, free: 6.781 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.217e-06/0.2767, allocations: 13.02 kB / 389.7 MB, free: 6.777 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.2767, allocations: 2.281 kB / 389.7 MB, free: 6.777 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.146e-05/0.2767, allocations: 9.812 kB / 389.7 MB, free: 6.773 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002658/0.2794, allocations: 2.085 MB / 391.8 MB, free: 5.395 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.2794, allocations: 7.5 kB / 391.8 MB, free: 5.391 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005645/0.28, allocations: 135 kB / 391.9 MB, free: 5.379 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002637/0.2802, allocations: 106.1 kB / 392 MB, free: 5.328 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.069e-05/0.2803, allocations: 21.02 kB / 392.1 MB, free: 5.316 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002481/0.2828, allocations: 5.327 MB / 397.4 MB, free: 15.95 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/0.2828, allocations: 7.344 kB / 397.4 MB, free: 15.95 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001808/0.2846, allocations: 1.383 MB / 398.8 MB, free: 15 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001641/0.2848, allocations: 152.1 kB / 398.9 MB, free: 14.85 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.296e-05/0.2849, allocations: 15.09 kB / 398.9 MB, free: 14.84 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000377/0.2853, allocations: 25.91 kB / 399 MB, free: 14.83 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/0.2854, allocations: 67.91 kB / 399 MB, free: 14.82 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.551e-05/0.2854, allocations: 27.88 kB / 399.1 MB, free: 14.81 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002819/0.2857, allocations: 250 kB / 399.3 MB, free: 14.68 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2857, allocations: 0 / 399.3 MB, free: 14.68 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001019/0.2867, allocations: 264.2 kB / 399.6 MB, free: 14.61 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002666/0.287, allocations: 168.9 kB / 399.7 MB, free: 14.49 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001604/0.2886, allocations: 1.153 MB / 400.9 MB, free: 13.79 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.2886, allocations: 1.594 kB / 400.9 MB, free: 13.79 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008167/0.2895, allocations: 0.7936 MB / 401.7 MB, free: 13.2 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003563/0.2898, allocations: 43.45 kB / 401.7 MB, free: 13.17 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00249/0.2923, allocations: 1.706 MB / 403.4 MB, free: 12.08 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004618/0.2928, allocations: 0.9295 MB / 404.4 MB, free: 11.37 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000506/0.2933, allocations: 108.4 kB / 404.5 MB, free: 11.32 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001493/0.2935, allocations: 54.22 kB / 404.5 MB, free: 11.32 MB / 318.1 MB Notification: Performance of SimCode: time 6.41e-07/0.2935, allocations: 0 / 404.5 MB, free: 11.32 MB / 318.1 MB Notification: Performance of Templates: time 0.01141/0.3049, allocations: 6.64 MB / 411.1 MB, free: 7.59 MB / 318.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.csv","../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches