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.0008866/0.0008867, allocations: 177.3 kB / 17.41 MB, free: 4.414 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.254/1.254, allocations: 205.4 MB / 223.6 MB, free: 9.027 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.0007336/0.0007336, allocations: 86.36 kB / 271.9 MB, free: 8.266 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003159/0.0003159, allocations: 11.98 kB / 328.2 MB, free: 15.95 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2128/0.2131, allocations: 47.57 MB / 375.7 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09137/0.3045, allocations: 82.82 MB / 458.5 MB, free: 13.81 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002631/0.3048, allocations: 87.94 kB / 458.6 MB, free: 13.72 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04449/0.3493, allocations: 19.48 MB / 478.1 MB, free: 9.996 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3494, allocations: 4 kB / 478.1 MB, free: 9.992 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.713e-05/0.3494, allocations: 8 kB / 478.1 MB, free: 9.984 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.002825/0.3522, allocations: 0.96 MB / 479.1 MB, free: 8.973 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.3523, allocations: 12.03 kB / 479.1 MB, free: 8.961 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001091/0.3534, allocations: 180.2 kB / 479.3 MB, free: 8.785 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002374/0.3536, allocations: 236.1 kB / 479.5 MB, free: 8.512 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.31e-05/0.3537, allocations: 50.38 kB / 479.6 MB, free: 8.461 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001602/0.3539, allocations: 72.36 kB / 479.6 MB, free: 8.391 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001333/0.3552, allocations: 0.708 MB / 480.3 MB, free: 7.668 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.665e-05/0.3552, allocations: 4.094 kB / 480.3 MB, free: 7.664 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.378e-05/0.3553, allocations: 27.94 kB / 480.4 MB, free: 7.637 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.623e-05/0.3553, allocations: 16 kB / 480.4 MB, free: 7.621 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001323/0.3567, allocations: 0.6352 MB / 481 MB, free: 6.984 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003348/0.36, allocations: 2.336 MB / 483.4 MB, free: 4.512 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001541/0.3616, allocations: 1.639 MB / 485 MB, free: 2.641 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005107/0.3621, allocations: 283.8 kB / 485.3 MB, free: 2.359 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001321/0.3622, allocations: 97.64 kB / 485.4 MB, free: 2.246 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.3623, allocations: 47.12 kB / 485.4 MB, free: 2.191 MB / 362.7 MB Notification: Performance of pre-optimization done (n=66): time 2.415e-06/0.3623, allocations: 0 / 485.4 MB, free: 2.191 MB / 362.7 MB Notification: Performance of matching and sorting (n=66): time 0.001533/0.3638, allocations: 0.7212 MB / 486.1 MB, free: 1.461 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.619e-05/0.3639, allocations: 111.4 kB / 486.2 MB, free: 1.328 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002632/0.3642, allocations: 264.8 kB / 486.5 MB, free: 1.062 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.926e-05/0.3642, allocations: 41.73 kB / 486.5 MB, free: 1.016 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001384/0.3644, allocations: 259.9 kB / 486.8 MB, free: 0.7539 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001516/0.3646, allocations: 228.7 kB / 487 MB, free: 0.5273 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.51e-05/0.3646, allocations: 16 kB / 487 MB, free: 0.5117 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.3647, allocations: 342.8 kB / 487.4 MB, free: 172 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004874/0.3652, allocations: 222 kB / 487.6 MB, free: 15.95 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005178/0.3657, allocations: 317.4 kB / 487.9 MB, free: 15.61 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001/0.3668, allocations: 0.5221 MB / 488.4 MB, free: 15.07 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.3668, allocations: 0 / 488.4 MB, free: 15.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001286/0.3681, allocations: 0.6569 MB / 489.1 MB, free: 14.41 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/0.3681, allocations: 8 kB / 489.1 MB, free: 14.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.3681, allocations: 3.938 kB / 489.1 MB, free: 14.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.24e-05/0.3682, allocations: 7.984 kB / 489.1 MB, free: 14.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006846/0.3688, allocations: 167.8 kB / 489.3 MB, free: 14.22 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.3689, allocations: 4.031 kB / 489.3 MB, free: 14.22 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004481/0.3693, allocations: 79.34 kB / 489.3 MB, free: 14.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.815e-05/0.3694, allocations: 27.98 kB / 489.4 MB, free: 14.11 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.0002385/0.3696, allocations: 189.6 kB / 489.6 MB, free: 13.92 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.289e-05/0.3697, allocations: 39.53 kB / 489.6 MB, free: 13.88 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001239/0.371, allocations: 0.6085 MB / 490.2 MB, free: 13.27 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.736e-06/0.371, allocations: 8 kB / 490.2 MB, free: 13.26 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.371, allocations: 7.984 kB / 490.2 MB, free: 13.25 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.371, allocations: 0 / 490.2 MB, free: 13.25 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002086/0.3731, allocations: 1.296 MB / 491.5 MB, free: 11.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/0.3731, allocations: 0 / 491.5 MB, free: 11.9 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005524/0.3737, allocations: 131.8 kB / 491.6 MB, free: 11.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.04e-05/0.3737, allocations: 7.984 kB / 491.6 MB, free: 11.76 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.106e-05/0.3737, allocations: 15.98 kB / 491.7 MB, free: 11.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.452e-06/0.3738, allocations: 8 kB / 491.7 MB, free: 11.74 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.3738, allocations: 3.938 kB / 491.7 MB, free: 11.73 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001713/0.3755, allocations: 0.9983 MB / 492.7 MB, free: 10.72 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001237/0.3756, allocations: 128.6 kB / 492.8 MB, free: 10.58 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.55e-05/0.3757, allocations: 12 kB / 492.8 MB, free: 10.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004028/0.3761, allocations: 31.97 kB / 492.8 MB, free: 10.54 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.376e-05/0.3762, allocations: 44.39 kB / 492.9 MB, free: 10.49 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.405e-05/0.3763, allocations: 19.98 kB / 492.9 MB, free: 10.47 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001844/0.3764, allocations: 188.5 kB / 493.1 MB, free: 10.28 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3765, allocations: 0 / 493.1 MB, free: 10.28 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005954/0.3771, allocations: 195.5 kB / 493.3 MB, free: 10.09 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.0002431/0.3773, allocations: 143.1 kB / 493.4 MB, free: 9.941 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001099/0.3784, allocations: 0.5585 MB / 494 MB, free: 9.391 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3784, allocations: 0 / 494 MB, free: 9.391 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004936/0.3789, allocations: 283.5 kB / 494.3 MB, free: 9.109 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004715/0.3794, allocations: 50.42 kB / 494.3 MB, free: 9.066 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002321/0.3817, allocations: 1.344 MB / 495.6 MB, free: 7.684 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005102/0.3823, allocations: 0.8501 MB / 496.5 MB, free: 6.809 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002205/0.3825, allocations: 55.41 kB / 496.6 MB, free: 6.754 MB / 378.7 MB Notification: Performance of SimCode: time 6.91e-07/0.3825, allocations: 0 / 496.6 MB, free: 6.754 MB / 378.7 MB Notification: Performance of Templates: time 0.01082/0.3933, allocations: 6.599 MB / 0.4914 GB, free: 168 kB / 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