Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.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.FixedShapes.CylinderSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|hollowCylinderAxialOuter.port_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|hollowCylinderAxialOuter.port_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 104.2 kB / 17.59 MB, free: 5.559 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.0014/0.001401, allocations: 191.4 kB / 18.51 MB, free: 4.641 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.362/1.362, allocations: 222.9 MB / 242.2 MB, free: 15.22 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000982/0.000982, allocations: 44.78 kB / 301.3 MB, free: 5.867 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09264/0.09364, allocations: 49.45 MB / 350.7 MB, free: 4.41 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005233/0.0989, allocations: 4.169 MB / 354.9 MB, free: 216 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00278/0.1017, allocations: 1.639 MB / 356.5 MB, free: 14.56 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002497/0.102, allocations: 12 kB / 356.6 MB, free: 14.55 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002266/0.1043, allocations: 1.01 MB / 357.6 MB, free: 13.54 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006258/0.1049, allocations: 230.2 kB / 357.8 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001526/0.1064, allocations: 0.8014 MB / 358.6 MB, free: 12.51 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006436/0.1071, allocations: 0.6184 MB / 359.2 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008471/0.1079, allocations: 0.4996 MB / 359.7 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005368/0.1085, allocations: 263 kB / 360 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004569/0.109, allocations: 338.7 kB / 360.3 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.294e-05/0.1091, allocations: 52 kB / 360.3 MB, free: 10.74 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007547/0.1098, allocations: 271.7 kB / 360.6 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001153/0.1099, allocations: 127.5 kB / 360.7 MB, free: 10.35 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000306/0.1103, allocations: 314.4 kB / 361 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001031/0.1113, allocations: 0.9072 MB / 362 MB, free: 9.133 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.1113, allocations: 4 kB / 362 MB, free: 9.129 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1113, allocations: 0 / 362 MB, free: 9.129 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.758e-06/0.1113, allocations: 0 / 362 MB, free: 9.129 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.003513/0.1149, allocations: 1.21 MB / 363.2 MB, free: 7.871 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.1149, allocations: 8.031 kB / 363.2 MB, free: 7.863 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001099/0.116, allocations: 180 kB / 363.3 MB, free: 7.688 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002206/0.1163, allocations: 233.3 kB / 363.6 MB, free: 7.418 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.185e-05/0.1163, allocations: 54.38 kB / 363.6 MB, free: 7.363 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001101/0.1164, allocations: 68.31 kB / 363.7 MB, free: 7.297 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001253/0.1177, allocations: 0.7153 MB / 364.4 MB, free: 6.566 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.142e-05/0.1177, allocations: 0 / 364.4 MB, free: 6.566 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.689e-05/0.1178, allocations: 31.98 kB / 364.4 MB, free: 6.535 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.58e-05/0.1178, allocations: 16 kB / 364.5 MB, free: 6.52 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001265/0.1191, allocations: 0.6024 MB / 365.1 MB, free: 5.918 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003394/0.1225, allocations: 2.324 MB / 367.4 MB, free: 3.461 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001706/0.1242, allocations: 1.629 MB / 369 MB, free: 1.602 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005349/0.1248, allocations: 275.3 kB / 369.3 MB, free: 1.328 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001345/0.1249, allocations: 93.66 kB / 369.4 MB, free: 1.219 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.354e-05/0.125, allocations: 47.11 kB / 369.4 MB, free: 1.164 MB / 302.1 MB Notification: Performance of pre-optimization done (n=66): time 2.074e-06/0.125, allocations: 0 / 369.4 MB, free: 1.164 MB / 302.1 MB Notification: Performance of matching and sorting (n=66): time 0.001671/0.1266, allocations: 0.6899 MB / 370.1 MB, free: 480 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.583e-05/0.1267, allocations: 111.5 kB / 370.2 MB, free: 344 kB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000315/0.1271, allocations: 272.8 kB / 370.5 MB, free: 60 kB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.814e-05/0.1271, allocations: 37.7 kB / 370.5 MB, free: 16 kB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1729/0.3, allocations: 253.5 kB / 370.8 MB, free: 25.48 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002461/0.3003, allocations: 225 kB / 371 MB, free: 25.34 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002244/0.3005, allocations: 117.9 kB / 371.1 MB, free: 25.32 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.516e-05/0.3006, allocations: 345.1 kB / 371.4 MB, free: 25.01 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005588/0.3011, allocations: 213 kB / 371.7 MB, free: 25 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005662/0.3017, allocations: 302.8 kB / 371.9 MB, free: 24.93 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001033/0.3028, allocations: 0.5162 MB / 372.5 MB, free: 24.86 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.3028, allocations: 0 / 372.5 MB, free: 24.86 MB / 302.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001357/0.3041, allocations: 0.6302 MB / 373.1 MB, free: 24.69 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.3042, allocations: 5.031 kB / 373.1 MB, free: 24.69 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.3042, allocations: 2 kB / 373.1 MB, free: 24.69 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.706e-05/0.3042, allocations: 4.828 kB / 373.1 MB, free: 24.69 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000729/0.3049, allocations: 168.9 kB / 373.3 MB, free: 24.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.236e-05/0.305, allocations: 5.672 kB / 373.3 MB, free: 24.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004936/0.3055, allocations: 77.12 kB / 373.4 MB, free: 24.63 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.892e-05/0.3055, allocations: 24.95 kB / 373.4 MB, free: 24.63 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (84): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002097/0.3057, allocations: 187.7 kB / 373.6 MB, free: 24.46 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.3059, allocations: 39 kB / 373.6 MB, free: 24.44 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001332/0.3072, allocations: 0.6019 MB / 374.2 MB, free: 24.19 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.216e-05/0.3072, allocations: 10.84 kB / 374.2 MB, free: 24.19 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.3072, allocations: 9.5 kB / 374.2 MB, free: 24.18 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.3072, allocations: 2.859 kB / 374.2 MB, free: 24.18 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002118/0.3094, allocations: 1.292 MB / 375.5 MB, free: 23.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.3094, allocations: 4.844 kB / 375.5 MB, free: 23.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005668/0.31, allocations: 127.4 kB / 375.6 MB, free: 23.47 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/0.31, allocations: 2.312 kB / 375.6 MB, free: 23.47 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.657e-05/0.31, allocations: 14.7 kB / 375.7 MB, free: 23.46 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.673e-06/0.31, allocations: 7.344 kB / 375.7 MB, free: 23.46 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.31, allocations: 3.906 kB / 375.7 MB, free: 23.46 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001625/0.3117, allocations: 0.9747 MB / 376.6 MB, free: 22.95 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.3118, allocations: 119.5 kB / 376.8 MB, free: 22.82 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.674e-05/0.3119, allocations: 16.78 kB / 376.8 MB, free: 22.81 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004095/0.3123, allocations: 30.38 kB / 376.8 MB, free: 22.8 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/0.3124, allocations: 40.75 kB / 376.8 MB, free: 22.8 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.561e-05/0.3124, allocations: 18.02 kB / 376.9 MB, free: 22.8 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000199/0.3126, allocations: 190.9 kB / 377.1 MB, free: 22.68 MB / 302.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3127, allocations: 0 / 377.1 MB, free: 22.68 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006529/0.3133, allocations: 174.5 kB / 377.2 MB, free: 22.64 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (source.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 (66): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002346/0.3136, allocations: 148.2 kB / 377.4 MB, free: 22.53 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001557/0.3151, allocations: 0.569 MB / 377.9 MB, free: 22.35 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.3151, allocations: 0 / 377.9 MB, free: 22.35 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005387/0.3157, allocations: 272.7 kB / 378.2 MB, free: 22.26 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005327/0.3162, allocations: 53.41 kB / 378.3 MB, free: 22.23 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00207/0.3183, allocations: 1.112 MB / 379.4 MB, free: 21.62 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003052/0.3186, allocations: 0.8445 MB / 380.2 MB, free: 20.92 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002103/0.3188, allocations: 55.78 kB / 380.3 MB, free: 20.91 MB / 302.1 MB Notification: Performance of SimCode: time 8.61e-07/0.3189, allocations: 3.828 kB / 380.3 MB, free: 20.91 MB / 302.1 MB Notification: Performance of Templates: time 0.01192/0.3308, allocations: 6.711 MB / 387 MB, free: 18.95 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches