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.001149/0.001149, allocations: 107.9 kB / 17.74 MB, free: 5.363 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.001151/0.001151, allocations: 179.1 kB / 18.66 MB, free: 4.445 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.456/1.456, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00108/0.001081, allocations: 43.92 kB / 352 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2364/0.2375, allocations: 49.43 MB / 401.4 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.006075/0.2436, allocations: 5.249 MB / 406.7 MB, free: 3.625 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002928/0.2466, allocations: 1.685 MB / 408.3 MB, free: 1.93 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002938/0.2469, allocations: 16 kB / 408.4 MB, free: 1.914 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00305/0.25, allocations: 1.412 MB / 409.8 MB, free: 0.5 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000848/0.2509, allocations: 309.7 kB / 410.1 MB, free: 200 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00156/0.2524, allocations: 0.8201 MB / 410.9 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008689/0.2533, allocations: 0.8167 MB / 411.7 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001021/0.2544, allocations: 0.7666 MB / 412.5 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000378/0.2548, allocations: 354.7 kB / 412.8 MB, free: 13.42 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004805/0.2552, allocations: 462.1 kB / 413.3 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.402e-05/0.2553, allocations: 76 kB / 413.3 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005221/0.2559, allocations: 255.8 kB / 413.6 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001168/0.256, allocations: 179.3 kB / 413.8 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003356/0.2563, allocations: 425.9 kB / 414.2 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001144/0.2575, allocations: 1.199 MB / 415.4 MB, free: 10.85 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2575, allocations: 0 / 415.4 MB, free: 10.85 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2575, allocations: 4 kB / 415.4 MB, free: 10.84 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.135e-05/0.2575, allocations: 0 / 415.4 MB, free: 10.84 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.003974/0.2615, allocations: 1.439 MB / 416.8 MB, free: 9.359 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.2616, allocations: 12.03 kB / 416.8 MB, free: 9.348 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001696/0.2633, allocations: 251.7 kB / 417.1 MB, free: 9.102 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002327/0.2635, allocations: 259.2 kB / 417.3 MB, free: 8.809 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.898e-05/0.2636, allocations: 74.38 kB / 417.4 MB, free: 8.734 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001442/0.2637, allocations: 96.38 kB / 417.5 MB, free: 8.641 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001512/0.2653, allocations: 0.9424 MB / 418.4 MB, free: 7.688 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.077e-05/0.2653, allocations: 7.844 kB / 418.5 MB, free: 7.68 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.151e-05/0.2654, allocations: 44 kB / 418.5 MB, free: 7.637 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.973e-05/0.2654, allocations: 24 kB / 418.5 MB, free: 7.613 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001262/0.2667, allocations: 0.7776 MB / 419.3 MB, free: 6.836 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004753/0.2714, allocations: 3.361 MB / 422.7 MB, free: 3.293 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001805/0.2733, allocations: 1.249 MB / 423.9 MB, free: 1.957 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000495/0.2738, allocations: 374 kB / 424.3 MB, free: 1.59 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001055/0.2739, allocations: 102.1 kB / 424.4 MB, free: 1.473 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.2739, allocations: 43.5 kB / 424.4 MB, free: 1.422 MB / 334.1 MB Notification: Performance of pre-optimization done (n=87): time 2.735e-06/0.2739, allocations: 0 / 424.4 MB, free: 1.422 MB / 334.1 MB Notification: Performance of matching and sorting (n=87): time 0.002139/0.2761, allocations: 1.304 MB / 425.7 MB, free: 24 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.617e-05/0.2762, allocations: 90.08 kB / 425.8 MB, free: 15.92 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004045/0.2766, allocations: 364.4 kB / 426.2 MB, free: 15.55 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.302e-05/0.2766, allocations: 41.7 kB / 426.2 MB, free: 15.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002202/0.2769, allocations: 382.9 kB / 426.6 MB, free: 15.12 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002002/0.2771, allocations: 303.6 kB / 426.9 MB, free: 14.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002446/0.2773, allocations: 174.8 kB / 427 MB, free: 14.64 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.2775, allocations: 358.8 kB / 427.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004368/0.2779, allocations: 266.5 kB / 427.7 MB, free: 14.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006333/0.2786, allocations: 479.3 kB / 428.1 MB, free: 13.47 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001046/0.2796, allocations: 0.7744 MB / 428.9 MB, free: 12.62 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/0.2796, allocations: 0 / 428.9 MB, free: 12.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001588/0.2812, allocations: 0.9688 MB / 429.9 MB, free: 11.64 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.2813, allocations: 8 kB / 429.9 MB, free: 11.63 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.2813, allocations: 4 kB / 429.9 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000378/0.2817, allocations: 135.7 kB / 430 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007654/0.2824, allocations: 199.7 kB / 430.2 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004204/0.2866, allocations: 6.129 MB / 436.3 MB, free: 4.598 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006307/0.2873, allocations: 98.91 kB / 436.4 MB, free: 4.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.198e-05/0.2874, allocations: 40 kB / 436.5 MB, free: 4.461 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.0003224/0.2877, allocations: 237.5 kB / 436.7 MB, free: 4.219 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/0.2878, allocations: 55.34 kB / 436.8 MB, free: 4.164 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001422/0.2893, allocations: 0.8482 MB / 437.6 MB, free: 3.293 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.2893, allocations: 8 kB / 437.6 MB, free: 3.285 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.2893, allocations: 0 / 437.6 MB, free: 3.285 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.2893, allocations: 11.92 kB / 437.6 MB, free: 3.273 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002654/0.292, allocations: 1.934 MB / 439.6 MB, free: 1.203 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/0.292, allocations: 4 kB / 439.6 MB, free: 1.199 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005709/0.2926, allocations: 131.8 kB / 439.7 MB, free: 1.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002804/0.2929, allocations: 115.3 kB / 439.8 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.032e-05/0.2929, allocations: 20.03 kB / 439.8 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003536/0.2964, allocations: 5.697 MB / 445.5 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/0.2965, allocations: 7.875 kB / 445.5 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001717/0.2982, allocations: 1.277 MB / 446.8 MB, free: 9.332 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001476/0.2984, allocations: 144.3 kB / 446.9 MB, free: 9.172 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.71e-05/0.2984, allocations: 23.94 kB / 447 MB, free: 9.148 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003905/0.2988, allocations: 20 kB / 447 MB, free: 9.129 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/0.299, allocations: 64.58 kB / 447.1 MB, free: 9.066 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.079e-05/0.299, allocations: 27.98 kB / 447.1 MB, free: 9.039 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002652/0.2993, allocations: 251.2 kB / 447.3 MB, free: 8.793 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2993, allocations: 4 kB / 447.3 MB, free: 8.789 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009374/0.3002, allocations: 259.3 kB / 447.6 MB, free: 8.535 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.0002611/0.3005, allocations: 152.8 kB / 447.7 MB, free: 8.379 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001571/0.3021, allocations: 1.177 MB / 448.9 MB, free: 7.145 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.3021, allocations: 0 / 448.9 MB, free: 7.145 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000806/0.3029, allocations: 0.7994 MB / 449.7 MB, free: 6.297 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005719/0.3035, allocations: 65.3 kB / 449.8 MB, free: 6.234 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002486/0.306, allocations: 1.428 MB / 451.2 MB, free: 4.742 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004863/0.3065, allocations: 0.9148 MB / 452.1 MB, free: 3.801 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002243/0.3067, allocations: 63.42 kB / 452.2 MB, free: 3.738 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3067, allocations: 0 / 452.2 MB, free: 3.738 MB / 366.1 MB Notification: Performance of Templates: time 0.02131/0.328, allocations: 21.02 MB / 473.2 MB, free: 14.72 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