Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.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.CuboidSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cuboidRight.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cuboidRight.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000985/0.0009851, allocations: 201.2 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.275/1.275, allocations: 226.5 MB / 245.4 MB, free: 6.527 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007463/0.0007463, allocations: 108.8 kB / 297.5 MB, free: 6.68 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002304/0.0002307, allocations: 4 kB / 358.1 MB, free: 10.06 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1996/0.1999, allocations: 51.3 MB / 409.4 MB, free: 27.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09553/0.2954, allocations: 83.39 MB / 492.8 MB, free: 8.113 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002341/0.2957, allocations: 87.95 kB / 492.9 MB, free: 8.027 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0514/0.3471, allocations: 22.03 MB / 0.5028 GB, free: 1.734 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.3472, allocations: 0 / 0.5028 GB, free: 1.734 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.037e-05/0.3472, allocations: 8 kB / 0.5028 GB, free: 1.727 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.002901/0.3501, allocations: 1.003 MB / 0.5038 GB, free: 0.6719 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.3502, allocations: 16.03 kB / 0.5038 GB, free: 0.6562 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001444/0.3516, allocations: 211.9 kB / 0.504 GB, free: 460 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002486/0.3519, allocations: 241.1 kB / 0.5043 GB, free: 180 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.972e-05/0.352, allocations: 58.31 kB / 0.5043 GB, free: 120 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001795/0.3522, allocations: 80.31 kB / 0.5044 GB, free: 40 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.165/0.5171, allocations: 0.768 MB / 0.5051 GB, free: 86.02 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.997e-05/0.5172, allocations: 6.703 kB / 0.5052 GB, free: 86.02 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.352e-05/0.5173, allocations: 28.34 kB / 0.5052 GB, free: 86.02 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.356e-05/0.5173, allocations: 18.89 kB / 0.5052 GB, free: 86.02 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001506/0.5188, allocations: 0.6909 MB / 0.5059 GB, free: 86.02 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003976/0.5228, allocations: 3.316 MB / 0.5091 GB, free: 84.33 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001887/0.5247, allocations: 2.078 MB / 0.5111 GB, free: 82.78 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006628/0.5254, allocations: 335.8 kB / 0.5115 GB, free: 82.76 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001253/0.5255, allocations: 177.4 kB / 0.5116 GB, free: 82.57 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.5256, allocations: 46.69 kB / 0.5117 GB, free: 82.53 MB / 378.7 MB Notification: Performance of pre-optimization done (n=72): time 2.615e-06/0.5256, allocations: 0 / 0.5117 GB, free: 82.53 MB / 378.7 MB Notification: Performance of matching and sorting (n=72): time 0.002444/0.528, allocations: 1.18 MB / 0.5128 GB, free: 82.26 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.202e-05/0.5281, allocations: 117.5 kB / 0.5129 GB, free: 82.13 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002626/0.5283, allocations: 280 kB / 0.5132 GB, free: 82.02 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.804e-05/0.5284, allocations: 40.67 kB / 0.5132 GB, free: 81.98 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/0.5285, allocations: 287.2 kB / 0.5135 GB, free: 81.82 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001138/0.5286, allocations: 246.5 kB / 0.5138 GB, free: 81.69 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.801e-05/0.5287, allocations: 14.53 kB / 0.5138 GB, free: 81.69 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.788e-05/0.5287, allocations: 358.2 kB / 0.5141 GB, free: 81.38 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004222/0.5292, allocations: 236.5 kB / 0.5143 GB, free: 81.37 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004671/0.5296, allocations: 400.5 kB / 0.5147 GB, free: 81.21 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009252/0.5306, allocations: 0.6484 MB / 0.5153 GB, free: 81.06 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.758e-06/0.5306, allocations: 3.688 kB / 0.5154 GB, free: 81.06 MB / 378.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001288/0.5319, allocations: 0.8521 MB / 0.5162 GB, free: 80.95 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.5319, allocations: 7.094 kB / 0.5162 GB, free: 80.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.5319, allocations: 3.125 kB / 0.5162 GB, free: 80.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003355/0.5323, allocations: 124.6 kB / 0.5163 GB, free: 80.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006365/0.5329, allocations: 162 kB / 0.5165 GB, free: 80.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002112/0.535, allocations: 3.421 MB / 0.5198 GB, free: 78.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004544/0.5355, allocations: 90.2 kB / 0.5199 GB, free: 78.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.39e-05/0.5356, allocations: 32.38 kB / 0.5199 GB, free: 78.2 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (86): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 7,(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002345/0.5358, allocations: 207.9 kB / 0.5201 GB, free: 78.07 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.137e-05/0.5359, allocations: 44.28 kB / 0.5202 GB, free: 78.05 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001324/0.5372, allocations: 0.7579 MB / 0.5209 GB, free: 77.96 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.5372, allocations: 7.719 kB / 0.5209 GB, free: 77.96 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.5372, allocations: 4.812 kB / 0.5209 GB, free: 77.96 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.5373, allocations: 3.844 kB / 0.5209 GB, free: 77.96 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002007/0.5393, allocations: 1.52 MB / 0.5224 GB, free: 77.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.5393, allocations: 3.469 kB / 0.5224 GB, free: 77.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004627/0.5398, allocations: 117.6 kB / 0.5225 GB, free: 77.22 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002383/0.54, allocations: 116.7 kB / 0.5226 GB, free: 77.18 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.395e-05/0.54, allocations: 17.19 kB / 0.5226 GB, free: 77.17 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001692/0.5417, allocations: 3.108 MB / 0.5257 GB, free: 74.28 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.5418, allocations: 0 / 0.5257 GB, free: 74.28 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001572/0.5433, allocations: 1.151 MB / 0.5268 GB, free: 73.69 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.372e-05/0.5434, allocations: 129.1 kB / 0.5269 GB, free: 73.56 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.089e-05/0.5435, allocations: 22.81 kB / 0.527 GB, free: 73.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003634/0.5439, allocations: 37.97 kB / 0.527 GB, free: 73.54 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.544, allocations: 49.39 kB / 0.527 GB, free: 73.53 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.203e-05/0.544, allocations: 22.59 kB / 0.5271 GB, free: 73.52 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001406/0.5441, allocations: 194.3 kB / 0.5272 GB, free: 73.41 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.5442, allocations: 0 / 0.5272 GB, free: 73.41 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000731/0.5449, allocations: 232.6 kB / 0.5275 GB, free: 73.36 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (cuboidBottom.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 (60): * Single equations (assignments): 58 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002264/0.5451, allocations: 183.3 kB / 0.5276 GB, free: 73.25 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001289/0.5464, allocations: 0.8953 MB / 0.5285 GB, free: 72.81 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.5464, allocations: 3.938 kB / 0.5285 GB, free: 72.8 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006254/0.5471, allocations: 0.568 MB / 0.5291 GB, free: 72.46 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004331/0.5475, allocations: 45.73 kB / 0.5291 GB, free: 72.43 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001718/0.5492, allocations: 1.377 MB / 0.5305 GB, free: 71.61 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002317/0.5495, allocations: 0.868 MB / 0.5313 GB, free: 70.89 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004136/0.5499, allocations: 78.75 kB / 0.5314 GB, free: 70.87 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001194/0.55, allocations: 47.22 kB / 0.5314 GB, free: 70.86 MB / 378.7 MB Notification: Performance of SimCode: time 4.4e-07/0.55, allocations: 0 / 0.5314 GB, free: 70.86 MB / 378.7 MB Notification: Performance of Templates: time 0.008811/0.5589, allocations: 5.721 MB / 0.537 GB, free: 69.68 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CuboidSections/CuboidSections.csv","../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches