Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.288/1.288, allocations: 222.9 MB / 240.9 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 108 kB / 291.2 MB, free: 10.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 39.94 kB / 350.1 MB, free: 52 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2728/0.2741, allocations: 49.43 MB / 399.5 MB, free: 33.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.003934/0.278, allocations: 4.187 MB / 403.7 MB, free: 29.16 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00176/0.2798, allocations: 1.622 MB / 405.3 MB, free: 27.54 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001456/0.28, allocations: 12 kB / 405.3 MB, free: 27.52 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001617/0.2816, allocations: 0.9535 MB / 406.3 MB, free: 26.57 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004017/0.282, allocations: 198.8 kB / 406.4 MB, free: 26.38 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001162/0.2832, allocations: 0.7742 MB / 407.2 MB, free: 25.6 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000372/0.2836, allocations: 0.6027 MB / 407.8 MB, free: 25 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005438/0.2841, allocations: 449.7 kB / 408.3 MB, free: 24.55 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002397/0.2844, allocations: 243 kB / 408.5 MB, free: 24.31 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002728/0.2847, allocations: 330.6 kB / 408.8 MB, free: 23.98 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.778e-05/0.2847, allocations: 40 kB / 408.9 MB, free: 23.95 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003865/0.2851, allocations: 255.7 kB / 409.1 MB, free: 23.7 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.423e-05/0.2852, allocations: 119.5 kB / 409.2 MB, free: 23.58 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001706/0.2854, allocations: 298.5 kB / 409.5 MB, free: 23.29 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006781/0.2861, allocations: 0.897 MB / 410.4 MB, free: 22.39 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.2861, allocations: 0 / 410.4 MB, free: 22.39 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.2861, allocations: 0 / 410.4 MB, free: 22.39 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.715e-06/0.2861, allocations: 0 / 410.4 MB, free: 22.39 MB / 298.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.003008/0.2891, allocations: 1.214 MB / 411.6 MB, free: 21.12 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.2892, allocations: 8.031 kB / 411.6 MB, free: 21.11 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000992/0.2902, allocations: 168.1 kB / 411.8 MB, free: 20.95 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001949/0.2904, allocations: 241.8 kB / 412 MB, free: 20.67 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.774e-05/0.2904, allocations: 50.38 kB / 412.1 MB, free: 20.62 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.764e-05/0.2905, allocations: 64.28 kB / 412.2 MB, free: 20.56 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001086/0.2916, allocations: 0.7154 MB / 412.9 MB, free: 19.83 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.461e-05/0.2917, allocations: 3.938 kB / 412.9 MB, free: 19.82 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.584e-05/0.2917, allocations: 28 kB / 412.9 MB, free: 19.8 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.339e-05/0.2917, allocations: 27.94 kB / 412.9 MB, free: 19.77 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001059/0.2928, allocations: 0.5946 MB / 413.5 MB, free: 19.17 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002586/0.2954, allocations: 2.32 MB / 415.8 MB, free: 16.72 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001163/0.2966, allocations: 1.629 MB / 417.5 MB, free: 14.86 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004209/0.297, allocations: 271.4 kB / 417.7 MB, free: 14.59 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001101/0.2971, allocations: 97.64 kB / 417.8 MB, free: 14.48 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.2972, allocations: 51.16 kB / 417.9 MB, free: 14.42 MB / 298.7 MB Notification: Performance of pre-optimization done (n=66): time 2.675e-06/0.2972, allocations: 0 / 417.9 MB, free: 14.42 MB / 298.7 MB Notification: Performance of matching and sorting (n=66): time 0.001353/0.2985, allocations: 0.6938 MB / 418.6 MB, free: 13.72 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.537e-05/0.2986, allocations: 119.4 kB / 418.7 MB, free: 13.58 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002024/0.2988, allocations: 260.9 kB / 418.9 MB, free: 13.32 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.625e-05/0.2988, allocations: 33.7 kB / 419 MB, free: 13.28 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.197e-05/0.2989, allocations: 268 kB / 419.2 MB, free: 13.01 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.664e-05/0.299, allocations: 216.8 kB / 419.5 MB, free: 12.8 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001531/0.2992, allocations: 118.6 kB / 419.6 MB, free: 12.68 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.116e-05/0.2993, allocations: 350.7 kB / 419.9 MB, free: 12.32 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004131/0.2997, allocations: 213.9 kB / 420.1 MB, free: 12.11 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004347/0.3001, allocations: 301.4 kB / 420.4 MB, free: 11.8 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008155/0.301, allocations: 0.522 MB / 420.9 MB, free: 11.26 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.301, allocations: 4 kB / 420.9 MB, free: 11.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001042/0.302, allocations: 0.6256 MB / 421.6 MB, free: 10.62 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.302, allocations: 4 kB / 421.6 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.3021, allocations: 4 kB / 421.6 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.3021, allocations: 4.188 kB / 421.6 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006356/0.3027, allocations: 163.8 kB / 421.7 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.3027, allocations: 4 kB / 421.7 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000441/0.3032, allocations: 71.36 kB / 421.8 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.946e-05/0.3032, allocations: 27.92 kB / 421.8 MB, free: 10.35 MB / 298.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001599/0.3034, allocations: 189.7 kB / 422 MB, free: 10.15 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.915e-05/0.3035, allocations: 35.53 kB / 422.1 MB, free: 10.12 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001078/0.3046, allocations: 0.6085 MB / 422.7 MB, free: 9.496 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.3046, allocations: 4 kB / 422.7 MB, free: 9.492 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.3046, allocations: 4 kB / 422.7 MB, free: 9.488 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.3046, allocations: 3.984 kB / 422.7 MB, free: 9.484 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001673/0.3063, allocations: 1.292 MB / 424 MB, free: 8.133 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.3063, allocations: 0 / 424 MB, free: 8.133 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005122/0.3068, allocations: 127.8 kB / 424.1 MB, free: 8.008 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.3068, allocations: 4 kB / 424.1 MB, free: 8.004 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.192e-05/0.3069, allocations: 12 kB / 424.1 MB, free: 7.992 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.509e-06/0.3069, allocations: 11.88 kB / 424.1 MB, free: 7.98 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3069, allocations: 0 / 424.1 MB, free: 7.98 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002313/0.3092, allocations: 2.169 MB / 426.3 MB, free: 5.68 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.135e-05/0.3093, allocations: 136.4 kB / 426.4 MB, free: 5.527 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.837e-05/0.3093, allocations: 12 kB / 426.4 MB, free: 5.516 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003815/0.3097, allocations: 27.97 kB / 426.5 MB, free: 5.488 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/0.3098, allocations: 44.59 kB / 426.5 MB, free: 5.445 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.067e-05/0.3099, allocations: 24 kB / 426.5 MB, free: 5.422 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001482/0.31, allocations: 200.4 kB / 426.7 MB, free: 5.223 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.31, allocations: 0 / 426.7 MB, free: 5.223 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005948/0.3106, allocations: 187.5 kB / 426.9 MB, free: 5.039 MB / 298.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002334/0.3109, allocations: 147.1 kB / 427.1 MB, free: 4.887 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009573/0.3118, allocations: 0.5351 MB / 427.6 MB, free: 4.352 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.3119, allocations: 4 kB / 427.6 MB, free: 4.348 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004259/0.3123, allocations: 271 kB / 427.9 MB, free: 4.082 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005191/0.3128, allocations: 44.36 kB / 427.9 MB, free: 4.039 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001924/0.3148, allocations: 1.673 MB / 429.6 MB, free: 2.316 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002406/0.315, allocations: 0.8619 MB / 430.4 MB, free: 1.434 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003923/0.3154, allocations: 79.39 kB / 430.5 MB, free: 1.352 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/0.3155, allocations: 47.42 kB / 430.6 MB, free: 1.305 MB / 298.7 MB Notification: Performance of SimCode: time 1.91e-07/0.3156, allocations: 0 / 430.6 MB, free: 1.305 MB / 298.7 MB Notification: Performance of Templates: time 0.008799/0.3244, allocations: 5.037 MB / 435.6 MB, free: 12.32 MB / 314.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches