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.002472/0.002471, allocations: 186 kB / 16.4 MB, free: 5.699 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.008/2.008, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001152/0.001152, allocations: 86.92 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005289/0.000529, allocations: 8 kB / 327 MB, free: 192 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3378/0.3384, allocations: 47.57 MB / 374.5 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1353/0.4737, allocations: 82.73 MB / 457.3 MB, free: 14.03 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003638/0.4741, allocations: 91.95 kB / 457.4 MB, free: 13.94 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07912/0.5533, allocations: 19.52 MB / 476.9 MB, free: 10.18 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.865e-06/0.5533, allocations: 0 / 476.9 MB, free: 10.18 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.105e-05/0.5534, allocations: 8.188 kB / 476.9 MB, free: 10.18 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.004556/0.5579, allocations: 0.9714 MB / 477.9 MB, free: 9.152 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.558, allocations: 8.031 kB / 477.9 MB, free: 9.145 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0018/0.5598, allocations: 175.1 kB / 478 MB, free: 8.973 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000352/0.5602, allocations: 243 kB / 478.3 MB, free: 8.691 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.515e-05/0.5603, allocations: 53.98 kB / 478.3 MB, free: 8.641 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000222/0.5606, allocations: 63.95 kB / 478.4 MB, free: 8.578 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002302/0.5629, allocations: 0.7074 MB / 479.1 MB, free: 7.855 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.968e-05/0.563, allocations: 0 / 479.1 MB, free: 7.855 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001133/0.5631, allocations: 28 kB / 479.1 MB, free: 7.828 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.266e-05/0.5631, allocations: 16 kB / 479.1 MB, free: 7.812 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002462/0.5656, allocations: 0.6274 MB / 479.8 MB, free: 7.188 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006048/0.5717, allocations: 2.348 MB / 482.1 MB, free: 4.703 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003343/0.5751, allocations: 1.697 MB / 483.8 MB, free: 2.777 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002247/0.5754, allocations: 89.67 kB / 483.9 MB, free: 2.672 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.72e-05/0.5754, allocations: 39.12 kB / 483.9 MB, free: 2.625 MB / 362.7 MB Notification: Performance of pre-optimization done (n=66): time 3.717e-06/0.5754, allocations: 0 / 483.9 MB, free: 2.625 MB / 362.7 MB Notification: Performance of matching and sorting (n=66): time 0.003022/0.5785, allocations: 0.7368 MB / 484.7 MB, free: 1.883 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.523e-05/0.5786, allocations: 111.4 kB / 484.8 MB, free: 1.75 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004331/0.5791, allocations: 243.9 kB / 485 MB, free: 1.508 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.835e-05/0.5792, allocations: 41.64 kB / 485.1 MB, free: 1.461 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000222/0.5794, allocations: 322.4 kB / 485.4 MB, free: 1.145 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002551/0.5797, allocations: 224.8 kB / 485.6 MB, free: 0.9219 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.347e-05/0.5797, allocations: 8 kB / 485.6 MB, free: 0.9141 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.5799, allocations: 338.8 kB / 485.9 MB, free: 0.5742 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000938/0.5808, allocations: 221.9 kB / 486.1 MB, free: 364 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001015/0.5819, allocations: 313.4 kB / 486.5 MB, free: 28 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00104/0.5829, allocations: 251.2 kB / 486.7 MB, free: 15.78 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.351e-06/0.583, allocations: 3.938 kB / 486.7 MB, free: 15.78 MB / 378.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002284/0.5853, allocations: 0.6375 MB / 487.3 MB, free: 15.13 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.035e-05/0.5853, allocations: 12.19 kB / 487.4 MB, free: 15.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.5854, allocations: 0 / 487.4 MB, free: 15.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.555e-05/0.5854, allocations: 4 kB / 487.4 MB, free: 15.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001451/0.5869, allocations: 163.8 kB / 487.5 MB, free: 14.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.302e-05/0.5869, allocations: 11.94 kB / 487.5 MB, free: 14.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009218/0.5879, allocations: 87.25 kB / 487.6 MB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.721e-05/0.588, allocations: 23.98 kB / 487.6 MB, free: 14.84 MB / 378.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 () * Number of clocked 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.0004052/0.5884, allocations: 185.7 kB / 487.8 MB, free: 14.64 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001474/0.5885, allocations: 35.62 kB / 487.9 MB, free: 14.61 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002338/0.5909, allocations: 0.6201 MB / 488.5 MB, free: 13.98 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.562e-05/0.5909, allocations: 8 kB / 488.5 MB, free: 13.97 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.19e-05/0.591, allocations: 3.984 kB / 488.5 MB, free: 13.97 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/0.591, allocations: 3.953 kB / 488.5 MB, free: 13.96 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003612/0.5946, allocations: 1.292 MB / 489.8 MB, free: 12.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.603e-06/0.5946, allocations: 4 kB / 489.8 MB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00116/0.5958, allocations: 135.8 kB / 489.9 MB, free: 12.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.075e-05/0.5958, allocations: 4 kB / 489.9 MB, free: 12.48 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.363e-05/0.5959, allocations: 15.98 kB / 489.9 MB, free: 12.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.468e-06/0.5959, allocations: 4 kB / 489.9 MB, free: 12.46 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.5959, allocations: 0 / 489.9 MB, free: 12.46 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002967/0.5989, allocations: 1.016 MB / 491 MB, free: 11.42 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001586/0.5991, allocations: 124.5 kB / 491.1 MB, free: 11.28 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.5992, allocations: 12 kB / 491.1 MB, free: 11.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007038/0.5999, allocations: 40.03 kB / 491.1 MB, free: 11.23 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001347/0.6001, allocations: 32.52 kB / 491.2 MB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.792e-05/0.6001, allocations: 23.98 kB / 491.2 MB, free: 11.17 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002811/0.6004, allocations: 184.5 kB / 491.4 MB, free: 10.99 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6004, allocations: 0 / 491.4 MB, free: 10.99 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008331/0.6013, allocations: 191.5 kB / 491.6 MB, free: 10.8 MB / 378.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 () * Number of clocked 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.0003052/0.6016, allocations: 151 kB / 491.7 MB, free: 10.64 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002008/0.6036, allocations: 0.5586 MB / 492.3 MB, free: 10.09 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.6037, allocations: 3.938 kB / 492.3 MB, free: 10.08 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009376/0.6046, allocations: 279.1 kB / 492.5 MB, free: 9.809 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005103/0.6051, allocations: 47.17 kB / 492.6 MB, free: 9.766 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003713/0.6089, allocations: 1.344 MB / 493.9 MB, free: 8.383 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005466/0.6095, allocations: 0.858 MB / 494.8 MB, free: 7.496 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004308/0.6099, allocations: 51.42 kB / 494.8 MB, free: 7.445 MB / 378.7 MB Notification: Performance of SimCode: time 1.573e-06/0.6099, allocations: 0 / 494.8 MB, free: 7.445 MB / 378.7 MB Notification: Performance of Templates: time 0.0167/0.6266, allocations: 6.532 MB / 0.4896 GB, free: 0.9297 MB / 378.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