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.001817/0.001817, allocations: 105.8 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002196/0.002196, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.436/1.436, allocations: 227.4 MB / 246.8 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001947, allocations: 68.17 kB / 307 MB, free: 0.5469 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09515/0.09711, allocations: 50.54 MB / 357.5 MB, free: 14.01 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.006891/0.104, allocations: 5.246 MB / 362.8 MB, free: 8.734 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003176/0.1072, allocations: 1.74 MB / 364.5 MB, free: 6.984 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002225/0.1075, allocations: 20 kB / 364.6 MB, free: 6.965 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003007/0.1105, allocations: 1.419 MB / 366 MB, free: 5.543 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007649/0.1113, allocations: 325.6 kB / 366.3 MB, free: 5.223 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001285/0.1126, allocations: 0.6425 MB / 366.9 MB, free: 4.578 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008422/0.1134, allocations: 0.801 MB / 367.7 MB, free: 3.773 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001076/0.1145, allocations: 0.7694 MB / 368.5 MB, free: 2.988 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004088/0.1149, allocations: 346.7 kB / 368.8 MB, free: 2.648 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005501/0.1155, allocations: 470.1 kB / 369.3 MB, free: 2.188 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000116/0.1156, allocations: 80 kB / 369.4 MB, free: 2.109 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000515/0.1161, allocations: 255.8 kB / 369.6 MB, free: 1.859 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001562/0.1163, allocations: 191.2 kB / 369.8 MB, free: 1.672 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003987/0.1167, allocations: 421.9 kB / 370.2 MB, free: 1.258 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001238/0.118, allocations: 1.191 MB / 371.4 MB, free: 64 kB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.118, allocations: 0 / 371.4 MB, free: 64 kB / 302.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.118, allocations: 0 / 371.4 MB, free: 64 kB / 302.1 MB Notification: Performance of Transformations before backend: time 1.044e-05/0.118, allocations: 0 / 371.4 MB, free: 64 kB / 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.1461/0.2641, allocations: 1.443 MB / 372.9 MB, free: 20.08 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.2642, allocations: 11.81 kB / 372.9 MB, free: 20.08 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001689/0.2659, allocations: 236.2 kB / 373.1 MB, free: 20.04 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002462/0.2661, allocations: 266.3 kB / 373.4 MB, free: 19.79 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.601e-05/0.2662, allocations: 72.03 kB / 373.4 MB, free: 19.78 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001458/0.2663, allocations: 104.3 kB / 373.5 MB, free: 19.78 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001781/0.2681, allocations: 0.9392 MB / 374.5 MB, free: 19.45 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.744e-05/0.2682, allocations: 6.203 kB / 374.5 MB, free: 19.44 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.747e-05/0.2683, allocations: 40.12 kB / 374.5 MB, free: 19.41 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.578e-05/0.2683, allocations: 24.12 kB / 374.5 MB, free: 19.41 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001398/0.2697, allocations: 0.7907 MB / 375.3 MB, free: 19.13 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004691/0.2744, allocations: 3.639 MB / 379 MB, free: 16.74 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001752/0.2762, allocations: 1.259 MB / 380.2 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005007/0.2767, allocations: 370 kB / 380.6 MB, free: 15.8 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000127/0.2769, allocations: 190.9 kB / 380.8 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/0.2769, allocations: 43.52 kB / 380.8 MB, free: 15.56 MB / 302.1 MB Notification: Performance of pre-optimization done (n=87): time 2.775e-06/0.2769, allocations: 0 / 380.8 MB, free: 15.56 MB / 302.1 MB Notification: Performance of matching and sorting (n=87): time 0.001993/0.2789, allocations: 1.32 MB / 382.1 MB, free: 14.76 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.108e-05/0.2789, allocations: 91.36 kB / 382.2 MB, free: 14.66 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000395/0.2793, allocations: 366.3 kB / 382.6 MB, free: 14.46 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.629e-05/0.2794, allocations: 40.02 kB / 382.6 MB, free: 14.42 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000154/0.2795, allocations: 382.4 kB / 383 MB, free: 14.11 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000158/0.2797, allocations: 297.2 kB / 383.3 MB, free: 13.89 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002434/0.28, allocations: 177.9 kB / 383.5 MB, free: 13.8 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.168e-05/0.28, allocations: 357.7 kB / 383.8 MB, free: 13.46 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004545/0.2805, allocations: 272.9 kB / 384.1 MB, free: 13.36 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005344/0.281, allocations: 476.5 kB / 384.5 MB, free: 13.03 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009653/0.282, allocations: 0.7696 MB / 385.3 MB, free: 12.51 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.282, allocations: 1.062 kB / 385.3 MB, free: 12.51 MB / 302.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001571/0.2836, allocations: 0.9826 MB / 386.3 MB, free: 12.07 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.2836, allocations: 7.391 kB / 386.3 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.2837, allocations: 10.5 kB / 386.3 MB, free: 12.06 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003642/0.284, allocations: 124.3 kB / 386.4 MB, free: 12.01 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007599/0.2848, allocations: 210 kB / 386.6 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002867/0.2877, allocations: 6.124 MB / 392.8 MB, free: 5.879 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005746/0.2883, allocations: 95.8 kB / 392.9 MB, free: 5.812 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.327e-05/0.2883, allocations: 41.19 kB / 392.9 MB, free: 5.805 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.0002775/0.2886, allocations: 234 kB / 393.1 MB, free: 5.605 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001168/0.2887, allocations: 53.81 kB / 393.2 MB, free: 5.578 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001398/0.2901, allocations: 0.8465 MB / 394 MB, free: 5.16 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/0.2902, allocations: 8.969 kB / 394 MB, free: 5.16 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.301e-06/0.2902, allocations: 5.094 kB / 394 MB, free: 5.16 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/0.2902, allocations: 4.969 kB / 394 MB, free: 5.16 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002606/0.2928, allocations: 2.111 MB / 396.2 MB, free: 3.773 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.2928, allocations: 6.219 kB / 396.2 MB, free: 3.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005712/0.2934, allocations: 137 kB / 396.3 MB, free: 3.758 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002636/0.2937, allocations: 111.7 kB / 396.4 MB, free: 3.703 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.401e-05/0.2937, allocations: 18.27 kB / 396.4 MB, free: 3.695 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003196/0.2969, allocations: 5.716 MB / 402.1 MB, free: 13.93 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.297, allocations: 2.219 kB / 402.1 MB, free: 13.93 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001949/0.2989, allocations: 1.286 MB / 403.4 MB, free: 13.11 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001426/0.2991, allocations: 142.1 kB / 403.6 MB, free: 12.97 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.974e-05/0.2991, allocations: 22.86 kB / 403.6 MB, free: 12.96 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003827/0.2995, allocations: 20.19 kB / 403.6 MB, free: 12.95 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/0.2997, allocations: 66.77 kB / 403.7 MB, free: 12.91 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.367e-05/0.2997, allocations: 31.3 kB / 403.7 MB, free: 12.9 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000282/0.3, allocations: 252.4 kB / 404 MB, free: 12.73 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3, allocations: 4.875 kB / 404 MB, free: 12.73 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009586/0.301, allocations: 260.6 kB / 404.2 MB, free: 12.67 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.0002776/0.3013, allocations: 157.2 kB / 404.4 MB, free: 12.54 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002097/0.3034, allocations: 1.206 MB / 405.6 MB, free: 11.73 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.3034, allocations: 2.656 kB / 405.6 MB, free: 11.73 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009523/0.3043, allocations: 0.8066 MB / 406.4 MB, free: 11.08 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005648/0.3049, allocations: 63.05 kB / 406.4 MB, free: 11.04 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002418/0.3073, allocations: 1.38 MB / 407.8 MB, free: 10.15 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005487/0.3079, allocations: 0.9147 MB / 408.7 MB, free: 9.352 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004979/0.3084, allocations: 103.7 kB / 408.8 MB, free: 9.297 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001503/0.3086, allocations: 55.92 kB / 408.9 MB, free: 9.281 MB / 318.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3086, allocations: 0 / 408.9 MB, free: 9.281 MB / 318.1 MB Notification: Performance of Templates: time 0.01443/0.323, allocations: 6.905 MB / 415.8 MB, free: 2.91 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.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.csv","/var/lib/jenkins/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