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.CylinderSections.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.CylinderSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|hollowCylinderAxialOuter.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|hollowCylinderAxialOuter.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002457/0.002456, allocations: 181.3 kB / 13.66 MB, free: 1.664 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.224/2.224, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001092/0.001092, allocations: 90.62 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.96e-05/2.972e-05, allocations: 0 / 321.5 MB, free: 17.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09941/0.09947, allocations: 47.57 MB / 369.1 MB, free: 2.207 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.416/0.5155, allocations: 82.65 MB / 451.7 MB, free: 10.57 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002806/0.5159, allocations: 86.25 kB / 451.8 MB, free: 10.52 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07426/0.5901, allocations: 19.46 MB / 471.3 MB, free: 8.809 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.512e-06/0.5902, allocations: 0 / 471.3 MB, free: 8.809 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.637e-05/0.5902, allocations: 12 kB / 471.3 MB, free: 8.797 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.004151/0.5944, allocations: 0.948 MB / 472.2 MB, free: 7.801 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.203e-05/0.5945, allocations: 12.03 kB / 472.3 MB, free: 7.789 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001726/0.5962, allocations: 179.1 kB / 472.4 MB, free: 7.613 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003096/0.5965, allocations: 227.9 kB / 472.7 MB, free: 7.348 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.663e-05/0.5966, allocations: 46 kB / 472.7 MB, free: 7.305 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001754/0.5968, allocations: 71.95 kB / 472.8 MB, free: 7.234 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001771/0.5986, allocations: 0.6701 MB / 473.4 MB, free: 6.547 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.174e-05/0.5986, allocations: 3.938 kB / 473.4 MB, free: 6.543 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001072/0.5987, allocations: 32 kB / 473.5 MB, free: 6.512 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.35e-05/0.5988, allocations: 23.94 kB / 473.5 MB, free: 6.488 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001631/0.6004, allocations: 0.5402 MB / 474 MB, free: 5.945 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00571/0.6061, allocations: 2.351 MB / 476.4 MB, free: 3.461 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002894/0.6091, allocations: 1.638 MB / 478 MB, free: 1.59 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000646/0.6098, allocations: 243.7 kB / 478.3 MB, free: 1.344 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001997/0.61, allocations: 97.64 kB / 478.4 MB, free: 1.23 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.406e-05/0.6101, allocations: 47.16 kB / 478.4 MB, free: 1.176 MB / 346.7 MB Notification: Performance of pre-optimization done (n=66): time 3.267e-06/0.6101, allocations: 4 kB / 478.4 MB, free: 1.172 MB / 346.7 MB Notification: Performance of matching and sorting (n=66): time 0.00141/0.6115, allocations: 462.6 kB / 478.9 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.929e-05/0.6116, allocations: 115.3 kB / 479 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004054/0.612, allocations: 233 kB / 479.2 MB, free: 352 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.34e-05/0.6121, allocations: 33.7 kB / 479.2 MB, free: 312 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000245/0.6123, allocations: 330.5 kB / 479.6 MB, free: 15.98 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002389/0.6126, allocations: 220.7 kB / 479.8 MB, free: 15.76 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.844e-05/0.6127, allocations: 12 kB / 479.8 MB, free: 15.75 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.6128, allocations: 350.8 kB / 480.1 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005542/0.6134, allocations: 173.6 kB / 480.3 MB, free: 15.22 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006497/0.6141, allocations: 271.4 kB / 480.6 MB, free: 14.93 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006847/0.6148, allocations: 218.1 kB / 480.8 MB, free: 14.72 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.6148, allocations: 0 / 480.8 MB, free: 14.72 MB / 362.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001578/0.6164, allocations: 0.5623 MB / 481.3 MB, free: 14.15 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.685e-05/0.6164, allocations: 8 kB / 481.3 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.6164, allocations: 0 / 481.3 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.625e-05/0.6165, allocations: 8.188 kB / 481.3 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00143/0.6179, allocations: 171.5 kB / 481.5 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.949e-05/0.6179, allocations: 8 kB / 481.5 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008759/0.6188, allocations: 71.36 kB / 481.6 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.896e-05/0.6189, allocations: 27.98 kB / 481.6 MB, free: 13.87 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002005/0.6191, allocations: 144.8 kB / 481.8 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001445/0.6193, allocations: 35.53 kB / 481.8 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001669/0.621, allocations: 0.5384 MB / 482.3 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-05/0.621, allocations: 8 kB / 482.3 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/0.621, allocations: 3.953 kB / 482.3 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.175e-05/0.6211, allocations: 3.984 kB / 482.4 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003084/0.6242, allocations: 1.218 MB / 483.6 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.6242, allocations: 0 / 483.6 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001203/0.6254, allocations: 139.8 kB / 483.7 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.131e-05/0.6255, allocations: 0 / 483.7 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.5e-05/0.6255, allocations: 23.98 kB / 483.7 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.893e-06/0.6256, allocations: 3.938 kB / 483.7 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.6256, allocations: 0 / 483.7 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002083/0.6277, allocations: 0.9063 MB / 484.6 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001768/0.6279, allocations: 124.5 kB / 484.8 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.627e-05/0.628, allocations: 12 kB / 484.8 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007463/0.6287, allocations: 39.97 kB / 484.8 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001614/0.6289, allocations: 40.5 kB / 484.9 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.91e-05/0.629, allocations: 20.06 kB / 484.9 MB, free: 10.5 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003248/0.6293, allocations: 185.4 kB / 485.1 MB, free: 10.32 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6293, allocations: 0 / 485.1 MB, free: 10.32 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008534/0.6302, allocations: 179.5 kB / 485.2 MB, free: 10.14 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (source.port_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 66 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003779/0.6306, allocations: 174.2 kB / 485.4 MB, free: 9.969 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001381/0.632, allocations: 488.9 kB / 485.9 MB, free: 9.488 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.632, allocations: 0 / 485.9 MB, free: 9.488 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006211/0.6326, allocations: 243.5 kB / 486.1 MB, free: 9.254 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005051/0.6332, allocations: 41.97 kB / 486.2 MB, free: 9.215 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002995/0.6362, allocations: 0.8386 MB / 487 MB, free: 8.344 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005207/0.6367, allocations: 0.8539 MB / 487.8 MB, free: 7.457 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003964/0.6372, allocations: 59.41 kB / 487.9 MB, free: 7.398 MB / 362.7 MB Notification: Performance of SimCode: time 1.522e-06/0.6372, allocations: 0 / 487.9 MB, free: 7.398 MB / 362.7 MB Notification: Performance of Templates: time 0.01779/0.655, allocations: 6.519 MB / 494.4 MB, free: 0.8711 MB / 362.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_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/CylinderSections/CylinderSections.csv","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches