Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 108.3 kB / 17.7 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001036/0.001037, allocations: 183.8 kB / 18.62 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.279/1.279, allocations: 222.9 MB / 242.3 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001125/0.001125, allocations: 51.92 kB / 351.9 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2795/0.2807, allocations: 49.43 MB / 401.3 MB, free: 8.961 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.005982/0.2867, allocations: 5.257 MB / 406.6 MB, free: 3.754 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002942/0.2897, allocations: 1.689 MB / 408.3 MB, free: 2.055 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002882/0.29, allocations: 16 kB / 408.3 MB, free: 2.039 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002926/0.293, allocations: 1.408 MB / 409.7 MB, free: 0.625 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007772/0.2937, allocations: 313.6 kB / 410 MB, free: 324 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001523/0.2953, allocations: 0.8042 MB / 410.8 MB, free: 15.51 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000842/0.2961, allocations: 0.83 MB / 411.7 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001011/0.2972, allocations: 0.7627 MB / 412.4 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003623/0.2975, allocations: 350.7 kB / 412.8 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004658/0.298, allocations: 466.1 kB / 413.2 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.392e-05/0.2981, allocations: 76 kB / 413.3 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004988/0.2986, allocations: 259.8 kB / 413.5 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001317/0.2988, allocations: 183.3 kB / 413.7 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003318/0.2991, allocations: 425.9 kB / 414.1 MB, free: 12.17 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001104/0.3002, allocations: 1.191 MB / 415.3 MB, free: 10.98 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.3002, allocations: 4 kB / 415.3 MB, free: 10.97 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3002, allocations: 0 / 415.3 MB, free: 10.97 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.625e-05/0.3003, allocations: 0 / 415.3 MB, free: 10.97 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.003824/0.3041, allocations: 1.439 MB / 416.8 MB, free: 9.488 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.3041, allocations: 12.03 kB / 416.8 MB, free: 9.477 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001673/0.3058, allocations: 255.7 kB / 417 MB, free: 9.227 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002422/0.3061, allocations: 255.2 kB / 417.3 MB, free: 8.938 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.706e-05/0.3061, allocations: 74.31 kB / 417.4 MB, free: 8.863 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001512/0.3063, allocations: 96.38 kB / 417.4 MB, free: 8.77 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001507/0.3078, allocations: 0.9502 MB / 418.4 MB, free: 7.809 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.474e-05/0.3078, allocations: 11.89 kB / 418.4 MB, free: 7.797 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.812e-05/0.3079, allocations: 40 kB / 418.4 MB, free: 7.758 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.995e-05/0.308, allocations: 24 kB / 418.5 MB, free: 7.734 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001287/0.3092, allocations: 0.7776 MB / 419.3 MB, free: 6.957 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004861/0.3141, allocations: 3.349 MB / 422.6 MB, free: 3.426 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00181/0.316, allocations: 1.26 MB / 423.9 MB, free: 2.078 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004921/0.3165, allocations: 370 kB / 424.2 MB, free: 1.715 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.547e-05/0.3166, allocations: 98.09 kB / 424.3 MB, free: 1.602 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/0.3166, allocations: 43.56 kB / 424.4 MB, free: 1.551 MB / 334.1 MB Notification: Performance of pre-optimization done (n=87): time 2.895e-06/0.3166, allocations: 0 / 424.4 MB, free: 1.551 MB / 334.1 MB Notification: Performance of matching and sorting (n=87): time 0.002008/0.3186, allocations: 1.304 MB / 425.7 MB, free: 156 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.894e-05/0.3187, allocations: 94.05 kB / 425.8 MB, free: 44 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003958/0.3191, allocations: 364.4 kB / 426.1 MB, free: 15.68 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.232e-05/0.3191, allocations: 41.7 kB / 426.2 MB, free: 15.63 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001959/0.3193, allocations: 382.9 kB / 426.5 MB, free: 15.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001838/0.3195, allocations: 299.6 kB / 426.8 MB, free: 14.95 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002463/0.3198, allocations: 178.8 kB / 427 MB, free: 14.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.3199, allocations: 362.8 kB / 427.3 MB, free: 14.4 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004365/0.3204, allocations: 262.5 kB / 427.6 MB, free: 14.15 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005776/0.321, allocations: 475.3 kB / 428.1 MB, free: 13.6 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001088/0.3221, allocations: 0.7745 MB / 428.8 MB, free: 12.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.3221, allocations: 3.938 kB / 428.8 MB, free: 12.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001594/0.3237, allocations: 0.973 MB / 429.8 MB, free: 11.76 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.3237, allocations: 8 kB / 429.8 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.3237, allocations: 7.938 kB / 429.8 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003819/0.3241, allocations: 123.4 kB / 430 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007539/0.3249, allocations: 207.7 kB / 430.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003902/0.3288, allocations: 6.122 MB / 436.3 MB, free: 4.727 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005605/0.3294, allocations: 98.91 kB / 436.4 MB, free: 4.629 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.584e-05/0.3294, allocations: 40.06 kB / 436.4 MB, free: 4.59 MB / 350.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.0003124/0.3298, allocations: 237.5 kB / 436.6 MB, free: 4.348 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001064/0.3299, allocations: 51.34 kB / 436.7 MB, free: 4.297 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001381/0.3313, allocations: 0.8403 MB / 437.5 MB, free: 3.434 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.3313, allocations: 12 kB / 437.6 MB, free: 3.422 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.3313, allocations: 4 kB / 437.6 MB, free: 3.418 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/0.3313, allocations: 11.91 kB / 437.6 MB, free: 3.406 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002574/0.3339, allocations: 1.938 MB / 439.5 MB, free: 1.332 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.3339, allocations: 0 / 439.5 MB, free: 1.332 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005512/0.3345, allocations: 135.8 kB / 439.6 MB, free: 1.199 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002652/0.3347, allocations: 107.6 kB / 439.7 MB, free: 1.082 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.34e-05/0.3348, allocations: 20 kB / 439.8 MB, free: 1.062 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003841/0.3386, allocations: 5.705 MB / 445.5 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.3387, allocations: 8.062 kB / 445.5 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001714/0.3404, allocations: 1.269 MB / 446.7 MB, free: 9.469 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001271/0.3405, allocations: 148.3 kB / 446.9 MB, free: 9.305 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.617e-05/0.3406, allocations: 15.94 kB / 446.9 MB, free: 9.289 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003729/0.341, allocations: 32.06 kB / 446.9 MB, free: 9.258 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.767e-05/0.3411, allocations: 60.52 kB / 447 MB, free: 9.199 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.931e-05/0.3411, allocations: 31.98 kB / 447 MB, free: 9.168 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002567/0.3414, allocations: 247.2 kB / 447.3 MB, free: 8.926 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3414, allocations: 0 / 447.3 MB, free: 8.926 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008762/0.3423, allocations: 263.4 kB / 447.5 MB, free: 8.668 MB / 366.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.0002554/0.3425, allocations: 155.1 kB / 447.7 MB, free: 8.508 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00153/0.3441, allocations: 1.177 MB / 448.9 MB, free: 7.273 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.3441, allocations: 0 / 448.9 MB, free: 7.273 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008323/0.3449, allocations: 0.7886 MB / 449.6 MB, free: 6.438 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005437/0.3455, allocations: 70.61 kB / 449.7 MB, free: 6.371 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002391/0.3479, allocations: 1.438 MB / 451.1 MB, free: 4.867 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004746/0.3484, allocations: 0.911 MB / 452.1 MB, free: 3.93 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002023/0.3486, allocations: 59.44 kB / 452.1 MB, free: 3.871 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3486, allocations: 0 / 452.1 MB, free: 3.871 MB / 366.1 MB Notification: Performance of Templates: time 0.02131/0.3699, allocations: 20.94 MB / 473.1 MB, free: 14.93 MB / 398.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches