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.001399/0.001399, allocations: 109.1 kB / 17.28 MB, free: 6.059 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.001252/0.001252, allocations: 193.3 kB / 18.21 MB, free: 5.145 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.313/1.313, allocations: 222.9 MB / 241.9 MB, free: 15.39 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009615/0.0009616, allocations: 43.27 kB / 300.8 MB, free: 6.188 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08821/0.08919, allocations: 49.44 MB / 350.2 MB, free: 4.738 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.006004/0.09523, allocations: 5.226 MB / 355.5 MB, free: 15.48 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003056/0.09832, allocations: 1.67 MB / 357.1 MB, free: 13.8 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003134/0.09866, allocations: 16 kB / 357.2 MB, free: 13.79 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002818/0.1015, allocations: 1.332 MB / 358.5 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006943/0.1022, allocations: 270.3 kB / 358.7 MB, free: 12.19 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001421/0.1037, allocations: 0.7548 MB / 359.5 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009053/0.1046, allocations: 0.8053 MB / 360.3 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001131/0.1057, allocations: 0.8782 MB / 361.2 MB, free: 9.734 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003697/0.1061, allocations: 358.6 kB / 361.5 MB, free: 9.383 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004395/0.1066, allocations: 474.1 kB / 362 MB, free: 8.918 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.569e-05/0.1067, allocations: 72 kB / 362.1 MB, free: 8.848 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004733/0.1071, allocations: 255.8 kB / 362.3 MB, free: 8.598 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001228/0.1073, allocations: 183.3 kB / 362.5 MB, free: 8.418 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003171/0.1076, allocations: 421.9 kB / 362.9 MB, free: 8.004 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008409/0.1084, allocations: 0.935 MB / 363.8 MB, free: 7.066 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.1084, allocations: 0 / 363.8 MB, free: 7.066 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1085, allocations: 4 kB / 363.8 MB, free: 7.062 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.178e-05/0.1085, allocations: 4 kB / 363.9 MB, free: 7.059 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.003701/0.1122, allocations: 1.446 MB / 365.3 MB, free: 5.562 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.1122, allocations: 12.03 kB / 365.3 MB, free: 5.551 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001598/0.1138, allocations: 251.7 kB / 365.6 MB, free: 5.305 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002051/0.114, allocations: 255.2 kB / 365.8 MB, free: 5.016 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.522e-05/0.1141, allocations: 70.38 kB / 365.9 MB, free: 4.949 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001504/0.1143, allocations: 104.3 kB / 366 MB, free: 4.848 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001492/0.1158, allocations: 0.9425 MB / 366.9 MB, free: 3.891 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.938e-05/0.1158, allocations: 0 / 366.9 MB, free: 3.891 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.044e-05/0.1159, allocations: 44 kB / 367 MB, free: 3.848 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.082e-05/0.1159, allocations: 27.94 kB / 367 MB, free: 3.82 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001247/0.1172, allocations: 0.7808 MB / 367.8 MB, free: 3.043 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1664/0.2836, allocations: 3.377 MB / 371.1 MB, free: 24.25 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001858/0.2855, allocations: 1.255 MB / 372.4 MB, free: 23.81 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005151/0.286, allocations: 370.4 kB / 372.8 MB, free: 23.8 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001169/0.2861, allocations: 105.1 kB / 372.9 MB, free: 23.7 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/0.2861, allocations: 49.45 kB / 372.9 MB, free: 23.66 MB / 302.1 MB Notification: Performance of pre-optimization done (n=87): time 2.444e-06/0.2862, allocations: 0.9688 kB / 372.9 MB, free: 23.66 MB / 302.1 MB Notification: Performance of matching and sorting (n=87): time 0.002043/0.2882, allocations: 1.298 MB / 374.2 MB, free: 23.1 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.862e-05/0.2882, allocations: 88.45 kB / 374.3 MB, free: 23 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003779/0.2886, allocations: 368.5 kB / 374.7 MB, free: 22.81 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.557e-05/0.2887, allocations: 45.7 kB / 374.7 MB, free: 22.77 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001666/0.2888, allocations: 377.1 kB / 375.1 MB, free: 22.48 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001805/0.289, allocations: 297.2 kB / 375.4 MB, free: 22.25 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002331/0.2893, allocations: 175.5 kB / 375.5 MB, free: 22.16 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.821e-05/0.2894, allocations: 369.5 kB / 375.9 MB, free: 21.82 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000425/0.2898, allocations: 266.5 kB / 376.2 MB, free: 21.72 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005066/0.2903, allocations: 466.5 kB / 376.6 MB, free: 21.4 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008968/0.2912, allocations: 0.7758 MB / 377.4 MB, free: 20.89 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.2912, allocations: 1.25 kB / 377.4 MB, free: 20.89 MB / 302.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001475/0.2927, allocations: 0.974 MB / 378.4 MB, free: 20.45 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.2927, allocations: 9.125 kB / 378.4 MB, free: 20.45 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.2928, allocations: 8.406 kB / 378.4 MB, free: 20.45 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003803/0.2931, allocations: 132.2 kB / 378.5 MB, free: 20.39 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007759/0.2939, allocations: 204 kB / 378.7 MB, free: 20.38 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00298/0.2969, allocations: 6.124 MB / 384.8 MB, free: 14.28 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005703/0.2975, allocations: 100.7 kB / 384.9 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.215e-05/0.2976, allocations: 43.45 kB / 385 MB, free: 14.2 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.0002923/0.2979, allocations: 232.6 kB / 385.2 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/0.298, allocations: 53.7 kB / 385.3 MB, free: 13.97 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001288/0.2993, allocations: 0.853 MB / 386.1 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.756e-06/0.2993, allocations: 8.781 kB / 386.1 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.2993, allocations: 3.094 kB / 386.1 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/0.2993, allocations: 5.266 kB / 386.1 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002495/0.3018, allocations: 1.931 MB / 388.1 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.3018, allocations: 2.312 kB / 388.1 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005546/0.3024, allocations: 136.1 kB / 388.2 MB, free: 12.33 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002669/0.3027, allocations: 114.5 kB / 388.3 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.445e-05/0.3027, allocations: 26 kB / 388.3 MB, free: 12.26 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002546/0.3053, allocations: 5.704 MB / 394 MB, free: 6.516 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.3053, allocations: 2.797 kB / 394 MB, free: 6.516 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001599/0.3069, allocations: 1.268 MB / 395.3 MB, free: 5.758 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001165/0.307, allocations: 155 kB / 395.4 MB, free: 5.609 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.343e-05/0.3071, allocations: 16.34 kB / 395.5 MB, free: 5.602 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003887/0.3075, allocations: 21.48 kB / 395.5 MB, free: 5.59 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/0.3076, allocations: 62.55 kB / 395.5 MB, free: 5.578 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.621e-05/0.3077, allocations: 31.58 kB / 395.6 MB, free: 5.566 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002625/0.308, allocations: 251.3 kB / 395.8 MB, free: 5.426 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.308, allocations: 1.438 kB / 395.8 MB, free: 5.426 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009486/0.3089, allocations: 262.8 kB / 396.1 MB, free: 5.359 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.0002278/0.3092, allocations: 163.1 kB / 396.2 MB, free: 5.238 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001866/0.311, allocations: 1.204 MB / 397.4 MB, free: 4.508 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.94e-06/0.3111, allocations: 1.312 kB / 397.4 MB, free: 4.508 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007467/0.3118, allocations: 0.7974 MB / 398.2 MB, free: 3.918 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005681/0.3124, allocations: 62.67 kB / 398.3 MB, free: 3.883 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002426/0.3148, allocations: 1.786 MB / 400.1 MB, free: 2.707 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004073/0.3152, allocations: 0.9087 MB / 401 MB, free: 2 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002185/0.3155, allocations: 70.52 kB / 401.1 MB, free: 1.984 MB / 302.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3155, allocations: 0 / 401.1 MB, free: 1.984 MB / 302.1 MB Notification: Performance of Templates: time 0.02025/0.3357, allocations: 20.93 MB / 422 MB, free: 0.7461 MB / 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