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.001326/0.001326, allocations: 103.2 kB / 17.59 MB, free: 5.43 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.001117/0.001117, allocations: 191.3 kB / 18.52 MB, free: 4.508 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.36/1.36, allocations: 222.9 MB / 242.2 MB, free: 15.23 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001013/0.001013, allocations: 47.55 kB / 301.3 MB, free: 5.844 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1053, allocations: 49.45 MB / 350.7 MB, free: 4.387 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.006375/0.1117, allocations: 5.235 MB / 356 MB, free: 15.12 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002831/0.1146, allocations: 1.674 MB / 357.7 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002454/0.1148, allocations: 16 kB / 357.7 MB, free: 13.42 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002865/0.1177, allocations: 1.418 MB / 359.1 MB, free: 12 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007311/0.1185, allocations: 313.7 kB / 359.4 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001509/0.12, allocations: 0.8165 MB / 360.2 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008089/0.1208, allocations: 0.8053 MB / 361 MB, free: 10.06 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001043/0.1219, allocations: 0.7692 MB / 361.8 MB, free: 9.277 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000374/0.1223, allocations: 350.7 kB / 362.1 MB, free: 8.934 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000472/0.1227, allocations: 474.1 kB / 362.6 MB, free: 8.469 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.741e-05/0.1228, allocations: 76 kB / 362.7 MB, free: 8.395 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004885/0.1233, allocations: 255.8 kB / 362.9 MB, free: 8.145 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001312/0.1235, allocations: 175.3 kB / 363.1 MB, free: 7.973 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003367/0.1238, allocations: 429.9 kB / 363.5 MB, free: 7.551 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001091/0.1249, allocations: 1.18 MB / 364.7 MB, free: 6.367 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1249, allocations: 0 / 364.7 MB, free: 6.367 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.096e-06/0.1249, allocations: 0 / 364.7 MB, free: 6.367 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.368e-05/0.125, allocations: 3.938 kB / 364.7 MB, free: 6.363 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.003766/0.1287, allocations: 1.443 MB / 366.1 MB, free: 4.867 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.1288, allocations: 16.03 kB / 366.1 MB, free: 4.852 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001573/0.1304, allocations: 251.7 kB / 366.4 MB, free: 4.605 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002174/0.1306, allocations: 263.2 kB / 366.6 MB, free: 4.309 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.415e-05/0.1307, allocations: 70.38 kB / 366.7 MB, free: 4.242 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000139/0.1308, allocations: 104.3 kB / 366.8 MB, free: 4.141 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001372/0.1322, allocations: 0.9386 MB / 367.8 MB, free: 3.188 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.799e-05/0.1322, allocations: 0 / 367.8 MB, free: 3.188 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.793e-05/0.1323, allocations: 40 kB / 367.8 MB, free: 3.148 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.861e-05/0.1323, allocations: 24 kB / 367.8 MB, free: 3.125 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001242/0.1336, allocations: 0.7847 MB / 368.6 MB, free: 2.344 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1646/0.2982, allocations: 3.376 MB / 372 MB, free: 23.71 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00211/0.3004, allocations: 1.255 MB / 373.2 MB, free: 23.27 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005815/0.301, allocations: 377.6 kB / 373.6 MB, free: 23.25 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001202/0.3011, allocations: 103.2 kB / 373.7 MB, free: 23.16 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/0.3011, allocations: 43.48 kB / 373.7 MB, free: 23.12 MB / 302.1 MB Notification: Performance of pre-optimization done (n=87): time 3.526e-06/0.3012, allocations: 0.6875 kB / 373.7 MB, free: 23.12 MB / 302.1 MB Notification: Performance of matching and sorting (n=87): time 0.002502/0.3037, allocations: 1.304 MB / 375.1 MB, free: 22.37 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.755e-05/0.3037, allocations: 87.92 kB / 375.1 MB, free: 22.27 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005028/0.3042, allocations: 369.9 kB / 375.5 MB, free: 22.07 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.875e-05/0.3043, allocations: 41.27 kB / 375.5 MB, free: 22.03 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002588/0.3045, allocations: 384.6 kB / 375.9 MB, free: 21.74 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002325/0.3048, allocations: 298.3 kB / 376.2 MB, free: 21.51 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002843/0.3051, allocations: 173.4 kB / 376.4 MB, free: 21.42 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.3052, allocations: 363.2 kB / 376.7 MB, free: 21.09 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004677/0.3057, allocations: 265.9 kB / 377 MB, free: 20.99 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006372/0.3063, allocations: 470.3 kB / 377.5 MB, free: 20.66 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001151/0.3075, allocations: 0.7711 MB / 378.2 MB, free: 20.15 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/0.3075, allocations: 2.062 kB / 378.2 MB, free: 20.15 MB / 302.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001835/0.3093, allocations: 0.9781 MB / 379.2 MB, free: 19.71 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.733e-05/0.3094, allocations: 10.41 kB / 379.2 MB, free: 19.71 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.427e-05/0.3094, allocations: 6.562 kB / 379.2 MB, free: 19.71 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004352/0.3098, allocations: 126.9 kB / 379.3 MB, free: 19.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007958/0.3107, allocations: 204.8 kB / 379.5 MB, free: 19.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003482/0.3141, allocations: 6.118 MB / 385.7 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007389/0.3149, allocations: 105.4 kB / 385.8 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.975e-05/0.315, allocations: 41.08 kB / 385.8 MB, free: 13.46 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.000374/0.3154, allocations: 233.8 kB / 386 MB, free: 13.26 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001231/0.3155, allocations: 52.59 kB / 386.1 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001486/0.317, allocations: 0.8589 MB / 386.9 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.407e-06/0.317, allocations: 8.625 kB / 387 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.317, allocations: 4.125 kB / 387 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.161e-05/0.3171, allocations: 4.172 kB / 387 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002856/0.3199, allocations: 1.932 MB / 388.9 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.096e-06/0.3199, allocations: 2.25 kB / 388.9 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005586/0.3205, allocations: 135.2 kB / 389 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002975/0.3208, allocations: 116 kB / 389.1 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.319e-05/0.3209, allocations: 16.94 kB / 389.2 MB, free: 11.53 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002831/0.3237, allocations: 5.711 MB / 394.9 MB, free: 5.773 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.022e-06/0.3237, allocations: 6.219 kB / 394.9 MB, free: 5.773 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001793/0.3255, allocations: 1.275 MB / 396.1 MB, free: 5.008 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001667/0.3257, allocations: 142.6 kB / 396.3 MB, free: 4.871 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.629e-05/0.3258, allocations: 19.7 kB / 396.3 MB, free: 4.859 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003722/0.3262, allocations: 21.08 kB / 396.3 MB, free: 4.848 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001289/0.3263, allocations: 70.81 kB / 396.4 MB, free: 4.828 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-05/0.3264, allocations: 23.84 kB / 396.4 MB, free: 4.824 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003273/0.3267, allocations: 255.9 kB / 396.7 MB, free: 4.684 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3267, allocations: 0 / 396.7 MB, free: 4.684 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.00142/0.3281, allocations: 259.1 kB / 396.9 MB, free: 4.621 MB / 302.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.0003122/0.3285, allocations: 155.3 kB / 397.1 MB, free: 4.508 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002317/0.3308, allocations: 1.208 MB / 398.3 MB, free: 3.766 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.662e-06/0.3308, allocations: 1.344 kB / 398.3 MB, free: 3.766 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009286/0.3317, allocations: 0.8036 MB / 399.1 MB, free: 3.172 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000714/0.3325, allocations: 58.08 kB / 399.1 MB, free: 3.137 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003312/0.3358, allocations: 1.447 MB / 400.6 MB, free: 2.305 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000552/0.3364, allocations: 0.9076 MB / 401.5 MB, free: 1.598 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002484/0.3366, allocations: 61.89 kB / 401.6 MB, free: 1.59 MB / 302.1 MB Notification: Performance of SimCode: time 1.483e-06/0.3366, allocations: 3.938 kB / 401.6 MB, free: 1.59 MB / 302.1 MB Notification: Performance of Templates: time 0.02701/0.3637, allocations: 20.93 MB / 422.5 MB, free: 336 kB / 318.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