Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_cpp_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_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001025/0.001025, allocations: 198.8 kB / 18.07 MB, free: 3.773 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.305/1.305, allocations: 226.5 MB / 245.4 MB, free: 8.25 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007604/0.0007605, allocations: 103.6 kB / 297.4 MB, free: 6.934 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002249/0.0002249, allocations: 4 kB / 357.4 MB, free: 10.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1976/0.1978, allocations: 51.29 MB / 408.7 MB, free: 27.77 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09292/0.2908, allocations: 83.39 MB / 492.1 MB, free: 8.262 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002695/0.2911, allocations: 91.94 kB / 492.2 MB, free: 8.172 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04865/0.3398, allocations: 22.02 MB / 0.5021 GB, free: 1.895 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3398, allocations: 4 kB / 0.5021 GB, free: 1.891 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.82e-05/0.3398, allocations: 16 kB / 0.5021 GB, free: 1.875 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.002598/0.3424, allocations: 0.995 MB / 0.5031 GB, free: 0.8281 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.3425, allocations: 12.03 kB / 0.5031 GB, free: 0.8164 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001237/0.3437, allocations: 211.9 kB / 0.5033 GB, free: 0.6094 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001967/0.3439, allocations: 249 kB / 0.5036 GB, free: 336 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.636e-05/0.344, allocations: 58.31 kB / 0.5036 GB, free: 276 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001062/0.3441, allocations: 80.36 kB / 0.5037 GB, free: 196 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1935/0.5376, allocations: 0.7721 MB / 0.5044 GB, free: 85.95 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.011e-05/0.5377, allocations: 6.281 kB / 0.5045 GB, free: 85.95 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.936e-05/0.5378, allocations: 32.47 kB / 0.5045 GB, free: 85.95 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.119e-05/0.5378, allocations: 17.78 kB / 0.5045 GB, free: 85.95 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001662/0.5395, allocations: 0.6917 MB / 0.5052 GB, free: 85.94 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005302/0.5448, allocations: 3.308 MB / 0.5084 GB, free: 84.25 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002442/0.5473, allocations: 2.088 MB / 0.5104 GB, free: 82.7 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006859/0.548, allocations: 331.1 kB / 0.5108 GB, free: 82.68 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001709/0.5482, allocations: 184.6 kB / 0.5109 GB, free: 82.49 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.196e-05/0.5482, allocations: 38.41 kB / 0.511 GB, free: 82.45 MB / 378.7 MB Notification: Performance of pre-optimization done (n=72): time 2.896e-06/0.5482, allocations: 0.5 kB / 0.511 GB, free: 82.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=72): time 0.002866/0.5511, allocations: 1.183 MB / 0.5121 GB, free: 82.18 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.002e-05/0.5512, allocations: 110.2 kB / 0.5122 GB, free: 82.05 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002882/0.5515, allocations: 279 kB / 0.5125 GB, free: 81.93 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.31e-05/0.5515, allocations: 40.39 kB / 0.5125 GB, free: 81.9 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00015/0.5517, allocations: 294.2 kB / 0.5128 GB, free: 81.73 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001482/0.5518, allocations: 252.6 kB / 0.5131 GB, free: 81.61 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.773e-05/0.5519, allocations: 15.75 kB / 0.5131 GB, free: 81.61 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.02e-05/0.552, allocations: 346.5 kB / 0.5134 GB, free: 81.3 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000445/0.5524, allocations: 243.4 kB / 0.5136 GB, free: 81.29 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005122/0.5529, allocations: 395.2 kB / 0.514 GB, free: 81.14 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009697/0.5539, allocations: 0.652 MB / 0.5147 GB, free: 80.98 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.5539, allocations: 3 kB / 0.5147 GB, free: 80.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001406/0.5553, allocations: 0.8496 MB / 0.5155 GB, free: 80.87 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.5554, allocations: 7.531 kB / 0.5155 GB, free: 80.87 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.5554, allocations: 7.875 kB / 0.5155 GB, free: 80.87 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003772/0.5558, allocations: 121.8 kB / 0.5156 GB, free: 80.85 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000595/0.5564, allocations: 166.2 kB / 0.5158 GB, free: 80.85 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002304/0.5587, allocations: 3.408 MB / 0.5191 GB, free: 78.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004872/0.5592, allocations: 98.39 kB / 0.5192 GB, free: 78.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.175e-05/0.5593, allocations: 40.72 kB / 0.5192 GB, free: 78.11 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.0002608/0.5595, allocations: 191.1 kB / 0.5194 GB, free: 78 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.095e-05/0.5596, allocations: 45.62 kB / 0.5195 GB, free: 77.98 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001376/0.561, allocations: 0.7648 MB / 0.5202 GB, free: 77.88 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.561, allocations: 11.62 kB / 0.5202 GB, free: 77.88 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.561, allocations: 3.875 kB / 0.5202 GB, free: 77.88 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.561, allocations: 4.203 kB / 0.5202 GB, free: 77.88 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002053/0.5631, allocations: 1.519 MB / 0.5217 GB, free: 77.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.5631, allocations: 3.375 kB / 0.5217 GB, free: 77.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004621/0.5636, allocations: 117.3 kB / 0.5218 GB, free: 77.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002501/0.5638, allocations: 107.8 kB / 0.5219 GB, free: 77.21 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.595e-05/0.5639, allocations: 21.69 kB / 0.5219 GB, free: 77.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001736/0.5656, allocations: 3.123 MB / 0.525 GB, free: 74.3 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.5656, allocations: 0 / 0.525 GB, free: 74.3 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001618/0.5673, allocations: 1.147 MB / 0.5261 GB, free: 73.71 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.907e-05/0.5674, allocations: 130.2 kB / 0.5262 GB, free: 73.58 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.311e-05/0.5674, allocations: 14.52 kB / 0.5263 GB, free: 73.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003587/0.5678, allocations: 33.67 kB / 0.5263 GB, free: 73.57 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/0.5679, allocations: 52.61 kB / 0.5263 GB, free: 73.56 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.569e-05/0.5679, allocations: 24.61 kB / 0.5264 GB, free: 73.55 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001634/0.5681, allocations: 194.1 kB / 0.5265 GB, free: 73.43 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5681, allocations: 4 kB / 0.5265 GB, free: 73.43 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007789/0.5689, allocations: 234.9 kB / 0.5268 GB, free: 73.38 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.0002432/0.5692, allocations: 174.8 kB / 0.5269 GB, free: 73.27 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001406/0.5706, allocations: 0.9014 MB / 0.5278 GB, free: 72.83 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.5706, allocations: 0 / 0.5278 GB, free: 72.83 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006619/0.5713, allocations: 0.5704 MB / 0.5284 GB, free: 72.48 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004437/0.5717, allocations: 38.81 kB / 0.5284 GB, free: 72.46 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001866/0.5736, allocations: 1.405 MB / 0.5298 GB, free: 71.6 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002608/0.5739, allocations: 0.8667 MB / 0.5306 GB, free: 70.89 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001838/0.5741, allocations: 55.89 kB / 0.5307 GB, free: 70.88 MB / 378.7 MB Notification: Performance of SimCode: time 1.422e-06/0.5741, allocations: 0 / 0.5307 GB, free: 70.88 MB / 378.7 MB Notification: Performance of Templates: time 0.01175/0.5858, allocations: 11.5 MB / 0.5419 GB, free: 65.55 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.makefile (rm -f Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & ./Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches