Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00207/0.002069, allocations: 186.3 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.09/2.09, allocations: 205.4 MB / 222.5 MB, free: 9.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001141/0.001141, allocations: 95.48 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003764/0.0003765, allocations: 8 kB / 327 MB, free: 196 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.3321, allocations: 47.56 MB / 374.5 MB, free: 45.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1292/0.4614, allocations: 81.56 MB / 456.1 MB, free: 15.21 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003355/0.4618, allocations: 91.94 kB / 456.2 MB, free: 15.12 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0782/0.54, allocations: 20.68 MB / 476.9 MB, free: 10.19 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.364e-06/0.5401, allocations: 0 / 476.9 MB, free: 10.19 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.21e-05/0.5401, allocations: 12 kB / 476.9 MB, free: 10.18 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.004499/0.5446, allocations: 0.9948 MB / 477.9 MB, free: 9.133 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/0.5447, allocations: 8.031 kB / 477.9 MB, free: 9.125 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002158/0.5469, allocations: 211 kB / 478.1 MB, free: 8.918 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003339/0.5472, allocations: 242.2 kB / 478.3 MB, free: 8.645 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.654e-05/0.5473, allocations: 54 kB / 478.4 MB, free: 8.594 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002192/0.5475, allocations: 79.95 kB / 478.5 MB, free: 8.516 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00228/0.5498, allocations: 0.7668 MB / 479.2 MB, free: 7.73 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.377e-05/0.5499, allocations: 4 kB / 479.2 MB, free: 7.727 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001143/0.55, allocations: 35.94 kB / 479.3 MB, free: 7.691 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.657e-05/0.5501, allocations: 20 kB / 479.3 MB, free: 7.672 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002465/0.5525, allocations: 0.6922 MB / 480 MB, free: 6.98 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007097/0.5597, allocations: 3.147 MB / 483.1 MB, free: 3.574 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003695/0.5634, allocations: 2.083 MB / 485.2 MB, free: 1.191 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002148/0.5637, allocations: 101.9 kB / 485.3 MB, free: 1.074 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.723e-05/0.5638, allocations: 43.22 kB / 485.3 MB, free: 1.023 MB / 362.7 MB Notification: Performance of pre-optimization done (n=72): time 3.627e-06/0.5638, allocations: 3.938 kB / 485.3 MB, free: 1.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=72): time 0.004538/0.5683, allocations: 1.147 MB / 486.5 MB, free: 15.83 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.645e-05/0.5685, allocations: 111.5 kB / 486.6 MB, free: 15.7 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000426/0.5689, allocations: 249.6 kB / 486.8 MB, free: 15.45 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.319e-05/0.569, allocations: 41.64 kB / 486.9 MB, free: 15.4 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002405/0.5692, allocations: 357.8 kB / 487.2 MB, free: 15.05 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002754/0.5695, allocations: 252.4 kB / 487.5 MB, free: 14.8 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.117e-05/0.5696, allocations: 12 kB / 487.5 MB, free: 14.79 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.5698, allocations: 338.8 kB / 487.8 MB, free: 14.45 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009828/0.5707, allocations: 249.9 kB / 488.1 MB, free: 14.2 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001062/0.5718, allocations: 386.3 kB / 488.4 MB, free: 13.77 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001041/0.5729, allocations: 302.9 kB / 488.7 MB, free: 13.48 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/0.5729, allocations: 0 / 488.7 MB, free: 13.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002854/0.5758, allocations: 0.8347 MB / 489.6 MB, free: 12.62 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.591e-05/0.5759, allocations: 11.95 kB / 489.6 MB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.556e-05/0.5759, allocations: 4 kB / 489.6 MB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000605/0.5765, allocations: 117.6 kB / 489.7 MB, free: 12.49 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001356/0.5779, allocations: 167.8 kB / 489.9 MB, free: 12.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00397/0.5819, allocations: 3.163 MB / 493 MB, free: 8.895 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001043/0.583, allocations: 95.11 kB / 493.1 MB, free: 8.801 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.743e-05/0.5831, allocations: 39.98 kB / 493.2 MB, free: 8.762 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 (88): * Single equations (assignments): 86 * 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 prepare postOptimizeDAE: time 0.0004277/0.5835, allocations: 189.7 kB / 493.4 MB, free: 8.566 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001494/0.5837, allocations: 47.48 kB / 493.4 MB, free: 8.52 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002764/0.5865, allocations: 0.7609 MB / 494.2 MB, free: 7.746 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.214e-05/0.5865, allocations: 8 kB / 494.2 MB, free: 7.738 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.278e-06/0.5865, allocations: 4 kB / 494.2 MB, free: 7.734 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.258e-05/0.5865, allocations: 3.984 kB / 494.2 MB, free: 7.73 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004061/0.5906, allocations: 1.464 MB / 495.6 MB, free: 6.203 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.217e-06/0.5907, allocations: 0 / 495.6 MB, free: 6.203 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001021/0.5917, allocations: 119.8 kB / 495.8 MB, free: 6.086 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005109/0.5922, allocations: 105.6 kB / 495.9 MB, free: 5.977 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.024e-05/0.5923, allocations: 12 kB / 495.9 MB, free: 5.965 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003814/0.5961, allocations: 3.156 MB / 499 MB, free: 2.535 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.5962, allocations: 0 / 499 MB, free: 2.535 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003613/0.5998, allocations: 1.169 MB / 0.4885 GB, free: 1.34 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002068/0.6001, allocations: 136.3 kB / 0.4886 GB, free: 1.188 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/0.6002, allocations: 15.94 kB / 0.4886 GB, free: 1.172 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007122/0.6009, allocations: 36.05 kB / 0.4887 GB, free: 1.137 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001879/0.6011, allocations: 52.58 kB / 0.4887 GB, free: 1.082 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.189e-05/0.6012, allocations: 19.98 kB / 0.4887 GB, free: 1.062 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002961/0.6015, allocations: 190 kB / 0.4889 GB, free: 0.8789 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.6015, allocations: 0 / 0.4889 GB, free: 0.8789 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001053/0.6026, allocations: 223.5 kB / 0.4891 GB, free: 0.6602 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.000357/0.603, allocations: 167 kB / 0.4893 GB, free: 500 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.2595/0.8625, allocations: 0.8882 MB / 0.4901 GB, free: 101.4 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/0.8625, allocations: 0.625 kB / 0.4901 GB, free: 101.4 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001651/0.8642, allocations: 0.5786 MB / 0.4907 GB, free: 101.1 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004737/0.8647, allocations: 26.28 kB / 0.4907 GB, free: 101.1 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003373/0.8681, allocations: 1.399 MB / 0.4921 GB, free: 100.5 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000413/0.8685, allocations: 0.8805 MB / 0.493 GB, free: 99.79 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003618/0.8689, allocations: 51.19 kB / 0.493 GB, free: 99.78 MB / 378.7 MB Notification: Performance of SimCode: time 1.102e-06/0.8689, allocations: 1.156 kB / 0.493 GB, free: 99.78 MB / 378.7 MB Notification: Performance of Templates: time 0.01995/0.8889, allocations: 11.04 MB / 0.5038 GB, free: 99.43 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CuboidSections/CuboidSections.csv","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches