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.001649/0.001649, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.408/1.408, allocations: 225.6 MB / 234.8 MB, free: 3.285 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008098/0.0008099, allocations: 96.48 kB / 286.7 MB, free: 5.285 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.487e-05/1.493e-05, allocations: 4 kB / 343.7 MB, free: 8.273 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09064/0.09067, allocations: 51.48 MB / 395.2 MB, free: 4.754 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3087/0.3994, allocations: 83.78 MB / 479 MB, free: 9.469 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000263/0.3997, allocations: 82.02 kB / 479 MB, free: 9.426 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04418/0.4439, allocations: 20.53 MB / 499.6 MB, free: 9.129 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.542e-06/0.4439, allocations: 4 kB / 499.6 MB, free: 9.125 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.763e-05/0.444, allocations: 8 kB / 499.6 MB, free: 9.117 MB / 362.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.003018/0.447, allocations: 0.9594 MB / 0.4888 GB, free: 8.195 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.447, allocations: 8.031 kB / 0.4888 GB, free: 8.188 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00122/0.4483, allocations: 190 kB / 0.489 GB, free: 8.023 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000283/0.4486, allocations: 230.9 kB / 0.4892 GB, free: 7.754 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.049e-05/0.4486, allocations: 20.86 kB / 0.4892 GB, free: 7.734 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001575/0.4488, allocations: 40 kB / 0.4893 GB, free: 7.695 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009777/0.4498, allocations: 0.5184 MB / 0.4898 GB, free: 7.367 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000988/0.4508, allocations: 0.565 MB / 0.4903 GB, free: 6.945 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.395e-05/0.4508, allocations: 0 / 0.4903 GB, free: 6.945 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.119e-05/0.4509, allocations: 0 / 0.4903 GB, free: 6.945 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.528e-05/0.4509, allocations: 16 kB / 0.4904 GB, free: 6.93 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00327/0.4542, allocations: 2.242 MB / 0.4925 GB, free: 4.902 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001682/0.4559, allocations: 1.604 MB / 0.4941 GB, free: 3.062 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003169/0.4562, allocations: 235.6 kB / 0.4943 GB, free: 2.828 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002152/0.4564, allocations: 182.7 kB / 0.4945 GB, free: 2.613 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.4565, allocations: 39.12 kB / 0.4945 GB, free: 2.566 MB / 362.7 MB Notification: Performance of pre-optimization done (n=66): time 2.064e-06/0.4565, allocations: 0 / 0.4945 GB, free: 2.566 MB / 362.7 MB Notification: Performance of matching and sorting (n=66): time 0.001756/0.4582, allocations: 0.6039 MB / 0.4951 GB, free: 1.957 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.529e-05/0.4583, allocations: 119.3 kB / 0.4952 GB, free: 1.816 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002546/0.4586, allocations: 210.9 kB / 0.4954 GB, free: 1.598 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.717e-05/0.4586, allocations: 29.73 kB / 0.4955 GB, free: 1.562 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001932/0.4588, allocations: 267.9 kB / 0.4957 GB, free: 1.293 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001663/0.459, allocations: 208.8 kB / 0.4959 GB, free: 1.086 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.817e-05/0.459, allocations: 0 / 0.4959 GB, free: 1.086 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.4592, allocations: 346.8 kB / 0.4963 GB, free: 0.7383 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003018/0.4595, allocations: 169.5 kB / 0.4964 GB, free: 0.5703 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003544/0.4599, allocations: 245.9 kB / 0.4967 GB, free: 312 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001292/0.4612, allocations: 400.3 kB / 0.497 GB, free: 15.91 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.768e-06/0.4612, allocations: 0 / 0.497 GB, free: 15.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.00181/0.463, allocations: 0.7144 MB / 0.4977 GB, free: 15.19 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/0.463, allocations: 8 kB / 0.4977 GB, free: 15.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.463, allocations: 0 / 0.4977 GB, free: 15.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/0.4631, allocations: 5.875 kB / 0.4977 GB, free: 15.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007619/0.4638, allocations: 167.7 kB / 0.4979 GB, free: 15.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.577e-05/0.4639, allocations: 7.984 kB / 0.4979 GB, free: 15.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005082/0.4644, allocations: 67.5 kB / 0.498 GB, free: 14.94 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-05/0.4644, allocations: 27.98 kB / 0.498 GB, free: 14.91 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 () * 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.0001385/0.4646, allocations: 114 kB / 0.4981 GB, free: 14.8 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/0.4647, allocations: 35.53 kB / 0.4982 GB, free: 14.76 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001838/0.4665, allocations: 0.6829 MB / 0.4988 GB, free: 14.07 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.4666, allocations: 8 kB / 0.4988 GB, free: 14.07 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.4666, allocations: 0 / 0.4988 GB, free: 14.07 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.4666, allocations: 3.984 kB / 0.4988 GB, free: 14.06 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002644/0.4692, allocations: 1.292 MB / 0.5001 GB, free: 12.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.03e-05/0.4693, allocations: 0 / 0.5001 GB, free: 12.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005638/0.4698, allocations: 131.8 kB / 0.5002 GB, free: 12.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.033e-05/0.4699, allocations: 4 kB / 0.5002 GB, free: 12.59 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.32e-05/0.4699, allocations: 7.953 kB / 0.5002 GB, free: 12.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.4699, allocations: 3.516 kB / 0.5002 GB, free: 12.59 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.4699, allocations: 11.98 kB / 0.5002 GB, free: 12.57 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002039/0.472, allocations: 1.035 MB / 0.5013 GB, free: 11.52 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001228/0.4721, allocations: 128.5 kB / 0.5014 GB, free: 11.37 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.282e-05/0.4722, allocations: 7.141 kB / 0.5014 GB, free: 11.37 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003978/0.4726, allocations: 28.03 kB / 0.5014 GB, free: 11.34 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.149e-05/0.4727, allocations: 40.5 kB / 0.5014 GB, free: 11.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.188e-05/0.4727, allocations: 16 kB / 0.5015 GB, free: 11.29 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001497/0.4729, allocations: 168.5 kB / 0.5016 GB, free: 11.12 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4729, allocations: 0 / 0.5016 GB, free: 11.12 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000592/0.4735, allocations: 175.5 kB / 0.5018 GB, free: 10.95 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 () * 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.0002733/0.4738, allocations: 155 kB / 0.5019 GB, free: 10.79 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007115/0.4745, allocations: 462.2 kB / 0.5024 GB, free: 10.34 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.4745, allocations: 0 / 0.5024 GB, free: 10.34 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003069/0.4748, allocations: 230 kB / 0.5026 GB, free: 10.11 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000307/0.4751, allocations: 25.75 kB / 0.5026 GB, free: 10.09 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001719/0.4768, allocations: 0.7727 MB / 0.5034 GB, free: 9.293 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004056/0.4773, allocations: 0.8536 MB / 0.5042 GB, free: 8.41 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004169/0.4777, allocations: 75.36 kB / 0.5043 GB, free: 8.336 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001432/0.4778, allocations: 43.42 kB / 0.5043 GB, free: 8.293 MB / 378.7 MB Notification: Performance of SimCode: time 1.833e-06/0.4779, allocations: 0 / 0.5043 GB, free: 8.293 MB / 378.7 MB Notification: Performance of Templates: time 0.008675/0.4865, allocations: 4.37 MB / 0.5086 GB, free: 4.008 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