Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001593/0.001593, allocations: 172.6 kB / 14.1 MB, free: 1.223 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.351/1.351, allocations: 205.2 MB / 219.8 MB, free: 14.27 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.001071/0.001071, allocations: 74.73 kB / 268 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.903e-05/1.906e-05, allocations: 0 / 322.5 MB, free: 17.35 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07375/0.07378, allocations: 47.58 MB / 370 MB, free: 1.711 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.269/0.3428, allocations: 82.64 MB / 452.7 MB, free: 10.65 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002116/0.343, allocations: 82.05 kB / 452.8 MB, free: 10.61 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04494/0.388, allocations: 19.47 MB / 472.2 MB, free: 8.445 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.388, allocations: 3.938 kB / 472.2 MB, free: 8.441 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.344e-05/0.388, allocations: 8 kB / 472.2 MB, free: 8.434 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.002469/0.3905, allocations: 0.9442 MB / 473.2 MB, free: 7.441 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.3906, allocations: 8.031 kB / 473.2 MB, free: 7.434 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001056/0.3916, allocations: 175.1 kB / 473.4 MB, free: 7.262 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001921/0.3918, allocations: 235.9 kB / 473.6 MB, free: 6.988 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.559e-05/0.3919, allocations: 57.97 kB / 473.6 MB, free: 6.934 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001082/0.392, allocations: 67.95 kB / 473.7 MB, free: 6.867 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001076/0.3931, allocations: 0.6662 MB / 474.4 MB, free: 6.184 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.082e-05/0.3931, allocations: 0 / 474.4 MB, free: 6.184 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.796e-05/0.3932, allocations: 28 kB / 474.4 MB, free: 6.156 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.465e-05/0.3932, allocations: 23.94 kB / 474.4 MB, free: 6.133 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009017/0.3941, allocations: 0.5441 MB / 475 MB, free: 5.586 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003189/0.3973, allocations: 2.336 MB / 477.3 MB, free: 3.117 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001713/0.399, allocations: 1.645 MB / 479 MB, free: 1.238 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003517/0.3994, allocations: 247.7 kB / 479.2 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001312/0.3995, allocations: 93.64 kB / 479.3 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.3996, allocations: 43.16 kB / 479.3 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of pre-optimization done (n=66): time 2.715e-06/0.3996, allocations: 0 / 479.3 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of matching and sorting (n=66): time 0.0008245/0.4004, allocations: 474.6 kB / 479.8 MB, free: 364 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.962e-05/0.4005, allocations: 115.3 kB / 479.9 MB, free: 224 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002495/0.4008, allocations: 233 kB / 480.1 MB, free: 15.99 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.968e-05/0.4008, allocations: 37.7 kB / 480.2 MB, free: 15.95 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001453/0.401, allocations: 263.9 kB / 480.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001482/0.4011, allocations: 232.7 kB / 480.7 MB, free: 15.45 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-05/0.4012, allocations: 16 kB / 480.7 MB, free: 15.44 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.4013, allocations: 342.8 kB / 481 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000308/0.4016, allocations: 181.6 kB / 481.2 MB, free: 14.91 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000359/0.402, allocations: 267.4 kB / 481.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003609/0.4023, allocations: 218.1 kB / 481.7 MB, free: 14.41 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.4023, allocations: 0 / 481.7 MB, free: 14.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.000884/0.4032, allocations: 0.5701 MB / 482.2 MB, free: 13.84 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.4033, allocations: 8 kB / 482.2 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.4033, allocations: 0 / 482.2 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.4033, allocations: 4 kB / 482.2 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007049/0.404, allocations: 175.9 kB / 482.4 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.274e-05/0.404, allocations: 4 kB / 482.4 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004782/0.4045, allocations: 79.27 kB / 482.5 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.614e-05/0.4046, allocations: 27.98 kB / 482.5 MB, free: 13.55 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.0001242/0.4047, allocations: 140.8 kB / 482.7 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.415e-05/0.4048, allocations: 31.62 kB / 482.7 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009512/0.4057, allocations: 0.5461 MB / 483.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.4058, allocations: 8 kB / 483.2 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.4058, allocations: 3.953 kB / 483.2 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.4058, allocations: 3.984 kB / 483.2 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001652/0.4074, allocations: 1.214 MB / 484.5 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.4075, allocations: 3.953 kB / 484.5 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005783/0.408, allocations: 139.8 kB / 484.6 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.077e-06/0.4081, allocations: 7.984 kB / 484.6 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.397e-05/0.4081, allocations: 12 kB / 484.6 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.4081, allocations: 0 / 484.6 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-05/0.4081, allocations: 4 kB / 484.6 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001146/0.4093, allocations: 0.9024 MB / 485.5 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.267e-05/0.4094, allocations: 132.5 kB / 485.7 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.468e-05/0.4095, allocations: 8 kB / 485.7 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003944/0.4099, allocations: 35.97 kB / 485.7 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.819e-05/0.41, allocations: 44.5 kB / 485.7 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-05/0.41, allocations: 16 kB / 485.8 MB, free: 10.19 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001732/0.4102, allocations: 189.4 kB / 485.9 MB, free: 10 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.583e-06/0.4102, allocations: 0 / 485.9 MB, free: 10 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005352/0.4107, allocations: 187.5 kB / 486.1 MB, free: 9.82 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.0002526/0.411, allocations: 167.6 kB / 486.3 MB, free: 9.648 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007528/0.4118, allocations: 488.9 kB / 486.8 MB, free: 9.168 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.4118, allocations: 3.938 kB / 486.8 MB, free: 9.164 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003352/0.4121, allocations: 243.2 kB / 487 MB, free: 8.93 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003076/0.4124, allocations: 45.34 kB / 487.1 MB, free: 8.887 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00164/0.4141, allocations: 0.7978 MB / 487.9 MB, free: 8.062 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000363/0.4145, allocations: 0.8578 MB / 488.7 MB, free: 7.172 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004083/0.4149, allocations: 79.39 kB / 488.8 MB, free: 7.094 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001379/0.415, allocations: 51.42 kB / 488.8 MB, free: 7.043 MB / 362.7 MB Notification: Performance of SimCode: time 3.91e-07/0.415, allocations: 0 / 488.8 MB, free: 7.043 MB / 362.7 MB Notification: Performance of Templates: time 0.008674/0.4237, allocations: 4.762 MB / 493.6 MB, free: 2.281 MB / 362.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat","/var/lib/jenkins/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_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches