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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 107.1 kB / 17.06 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 191 kB / 18 MB, free: 4.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.315/1.315, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0008919/0.0008919, allocations: 47.92 kB / 351.3 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2382/0.2391, allocations: 49.44 MB / 400.7 MB, free: 8.773 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005047/0.2442, allocations: 4.179 MB / 404.9 MB, free: 4.695 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002788/0.247, allocations: 1.631 MB / 406.5 MB, free: 3.055 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002447/0.2473, allocations: 19.94 kB / 406.6 MB, free: 3.035 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0024/0.2497, allocations: 1.014 MB / 407.6 MB, free: 2.02 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005556/0.2503, allocations: 234.2 kB / 407.8 MB, free: 1.789 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001522/0.2518, allocations: 0.7896 MB / 408.6 MB, free: 1 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007575/0.2526, allocations: 0.6261 MB / 409.2 MB, free: 380 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008992/0.2535, allocations: 0.5004 MB / 409.7 MB, free: 15.87 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000457/0.2539, allocations: 267 kB / 410 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004917/0.2544, allocations: 330.7 kB / 410.3 MB, free: 15.28 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.405e-05/0.2545, allocations: 56 kB / 410.4 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004919/0.255, allocations: 267.7 kB / 410.6 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001058/0.2552, allocations: 135.5 kB / 410.7 MB, free: 14.83 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003022/0.2555, allocations: 310.5 kB / 411.1 MB, free: 14.53 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009941/0.2565, allocations: 0.9227 MB / 412 MB, free: 13.6 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.2565, allocations: 0 / 412 MB, free: 13.6 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.2565, allocations: 0 / 412 MB, free: 13.6 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.65e-05/0.2565, allocations: 0 / 412 MB, free: 13.6 MB / 334.1 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.003368/0.2599, allocations: 1.202 MB / 413.2 MB, free: 12.35 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.2599, allocations: 12.03 kB / 413.2 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001099/0.261, allocations: 176 kB / 413.4 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001973/0.2612, allocations: 236.9 kB / 413.6 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.492e-05/0.2613, allocations: 54.31 kB / 413.6 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001069/0.2614, allocations: 64.38 kB / 413.7 MB, free: 11.78 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001227/0.2627, allocations: 0.7038 MB / 414.4 MB, free: 11.05 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.721e-05/0.2627, allocations: 15.84 kB / 414.4 MB, free: 11.04 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.959e-05/0.2628, allocations: 28 kB / 414.5 MB, free: 11.01 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.009e-05/0.2628, allocations: 19.98 kB / 414.5 MB, free: 10.99 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001221/0.264, allocations: 0.5947 MB / 415.1 MB, free: 10.4 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003355/0.2674, allocations: 2.301 MB / 417.4 MB, free: 7.961 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001648/0.2691, allocations: 1.625 MB / 419 MB, free: 6.109 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005259/0.2696, allocations: 279.3 kB / 419.3 MB, free: 5.828 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001377/0.2697, allocations: 89.67 kB / 419.4 MB, free: 5.723 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.908e-05/0.2698, allocations: 55.14 kB / 419.4 MB, free: 5.66 MB / 334.1 MB Notification: Performance of pre-optimization done (n=66): time 2.775e-06/0.2698, allocations: 0 / 419.4 MB, free: 5.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=66): time 0.001574/0.2714, allocations: 0.7015 MB / 420.1 MB, free: 4.957 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.926e-05/0.2715, allocations: 111.4 kB / 420.2 MB, free: 4.824 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002625/0.2717, allocations: 256.9 kB / 420.5 MB, free: 4.562 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.843e-05/0.2718, allocations: 37.7 kB / 420.5 MB, free: 4.52 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001483/0.2719, allocations: 271.9 kB / 420.8 MB, free: 4.25 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001481/0.2721, allocations: 216.8 kB / 421 MB, free: 4.035 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001869/0.2723, allocations: 118.7 kB / 421.1 MB, free: 3.914 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.2724, allocations: 354.7 kB / 421.4 MB, free: 3.559 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004607/0.2729, allocations: 209.9 kB / 421.7 MB, free: 3.352 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005286/0.2734, allocations: 301.4 kB / 421.9 MB, free: 3.031 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009647/0.2744, allocations: 0.5181 MB / 422.5 MB, free: 2.488 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.2744, allocations: 0 / 422.5 MB, free: 2.488 MB / 334.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001203/0.2756, allocations: 0.622 MB / 423.1 MB, free: 1.859 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.2756, allocations: 11.98 kB / 423.1 MB, free: 1.848 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.2757, allocations: 4 kB / 423.1 MB, free: 1.844 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.2757, allocations: 4 kB / 423.1 MB, free: 1.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006983/0.2764, allocations: 155.8 kB / 423.3 MB, free: 1.688 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.338e-05/0.2764, allocations: 7.938 kB / 423.3 MB, free: 1.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004473/0.2769, allocations: 79.25 kB / 423.3 MB, free: 1.602 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.61e-05/0.2769, allocations: 20 kB / 423.4 MB, free: 1.582 MB / 334.1 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.0002167/0.2771, allocations: 194.3 kB / 423.6 MB, free: 1.383 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.948e-05/0.2772, allocations: 31.62 kB / 423.6 MB, free: 1.352 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001219/0.2785, allocations: 0.6084 MB / 424.2 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-06/0.2785, allocations: 4 kB / 424.2 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.2785, allocations: 0 / 424.2 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.697e-06/0.2785, allocations: 7.984 kB / 424.2 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002064/0.2806, allocations: 1.294 MB / 425.5 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.2806, allocations: 0 / 425.5 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005727/0.2812, allocations: 127.8 kB / 425.6 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.068e-05/0.2812, allocations: 7.984 kB / 425.6 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.751e-05/0.2812, allocations: 12 kB / 425.6 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.872e-06/0.2812, allocations: 7.938 kB / 425.6 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.2813, allocations: 3.984 kB / 425.7 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001637/0.2829, allocations: 0.9752 MB / 426.6 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001087/0.283, allocations: 120.6 kB / 426.7 MB, free: 14.08 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.492e-05/0.2831, allocations: 19.98 kB / 426.8 MB, free: 14.06 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003916/0.2835, allocations: 31.98 kB / 426.8 MB, free: 14.03 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.746e-05/0.2836, allocations: 40.5 kB / 426.8 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.772e-05/0.2836, allocations: 20 kB / 426.9 MB, free: 13.97 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001912/0.2838, allocations: 196.5 kB / 427 MB, free: 13.78 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2838, allocations: 0 / 427 MB, free: 13.78 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005674/0.2844, allocations: 175.4 kB / 427.2 MB, free: 13.61 MB / 350.1 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.0002263/0.2847, allocations: 147 kB / 427.4 MB, free: 13.46 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00114/0.2858, allocations: 0.539 MB / 427.9 MB, free: 12.92 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2858, allocations: 0 / 427.9 MB, free: 12.92 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004987/0.2863, allocations: 267.1 kB / 428.2 MB, free: 12.66 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004754/0.2868, allocations: 54.11 kB / 428.2 MB, free: 12.61 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002066/0.2889, allocations: 1.073 MB / 429.3 MB, free: 11.5 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004241/0.2893, allocations: 0.8499 MB / 430.1 MB, free: 10.63 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000342/0.2897, allocations: 79.41 kB / 430.2 MB, free: 10.55 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001448/0.2898, allocations: 43.42 kB / 430.3 MB, free: 10.51 MB / 350.1 MB Notification: Performance of SimCode: time 6.21e-07/0.2898, allocations: 0 / 430.3 MB, free: 10.51 MB / 350.1 MB Notification: Performance of Templates: time 0.0102/0.3001, allocations: 5.194 MB / 435.5 MB, free: 5.355 MB / 350.1 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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