Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009676/0.0009677, allocations: 198.2 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.207/1.207, allocations: 227.2 MB / 245 MB, free: 7.57 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008809/0.0008809, allocations: 95.94 kB / 297.3 MB, free: 6.203 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002182/0.0002181, allocations: 4 kB / 357.9 MB, free: 9.547 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1978/0.198, allocations: 51.49 MB / 409.4 MB, free: 26.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1013/0.2994, allocations: 84.51 MB / 493.9 MB, free: 6.121 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002367/0.2997, allocations: 91.94 kB / 494 MB, free: 6.031 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04649/0.3462, allocations: 20.79 MB / 0.5027 GB, free: 1.008 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3462, allocations: 8 kB / 0.5028 GB, free: 1 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.314e-05/0.3462, allocations: 8 kB / 0.5028 GB, free: 0.9922 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.167/0.5132, allocations: 0.9839 MB / 0.5037 GB, free: 85.95 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.5133, allocations: 8.906 kB / 0.5037 GB, free: 85.95 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001467/0.5148, allocations: 182.4 kB / 0.5039 GB, free: 85.91 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000223/0.515, allocations: 232.2 kB / 0.5041 GB, free: 85.71 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.36e-05/0.5151, allocations: 51.19 kB / 0.5042 GB, free: 85.71 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002062/0.5153, allocations: 69.88 kB / 0.5042 GB, free: 85.71 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001756/0.5171, allocations: 0.7111 MB / 0.5049 GB, free: 85.62 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.685e-05/0.5171, allocations: 4.938 kB / 0.5049 GB, free: 85.62 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.618e-05/0.5172, allocations: 25.5 kB / 0.505 GB, free: 85.62 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.02e-05/0.5172, allocations: 18.42 kB / 0.505 GB, free: 85.62 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001474/0.5187, allocations: 0.6278 MB / 0.5056 GB, free: 85.61 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003711/0.5224, allocations: 2.349 MB / 0.5079 GB, free: 84.77 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001716/0.5241, allocations: 1.69 MB / 0.5095 GB, free: 83.59 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001804/0.5243, allocations: 182.6 kB / 0.5097 GB, free: 83.4 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/0.5244, allocations: 37.25 kB / 0.5097 GB, free: 83.36 MB / 378.7 MB Notification: Performance of pre-optimization done (n=66): time 3.056e-06/0.5244, allocations: 0 / 0.5097 GB, free: 83.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=66): time 0.001747/0.5261, allocations: 0.7376 MB / 0.5105 GB, free: 83.29 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/0.5262, allocations: 110.4 kB / 0.5106 GB, free: 83.16 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002821/0.5265, allocations: 236.7 kB / 0.5108 GB, free: 83.06 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.106e-05/0.5265, allocations: 35.02 kB / 0.5108 GB, free: 83.03 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001329/0.5267, allocations: 266.6 kB / 0.5111 GB, free: 82.88 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001545/0.5268, allocations: 224 kB / 0.5113 GB, free: 82.75 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.371e-05/0.5269, allocations: 13.16 kB / 0.5113 GB, free: 82.75 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.377e-05/0.5269, allocations: 347.2 kB / 0.5116 GB, free: 82.43 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004626/0.5274, allocations: 223.4 kB / 0.5119 GB, free: 82.43 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005161/0.5279, allocations: 307.9 kB / 0.5122 GB, free: 82.35 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004996/0.5284, allocations: 257.8 kB / 0.5124 GB, free: 82.35 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.5285, allocations: 2.844 kB / 0.5124 GB, free: 82.35 MB / 378.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.00106/0.5295, allocations: 0.6564 MB / 0.513 GB, free: 82.28 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.5296, allocations: 5.156 kB / 0.513 GB, free: 82.28 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.5296, allocations: 2.844 kB / 0.5131 GB, free: 82.28 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.5296, allocations: 3.438 kB / 0.5131 GB, free: 82.28 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006614/0.5303, allocations: 167.2 kB / 0.5132 GB, free: 82.28 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/0.5303, allocations: 7.422 kB / 0.5132 GB, free: 82.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004922/0.5308, allocations: 77.16 kB / 0.5133 GB, free: 82.24 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.307e-05/0.5308, allocations: 28.97 kB / 0.5133 GB, free: 82.24 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.0002265/0.5311, allocations: 186.8 kB / 0.5135 GB, free: 82.12 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.928e-05/0.5312, allocations: 39.19 kB / 0.5135 GB, free: 82.11 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001126/0.5323, allocations: 0.6197 MB / 0.5141 GB, free: 82.04 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.5323, allocations: 7.531 kB / 0.5141 GB, free: 82.04 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.5323, allocations: 3.906 kB / 0.5142 GB, free: 82.04 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.5323, allocations: 7.562 kB / 0.5142 GB, free: 82.03 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001771/0.5341, allocations: 1.287 MB / 0.5154 GB, free: 81.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.257e-06/0.5341, allocations: 0 / 0.5154 GB, free: 81.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000552/0.5347, allocations: 138.5 kB / 0.5155 GB, free: 81.69 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.151e-06/0.5347, allocations: 3.781 kB / 0.5156 GB, free: 81.69 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.391e-05/0.5347, allocations: 18.61 kB / 0.5156 GB, free: 81.69 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.5348, allocations: 3.688 kB / 0.5156 GB, free: 81.69 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.5348, allocations: 2.625 kB / 0.5156 GB, free: 81.69 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001347/0.5361, allocations: 1.014 MB / 0.5166 GB, free: 81.41 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.396e-05/0.5362, allocations: 123.3 kB / 0.5167 GB, free: 81.29 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.605e-05/0.5363, allocations: 15.34 kB / 0.5167 GB, free: 81.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004133/0.5367, allocations: 33.75 kB / 0.5167 GB, free: 81.29 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.834e-05/0.5368, allocations: 48.62 kB / 0.5168 GB, free: 81.29 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.908e-05/0.5368, allocations: 14.72 kB / 0.5168 GB, free: 81.29 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001359/0.537, allocations: 196.7 kB / 0.517 GB, free: 81.21 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.537, allocations: 0 / 0.517 GB, free: 81.21 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005221/0.5375, allocations: 192.4 kB / 0.5172 GB, free: 81.18 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.0002097/0.5377, allocations: 166.2 kB / 0.5173 GB, free: 81.09 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009418/0.5387, allocations: 0.5508 MB / 0.5179 GB, free: 80.96 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.5387, allocations: 4.062 kB / 0.5179 GB, free: 80.95 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004185/0.5391, allocations: 280 kB / 0.5181 GB, free: 80.88 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002936/0.5394, allocations: 49.19 kB / 0.5182 GB, free: 80.86 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001698/0.5411, allocations: 1.319 MB / 0.5195 GB, free: 80.07 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002041/0.5413, allocations: 0.8496 MB / 0.5203 GB, free: 79.36 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003872/0.5417, allocations: 82.06 kB / 0.5204 GB, free: 79.34 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001293/0.5419, allocations: 45.59 kB / 0.5204 GB, free: 79.33 MB / 378.7 MB Notification: Performance of SimCode: time 5.21e-07/0.5419, allocations: 0 / 0.5204 GB, free: 79.33 MB / 378.7 MB Notification: Performance of Templates: time 0.007526/0.5494, allocations: 4.722 MB / 0.525 GB, free: 79.07 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches