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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0009216/0.0009216, allocations: 175.7 kB / 17.4 MB, free: 4.422 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.264/1.264, allocations: 223.3 MB / 241.4 MB, free: 9.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007346/0.0007346, allocations: 92.7 kB / 292.6 MB, free: 10.57 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002941/0.0002942, allocations: 11.94 kB / 352.4 MB, free: 14.8 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1971/0.1974, allocations: 50.41 MB / 402.8 MB, free: 32.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09111/0.2886, allocations: 83.94 MB / 486.7 MB, free: 12.36 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002354/0.2888, allocations: 91.94 kB / 486.8 MB, free: 12.27 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04347/0.3323, allocations: 19.63 MB / 0.4946 GB, free: 8.391 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3323, allocations: 0 / 0.4946 GB, free: 8.391 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.438e-05/0.3324, allocations: 12 kB / 0.4946 GB, free: 8.379 MB / 378.7 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.002269/0.3346, allocations: 0.9676 MB / 0.4955 GB, free: 7.363 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.3347, allocations: 8.031 kB / 0.4955 GB, free: 7.355 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001032/0.3357, allocations: 172.1 kB / 0.4957 GB, free: 7.188 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001703/0.3359, allocations: 242 kB / 0.4959 GB, free: 6.91 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.209e-05/0.336, allocations: 54.31 kB / 0.496 GB, free: 6.855 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.707e-05/0.3361, allocations: 64.38 kB / 0.496 GB, free: 6.793 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00113/0.3372, allocations: 0.7174 MB / 0.4967 GB, free: 6.062 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.367e-05/0.3372, allocations: 4.094 kB / 0.4967 GB, free: 6.059 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.674e-05/0.3373, allocations: 27.94 kB / 0.4968 GB, free: 6.031 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.313e-05/0.3373, allocations: 23.94 kB / 0.4968 GB, free: 6.008 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001149/0.3385, allocations: 0.6258 MB / 0.4974 GB, free: 5.379 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003025/0.3415, allocations: 2.344 MB / 0.4997 GB, free: 2.902 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001404/0.3429, allocations: 1.633 MB / 0.5013 GB, free: 1.039 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004929/0.3434, allocations: 287.2 kB / 0.5016 GB, free: 0.7539 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001113/0.3435, allocations: 93.66 kB / 0.5016 GB, free: 0.6445 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.66e-05/0.3436, allocations: 43.12 kB / 0.5017 GB, free: 0.5938 MB / 378.7 MB Notification: Performance of pre-optimization done (n=66): time 3.306e-06/0.3436, allocations: 0 / 0.5017 GB, free: 0.5938 MB / 378.7 MB Notification: Performance of matching and sorting (n=66): time 0.204/0.5476, allocations: 0.7234 MB / 0.5024 GB, free: 91.83 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.439e-05/0.5477, allocations: 113 kB / 0.5025 GB, free: 91.71 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005012/0.5482, allocations: 257.5 kB / 0.5027 GB, free: 91.6 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.976e-05/0.5483, allocations: 37.33 kB / 0.5028 GB, free: 91.57 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002139/0.5485, allocations: 264.7 kB / 0.503 GB, free: 91.46 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002336/0.5488, allocations: 228.1 kB / 0.5033 GB, free: 91.34 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.312e-05/0.5488, allocations: 14.09 kB / 0.5033 GB, free: 91.34 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.5489, allocations: 345.8 kB / 0.5036 GB, free: 91.03 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007934/0.5497, allocations: 225.1 kB / 0.5038 GB, free: 91.02 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008471/0.5506, allocations: 311.7 kB / 0.5041 GB, free: 90.95 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001655/0.5523, allocations: 0.5339 MB / 0.5046 GB, free: 90.89 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.5523, allocations: 0 / 0.5046 GB, free: 90.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002045/0.5544, allocations: 0.6417 MB / 0.5053 GB, free: 90.82 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.852e-05/0.5544, allocations: 5.312 kB / 0.5053 GB, free: 90.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/0.5544, allocations: 1.812 kB / 0.5053 GB, free: 90.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.947e-05/0.5545, allocations: 9.656 kB / 0.5053 GB, free: 90.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001109/0.5556, allocations: 170.3 kB / 0.5054 GB, free: 90.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.814e-05/0.5556, allocations: 5.188 kB / 0.5054 GB, free: 90.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007059/0.5563, allocations: 76.2 kB / 0.5055 GB, free: 90.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.245e-05/0.5564, allocations: 25.09 kB / 0.5055 GB, free: 90.8 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003638/0.5568, allocations: 187.2 kB / 0.5057 GB, free: 90.69 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001632/0.557, allocations: 41.52 kB / 0.5058 GB, free: 90.68 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002147/0.5591, allocations: 0.619 MB / 0.5064 GB, free: 90.62 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.208e-05/0.5592, allocations: 6.781 kB / 0.5064 GB, free: 90.62 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.5592, allocations: 1.281 kB / 0.5064 GB, free: 90.62 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.35e-05/0.5592, allocations: 4.797 kB / 0.5064 GB, free: 90.62 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003459/0.5627, allocations: 1.305 MB / 0.5076 GB, free: 90.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/0.5627, allocations: 0 / 0.5076 GB, free: 90.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008625/0.5636, allocations: 131.7 kB / 0.5078 GB, free: 90.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.111e-05/0.5636, allocations: 3 kB / 0.5078 GB, free: 90.29 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.227e-05/0.5637, allocations: 15.22 kB / 0.5078 GB, free: 90.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.297e-06/0.5637, allocations: 3.312 kB / 0.5078 GB, free: 90.29 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.5637, allocations: 0 / 0.5078 GB, free: 90.29 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002391/0.5661, allocations: 1 MB / 0.5088 GB, free: 90.05 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001922/0.5663, allocations: 126 kB / 0.5089 GB, free: 89.93 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.423e-05/0.5664, allocations: 13.19 kB / 0.5089 GB, free: 89.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005881/0.567, allocations: 43.59 kB / 0.5089 GB, free: 89.93 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001553/0.5672, allocations: 37.42 kB / 0.509 GB, free: 89.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.047e-05/0.5673, allocations: 20.45 kB / 0.509 GB, free: 89.93 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002685/0.5676, allocations: 188.2 kB / 0.5092 GB, free: 89.86 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.5676, allocations: 0 / 0.5092 GB, free: 89.86 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001007/0.5686, allocations: 188 kB / 0.5094 GB, free: 89.83 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003233/0.5689, allocations: 165.1 kB / 0.5095 GB, free: 89.74 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00163/0.5706, allocations: 0.5529 MB / 0.5101 GB, free: 89.72 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.626e-06/0.5706, allocations: 4.062 kB / 0.5101 GB, free: 89.72 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006526/0.5713, allocations: 282.5 kB / 0.5103 GB, free: 89.72 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007388/0.572, allocations: 47.41 kB / 0.5104 GB, free: 89.72 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002796/0.5748, allocations: 1.326 MB / 0.5117 GB, free: 89.05 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003445/0.5752, allocations: 0.8393 MB / 0.5125 GB, free: 88.35 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0007539/0.5759, allocations: 80.7 kB / 0.5126 GB, free: 88.32 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000196/0.5762, allocations: 45.36 kB / 0.5126 GB, free: 88.31 MB / 378.7 MB Notification: Performance of SimCode: time 8.61e-07/0.5762, allocations: 0 / 0.5126 GB, free: 88.31 MB / 378.7 MB Notification: Performance of Templates: time 0.01218/0.5884, allocations: 4.707 MB / 0.5172 GB, free: 88.07 MB / 378.7 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","../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