Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001571/0.001571, allocations: 183.8 kB / 18.04 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.371/1.371, allocations: 205.4 MB / 224.2 MB, free: 9.031 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.0007961/0.000796, allocations: 82.44 kB / 272.5 MB, free: 8.258 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003603/0.0003606, allocations: 8 kB / 329.5 MB, free: 15.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.255/0.2554, allocations: 47.57 MB / 377 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09937/0.3548, allocations: 81.62 MB / 458.7 MB, free: 14.93 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002546/0.3551, allocations: 87.94 kB / 458.7 MB, free: 14.84 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04904/0.4042, allocations: 20.64 MB / 479.4 MB, free: 9.941 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.4042, allocations: 0 / 479.4 MB, free: 9.941 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.906e-05/0.4042, allocations: 12 kB / 479.4 MB, free: 9.93 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.002821/0.4071, allocations: 0.9911 MB / 480.4 MB, free: 8.887 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.4071, allocations: 8.031 kB / 480.4 MB, free: 8.879 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001344/0.4085, allocations: 211.9 kB / 480.6 MB, free: 8.672 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002274/0.4087, allocations: 245 kB / 480.8 MB, free: 8.395 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.961e-05/0.4088, allocations: 62.31 kB / 480.9 MB, free: 8.332 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001571/0.409, allocations: 72.38 kB / 481 MB, free: 8.262 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00148/0.4105, allocations: 0.7752 MB / 481.7 MB, free: 7.473 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.857e-05/0.4105, allocations: 192 / 481.7 MB, free: 7.473 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.951e-05/0.4106, allocations: 35.94 kB / 481.8 MB, free: 7.438 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.587e-05/0.4106, allocations: 16 kB / 481.8 MB, free: 7.422 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001385/0.412, allocations: 0.7039 MB / 482.5 MB, free: 6.715 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004303/0.4163, allocations: 3.135 MB / 485.6 MB, free: 3.324 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002234/0.4186, allocations: 2.094 MB / 487.7 MB, free: 0.9297 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006107/0.4192, allocations: 328.2 kB / 488 MB, free: 0.6055 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001003/0.4193, allocations: 93.75 kB / 488.1 MB, free: 0.4961 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.4194, allocations: 43.5 kB / 488.2 MB, free: 456 kB / 362.7 MB Notification: Performance of pre-optimization done (n=72): time 3.967e-06/0.4194, allocations: 0 / 488.2 MB, free: 456 kB / 362.7 MB Notification: Performance of matching and sorting (n=72): time 0.002589/0.422, allocations: 1.188 MB / 489.4 MB, free: 15.21 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.561e-05/0.422, allocations: 111.5 kB / 489.5 MB, free: 15.07 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002823/0.4223, allocations: 278.5 kB / 489.8 MB, free: 14.79 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.188e-05/0.4224, allocations: 37.7 kB / 489.8 MB, free: 14.75 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001678/0.4225, allocations: 291.4 kB / 490.1 MB, free: 14.46 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000172/0.4227, allocations: 252.4 kB / 490.3 MB, free: 14.21 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.299e-05/0.4228, allocations: 12.22 kB / 490.3 MB, free: 14.2 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.4229, allocations: 358.7 kB / 490.7 MB, free: 13.84 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005021/0.4234, allocations: 245.8 kB / 490.9 MB, free: 13.59 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005828/0.424, allocations: 390.3 kB / 491.3 MB, free: 13.16 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001129/0.4251, allocations: 0.6532 MB / 492 MB, free: 12.46 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.682e-06/0.4252, allocations: 4 kB / 492 MB, free: 12.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001598/0.4268, allocations: 0.8424 MB / 492.8 MB, free: 11.59 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.4268, allocations: 12 kB / 492.8 MB, free: 11.58 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.547e-05/0.4268, allocations: 8 kB / 492.8 MB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000394/0.4272, allocations: 121.6 kB / 492.9 MB, free: 11.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006435/0.4279, allocations: 171.7 kB / 493.1 MB, free: 11.28 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002983/0.4309, allocations: 3.408 MB / 496.5 MB, free: 7.609 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005313/0.4314, allocations: 103.1 kB / 496.6 MB, free: 7.508 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-05/0.4315, allocations: 32 kB / 496.6 MB, free: 7.477 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.0002983/0.4318, allocations: 201.6 kB / 496.8 MB, free: 7.27 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.4319, allocations: 39.53 kB / 496.9 MB, free: 7.23 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00158/0.4335, allocations: 0.7726 MB / 497.7 MB, free: 6.445 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.084e-06/0.4335, allocations: 4 kB / 497.7 MB, free: 6.441 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.4335, allocations: 4 kB / 497.7 MB, free: 6.438 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.4336, allocations: 3.984 kB / 497.7 MB, free: 6.434 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002511/0.4361, allocations: 1.52 MB / 499.2 MB, free: 4.848 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.4361, allocations: 0 / 499.2 MB, free: 4.848 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005153/0.4366, allocations: 123.8 kB / 499.3 MB, free: 4.727 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002881/0.4369, allocations: 113.6 kB / 499.4 MB, free: 4.609 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.693e-05/0.437, allocations: 12 kB / 499.4 MB, free: 4.598 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002413/0.4394, allocations: 3.105 MB / 0.4908 GB, free: 1.227 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.4394, allocations: 3.938 kB / 0.4908 GB, free: 1.223 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001864/0.4413, allocations: 1.152 MB / 0.4919 GB, free: 48 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.1788/0.6201, allocations: 118.6 kB / 0.492 GB, free: 101.3 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002077/0.6204, allocations: 14.33 kB / 0.492 GB, free: 101.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006344/0.621, allocations: 33.67 kB / 0.492 GB, free: 101.3 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002461/0.6213, allocations: 51.16 kB / 0.4921 GB, free: 101.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.562e-05/0.6214, allocations: 21.05 kB / 0.4921 GB, free: 101.3 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003518/0.6217, allocations: 193.7 kB / 0.4923 GB, free: 101.2 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6217, allocations: 2.531 kB / 0.4923 GB, free: 101.2 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001326/0.6231, allocations: 223.6 kB / 0.4925 GB, free: 101.2 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.0004132/0.6235, allocations: 153 kB / 0.4927 GB, free: 101.2 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002355/0.6259, allocations: 0.9029 MB / 0.4935 GB, free: 100.9 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.6259, allocations: 2.875 kB / 0.4935 GB, free: 100.9 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009623/0.6268, allocations: 0.5699 MB / 0.4941 GB, free: 100.7 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005984/0.6275, allocations: 46.61 kB / 0.4941 GB, free: 100.7 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002656/0.6301, allocations: 1.372 MB / 0.4955 GB, free: 100.1 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004299/0.6306, allocations: 0.8666 MB / 0.4963 GB, free: 99.39 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004864/0.6311, allocations: 86.12 kB / 0.4964 GB, free: 99.39 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001416/0.6312, allocations: 43.64 kB / 0.4965 GB, free: 99.38 MB / 378.7 MB Notification: Performance of SimCode: time 6.61e-07/0.6312, allocations: 0 / 0.4965 GB, free: 99.38 MB / 378.7 MB Notification: Performance of Templates: time 0.01274/0.644, allocations: 5.648 MB / 0.502 GB, free: 99.12 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches