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.0009115/0.0009113, allocations: 181.5 kB / 17.41 MB, free: 4.383 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.269/1.269, allocations: 205.4 MB / 223.6 MB, free: 9.023 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.0007643/0.0007643, allocations: 89.42 kB / 271.9 MB, free: 8.262 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002794/0.0002795, allocations: 12 kB / 328.2 MB, free: 15.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2093/0.2096, allocations: 47.56 MB / 375.7 MB, free: 45.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09048/0.3002, allocations: 81.63 MB / 457.4 MB, free: 15 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002463/0.3005, allocations: 91.95 kB / 457.4 MB, free: 14.91 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04848/0.349, allocations: 20.63 MB / 478.1 MB, free: 10.02 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.349, allocations: 3.938 kB / 478.1 MB, free: 10.02 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.412e-05/0.349, allocations: 12 kB / 478.1 MB, free: 10.01 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.002954/0.352, allocations: 0.9911 MB / 479.1 MB, free: 8.965 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.352, allocations: 8.031 kB / 479.1 MB, free: 8.957 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001372/0.3534, allocations: 211.9 kB / 479.3 MB, free: 8.75 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002647/0.3537, allocations: 243.5 kB / 479.5 MB, free: 8.477 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.135e-05/0.3538, allocations: 54.38 kB / 479.6 MB, free: 8.422 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000192/0.354, allocations: 76.31 kB / 479.7 MB, free: 8.348 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001572/0.3556, allocations: 0.7791 MB / 480.4 MB, free: 7.555 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.971e-05/0.3556, allocations: 4.172 kB / 480.4 MB, free: 7.551 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.673e-05/0.3557, allocations: 35.94 kB / 480.5 MB, free: 7.516 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.729e-05/0.3557, allocations: 20 kB / 480.5 MB, free: 7.496 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001445/0.3572, allocations: 0.6922 MB / 481.2 MB, free: 6.801 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004619/0.3618, allocations: 3.147 MB / 484.3 MB, free: 3.398 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00233/0.3642, allocations: 2.086 MB / 486.4 MB, free: 1.012 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006453/0.3648, allocations: 332.2 kB / 486.7 MB, free: 0.6836 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001338/0.365, allocations: 101.7 kB / 486.8 MB, free: 0.5664 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.493e-05/0.365, allocations: 39.22 kB / 486.9 MB, free: 0.5195 MB / 362.7 MB Notification: Performance of pre-optimization done (n=72): time 3.166e-06/0.3651, allocations: 288 / 486.9 MB, free: 0.5195 MB / 362.7 MB Notification: Performance of matching and sorting (n=72): time 0.002673/0.3677, allocations: 1.184 MB / 488.1 MB, free: 15.29 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.845e-05/0.3678, allocations: 115.5 kB / 488.2 MB, free: 15.15 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003211/0.3681, allocations: 270.5 kB / 488.4 MB, free: 14.88 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.677e-05/0.3682, allocations: 37.7 kB / 488.5 MB, free: 14.83 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001857/0.3684, allocations: 295.4 kB / 488.8 MB, free: 14.54 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001822/0.3686, allocations: 248.4 kB / 489 MB, free: 14.29 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.899e-05/0.3686, allocations: 16.22 kB / 489 MB, free: 14.27 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.3688, allocations: 350.7 kB / 489.4 MB, free: 13.92 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00051/0.3693, allocations: 245.8 kB / 489.6 MB, free: 13.68 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005802/0.3699, allocations: 394.2 kB / 490 MB, free: 13.24 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001166/0.371, allocations: 0.6532 MB / 490.7 MB, free: 12.54 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.3711, allocations: 0 / 490.7 MB, free: 12.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001646/0.3727, allocations: 0.854 MB / 491.5 MB, free: 11.67 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.3728, allocations: 8 kB / 491.5 MB, free: 11.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.3728, allocations: 8 kB / 491.5 MB, free: 11.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004111/0.3732, allocations: 125.7 kB / 491.6 MB, free: 11.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006418/0.3738, allocations: 163.7 kB / 491.8 MB, free: 11.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003119/0.377, allocations: 3.408 MB / 495.2 MB, free: 7.691 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005695/0.3776, allocations: 99.17 kB / 495.3 MB, free: 7.594 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.386e-05/0.3776, allocations: 31.98 kB / 495.3 MB, free: 7.562 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.0003639/0.378, allocations: 205.5 kB / 495.5 MB, free: 7.352 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001268/0.3781, allocations: 43.52 kB / 495.6 MB, free: 7.309 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001625/0.3798, allocations: 0.7648 MB / 496.3 MB, free: 6.531 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/0.3798, allocations: 8 kB / 496.4 MB, free: 6.523 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.054e-06/0.3798, allocations: 4 kB / 496.4 MB, free: 6.52 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/0.3798, allocations: 7.969 kB / 496.4 MB, free: 6.512 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002603/0.3824, allocations: 1.516 MB / 497.9 MB, free: 4.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.3825, allocations: 0 / 497.9 MB, free: 4.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005201/0.383, allocations: 123.8 kB / 498 MB, free: 4.809 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003082/0.3833, allocations: 109.6 kB / 498.1 MB, free: 4.695 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.435e-05/0.3834, allocations: 20 kB / 498.1 MB, free: 4.676 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0025/0.3859, allocations: 3.101 MB / 0.4895 GB, free: 1.309 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.3859, allocations: 3.938 kB / 0.4895 GB, free: 1.305 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001921/0.3878, allocations: 1.152 MB / 0.4906 GB, free: 132 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.1561/0.544, allocations: 125.7 kB / 0.4907 GB, free: 101.3 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002045/0.5442, allocations: 11.7 kB / 0.4907 GB, free: 101.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000478/0.5447, allocations: 31.31 kB / 0.4908 GB, free: 101.3 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001896/0.5449, allocations: 51.44 kB / 0.4908 GB, free: 101.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.89e-05/0.5449, allocations: 23.17 kB / 0.4908 GB, free: 101.3 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002513/0.5452, allocations: 190.8 kB / 0.491 GB, free: 101.2 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5452, allocations: 0.5938 kB / 0.491 GB, free: 101.2 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001036/0.5462, allocations: 224.6 kB / 0.4912 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.0002535/0.5465, allocations: 155.2 kB / 0.4914 GB, free: 101.1 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001733/0.5483, allocations: 0.8959 MB / 0.4923 GB, free: 100.9 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.5483, allocations: 0 / 0.4923 GB, free: 100.9 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007086/0.549, allocations: 0.5788 MB / 0.4928 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.0004685/0.5495, allocations: 53.61 kB / 0.4929 GB, free: 100.7 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002106/0.5516, allocations: 1.406 MB / 0.4943 GB, free: 100 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003102/0.5519, allocations: 0.8653 MB / 0.4951 GB, free: 99.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000196/0.5521, allocations: 54.64 kB / 0.4952 GB, free: 99.3 MB / 378.7 MB Notification: Performance of SimCode: time 4.3e-07/0.5521, allocations: 0 / 0.4952 GB, free: 99.3 MB / 378.7 MB Notification: Performance of Templates: time 0.01231/0.5644, allocations: 11.43 MB / 0.5063 GB, free: 98.53 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