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.00115/0.00115, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.409/1.409, allocations: 225.4 MB / 240.1 MB, free: 15.12 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008073/0.0008073, allocations: 93.27 kB / 292.1 MB, free: 5.949 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.331e-05/2.334e-05, allocations: 4.219 kB / 350.6 MB, free: 2.527 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08276/0.0828, allocations: 51.49 MB / 402 MB, free: 14.99 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2796/0.3624, allocations: 83.37 MB / 485.4 MB, free: 6.141 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001843/0.3626, allocations: 88.72 kB / 485.5 MB, free: 6.094 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0488/0.4115, allocations: 22.01 MB / 0.4956 GB, free: 1.547 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.4115, allocations: 4 kB / 0.4956 GB, free: 1.543 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.52e-05/0.4115, allocations: 8 kB / 0.4956 GB, free: 1.535 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.002724/0.4142, allocations: 0.9819 MB / 0.4966 GB, free: 0.5156 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.4143, allocations: 12.02 kB / 0.4966 GB, free: 0.5039 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001307/0.4156, allocations: 207 kB / 0.4968 GB, free: 308 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002074/0.4158, allocations: 242.1 kB / 0.497 GB, free: 24 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.727e-05/0.4159, allocations: 54.94 kB / 0.4971 GB, free: 15.97 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001427/0.416, allocations: 72 kB / 0.4971 GB, free: 15.9 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001217/0.4173, allocations: 0.7306 MB / 0.4979 GB, free: 15.15 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.269e-05/0.4173, allocations: 0 / 0.4979 GB, free: 15.15 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.82e-05/0.4174, allocations: 35.98 kB / 0.4979 GB, free: 15.12 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.659e-05/0.4174, allocations: 20 kB / 0.4979 GB, free: 15.1 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001057/0.4185, allocations: 0.6104 MB / 0.4985 GB, free: 14.48 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004093/0.4226, allocations: 3.318 MB / 0.5017 GB, free: 10.88 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001935/0.4245, allocations: 2.037 MB / 0.5037 GB, free: 8.535 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000452/0.425, allocations: 295.2 kB / 0.504 GB, free: 8.246 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001551/0.4251, allocations: 186.9 kB / 0.5042 GB, free: 8.023 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.4252, allocations: 43.34 kB / 0.5042 GB, free: 7.973 MB / 378.7 MB Notification: Performance of pre-optimization done (n=72): time 2.214e-06/0.4252, allocations: 0 / 0.5042 GB, free: 7.973 MB / 378.7 MB Notification: Performance of matching and sorting (n=72): time 0.001102/0.4263, allocations: 0.5911 MB / 0.5048 GB, free: 7.371 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.333e-05/0.4264, allocations: 111.6 kB / 0.5049 GB, free: 7.234 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002271/0.4266, allocations: 246.7 kB / 0.5052 GB, free: 6.992 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.135e-05/0.4266, allocations: 45.64 kB / 0.5052 GB, free: 6.941 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001641/0.4268, allocations: 291.5 kB / 0.5055 GB, free: 6.652 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001602/0.427, allocations: 248.4 kB / 0.5057 GB, free: 6.406 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.252e-05/0.427, allocations: 13.31 kB / 0.5057 GB, free: 6.395 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.4272, allocations: 350.8 kB / 0.5061 GB, free: 6.043 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003507/0.4275, allocations: 202 kB / 0.5063 GB, free: 5.844 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000408/0.4279, allocations: 350.2 kB / 0.5066 GB, free: 5.445 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004058/0.4283, allocations: 258 kB / 0.5068 GB, free: 5.191 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.4284, allocations: 0 / 0.5068 GB, free: 5.191 MB / 378.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001177/0.4295, allocations: 0.7667 MB / 0.5076 GB, free: 4.41 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.4296, allocations: 8 kB / 0.5076 GB, free: 4.402 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.4296, allocations: 4 kB / 0.5076 GB, free: 4.398 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003535/0.4299, allocations: 121.8 kB / 0.5077 GB, free: 4.273 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006519/0.4306, allocations: 159.8 kB / 0.5079 GB, free: 4.117 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002759/0.4334, allocations: 3.412 MB / 0.5112 GB, free: 452 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000481/0.4339, allocations: 95.09 kB / 0.5113 GB, free: 356 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.496e-05/0.4339, allocations: 36.2 kB / 0.5113 GB, free: 320 kB / 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 () * 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.000144/0.4341, allocations: 144.9 kB / 0.5115 GB, free: 168 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.4342, allocations: 51.42 kB / 0.5115 GB, free: 116 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001215/0.4354, allocations: 0.6858 MB / 0.5122 GB, free: 15.41 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/0.4354, allocations: 14.61 kB / 0.5122 GB, free: 15.4 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.4355, allocations: 4 kB / 0.5122 GB, free: 15.39 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.4355, allocations: 4 kB / 0.5122 GB, free: 15.39 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002033/0.4375, allocations: 1.449 MB / 0.5136 GB, free: 13.88 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.4375, allocations: 0 / 0.5136 GB, free: 13.88 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004962/0.438, allocations: 115.9 kB / 0.5137 GB, free: 13.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003044/0.4383, allocations: 117.6 kB / 0.5138 GB, free: 13.65 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.282e-05/0.4384, allocations: 16 kB / 0.5139 GB, free: 13.63 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002381/0.4408, allocations: 3.091 MB / 0.5169 GB, free: 10.28 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.4408, allocations: 3.953 kB / 0.5169 GB, free: 10.27 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001483/0.4423, allocations: 1.056 MB / 0.5179 GB, free: 9.191 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.4424, allocations: 128.4 kB / 0.518 GB, free: 9.047 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.362e-05/0.4425, allocations: 12 kB / 0.518 GB, free: 9.035 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003976/0.4429, allocations: 39.97 kB / 0.5181 GB, free: 8.996 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/0.443, allocations: 52.77 kB / 0.5181 GB, free: 8.945 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.438e-05/0.443, allocations: 20 kB / 0.5181 GB, free: 8.926 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001757/0.4432, allocations: 195.1 kB / 0.5183 GB, free: 8.734 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4432, allocations: 0 / 0.5183 GB, free: 8.734 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007343/0.444, allocations: 223.5 kB / 0.5185 GB, free: 8.516 MB / 394.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 () * 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.0002899/0.4443, allocations: 179.1 kB / 0.5187 GB, free: 8.332 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001318/0.4456, allocations: 0.8293 MB / 0.5195 GB, free: 7.477 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4456, allocations: 1 kB / 0.5195 GB, free: 7.477 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006275/0.4462, allocations: 0.5328 MB / 0.52 GB, free: 6.914 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002712/0.4465, allocations: 31.17 kB / 0.5201 GB, free: 6.887 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001612/0.4481, allocations: 0.8231 MB / 0.5209 GB, free: 6.043 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004135/0.4486, allocations: 0.8849 MB / 0.5217 GB, free: 5.133 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004056/0.449, allocations: 80.36 kB / 0.5218 GB, free: 5.051 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001339/0.4491, allocations: 47.42 kB / 0.5219 GB, free: 5.004 MB / 394.7 MB Notification: Performance of SimCode: time 3.61e-07/0.4491, allocations: 0 / 0.5219 GB, free: 5.004 MB / 394.7 MB Notification: Performance of Templates: time 0.01079/0.4599, allocations: 5.825 MB / 0.5276 GB, free: 15.27 MB / 410.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/jenkins/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