Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002586/0.002586, allocations: 179.9 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 223.2 MB / 240.3 MB, free: 10.17 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 99.08 kB / 291.5 MB, free: 10.71 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003109/0.000311, allocations: 4 kB / 351.1 MB, free: 15.12 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2039/0.2042, allocations: 50.41 MB / 401.5 MB, free: 32.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09708/0.3013, allocations: 82.56 MB / 484.1 MB, free: 13.91 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002354/0.3016, allocations: 87.95 kB / 484.2 MB, free: 13.82 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04613/0.3478, allocations: 20.82 MB / 0.4931 GB, free: 8.73 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.3478, allocations: 3.938 kB / 0.4932 GB, free: 8.727 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.56e-05/0.3478, allocations: 12 kB / 0.4932 GB, free: 8.715 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.002554/0.3504, allocations: 0.9949 MB / 0.4941 GB, free: 7.668 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.3504, allocations: 8.031 kB / 0.4941 GB, free: 7.66 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001324/0.3518, allocations: 214.9 kB / 0.4943 GB, free: 7.449 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000222/0.352, allocations: 244.4 kB / 0.4946 GB, free: 7.172 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.381e-05/0.3521, allocations: 54 kB / 0.4946 GB, free: 7.121 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000121/0.3522, allocations: 75.94 kB / 0.4947 GB, free: 7.047 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001267/0.3535, allocations: 0.766 MB / 0.4955 GB, free: 6.262 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.473e-05/0.3535, allocations: 4 kB / 0.4955 GB, free: 6.258 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.449e-05/0.3536, allocations: 28 kB / 0.4955 GB, free: 6.23 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.277e-05/0.3536, allocations: 23.95 kB / 0.4955 GB, free: 6.207 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001363/0.355, allocations: 0.696 MB / 0.4962 GB, free: 5.512 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004144/0.3591, allocations: 3.142 MB / 0.4993 GB, free: 2.113 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1931/0.5522, allocations: 2.076 MB / 0.5013 GB, free: 89.54 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001595/0.5524, allocations: 99.02 kB / 0.5014 GB, free: 89.45 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.5525, allocations: 40.17 kB / 0.5014 GB, free: 89.41 MB / 378.7 MB Notification: Performance of pre-optimization done (n=72): time 2.976e-06/0.5525, allocations: 0.5 kB / 0.5014 GB, free: 89.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=72): time 0.002817/0.5553, allocations: 1.16 MB / 0.5025 GB, free: 89.15 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.203e-05/0.5554, allocations: 112.7 kB / 0.5027 GB, free: 89.03 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002772/0.5557, allocations: 243.5 kB / 0.5029 GB, free: 88.94 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.829e-05/0.5557, allocations: 38.39 kB / 0.5029 GB, free: 88.91 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001466/0.5559, allocations: 295.6 kB / 0.5032 GB, free: 88.74 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001468/0.556, allocations: 239.5 kB / 0.5034 GB, free: 88.62 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.208e-05/0.5561, allocations: 21.22 kB / 0.5035 GB, free: 88.62 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.67e-05/0.5561, allocations: 353.7 kB / 0.5038 GB, free: 88.3 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004906/0.5566, allocations: 240.7 kB / 0.504 GB, free: 88.3 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005769/0.5572, allocations: 397 kB / 0.5044 GB, free: 88.15 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005351/0.5578, allocations: 298.2 kB / 0.5047 GB, free: 88.14 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.5578, allocations: 1.375 kB / 0.5047 GB, free: 88.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001646/0.5594, allocations: 0.8437 MB / 0.5055 GB, free: 88.04 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.5595, allocations: 12.62 kB / 0.5055 GB, free: 88.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.5595, allocations: 4.75 kB / 0.5055 GB, free: 88.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000365/0.5598, allocations: 118.7 kB / 0.5056 GB, free: 88.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007566/0.5606, allocations: 165.6 kB / 0.5058 GB, free: 88.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001987/0.5626, allocations: 3.166 MB / 0.5089 GB, free: 85.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004895/0.5631, allocations: 93.28 kB / 0.509 GB, free: 85.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.546e-05/0.5632, allocations: 33.55 kB / 0.509 GB, free: 85.48 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.0002253/0.5634, allocations: 205.1 kB / 0.5092 GB, free: 85.37 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.262e-05/0.5635, allocations: 45.47 kB / 0.5092 GB, free: 85.35 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00131/0.5648, allocations: 0.7678 MB / 0.51 GB, free: 85.26 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.5648, allocations: 6.844 kB / 0.51 GB, free: 85.26 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.5648, allocations: 3.406 kB / 0.51 GB, free: 85.26 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.5648, allocations: 6.641 kB / 0.51 GB, free: 85.26 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001887/0.5667, allocations: 1.456 MB / 0.5114 GB, free: 84.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.5667, allocations: 0 / 0.5114 GB, free: 84.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000487/0.5672, allocations: 118.2 kB / 0.5115 GB, free: 84.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002262/0.5675, allocations: 111 kB / 0.5117 GB, free: 84.88 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.465e-05/0.5675, allocations: 15.53 kB / 0.5117 GB, free: 84.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00172/0.5692, allocations: 3.15 MB / 0.5147 GB, free: 82.34 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.5693, allocations: 6.875 kB / 0.5148 GB, free: 82.34 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00162/0.5709, allocations: 1.175 MB / 0.5159 GB, free: 82.04 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.276e-05/0.571, allocations: 126.8 kB / 0.516 GB, free: 81.91 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.139e-05/0.571, allocations: 19.11 kB / 0.516 GB, free: 81.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003837/0.5714, allocations: 35.92 kB / 0.5161 GB, free: 81.91 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.598e-05/0.5715, allocations: 53.38 kB / 0.5161 GB, free: 81.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.114e-05/0.5716, allocations: 17.62 kB / 0.5161 GB, free: 81.91 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001305/0.5717, allocations: 196.4 kB / 0.5163 GB, free: 81.82 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5717, allocations: 0 / 0.5163 GB, free: 81.82 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007099/0.5724, allocations: 216.4 kB / 0.5165 GB, free: 81.8 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.0003096/0.5727, allocations: 170.3 kB / 0.5167 GB, free: 81.7 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001522/0.5743, allocations: 0.8973 MB / 0.5176 GB, free: 81.46 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.5743, allocations: 5.531 kB / 0.5176 GB, free: 81.45 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000683/0.575, allocations: 0.5681 MB / 0.5181 GB, free: 81.22 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003347/0.5753, allocations: 32.75 kB / 0.5182 GB, free: 81.21 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001755/0.5771, allocations: 1.361 MB / 0.5195 GB, free: 80.52 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002544/0.5774, allocations: 0.8848 MB / 0.5204 GB, free: 79.8 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003771/0.5777, allocations: 84.67 kB / 0.5204 GB, free: 79.78 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001294/0.5779, allocations: 46.83 kB / 0.5205 GB, free: 79.77 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.5779, allocations: 3.062 kB / 0.5205 GB, free: 79.77 MB / 378.7 MB Notification: Performance of Templates: time 0.00912/0.587, allocations: 5.575 MB / 0.5259 GB, free: 79.48 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches