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.001341/0.001341, allocations: 108.3 kB / 17.7 MB, free: 5.496 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.001268/0.001268, allocations: 187.1 kB / 18.62 MB, free: 4.578 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.321/1.321, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001006/0.001006, allocations: 47.92 kB / 351.9 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2563/0.2573, allocations: 49.44 MB / 401.4 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005282/0.2627, allocations: 4.184 MB / 405.5 MB, free: 4.668 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003055/0.2658, allocations: 1.627 MB / 407.2 MB, free: 3.031 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002747/0.2661, allocations: 12 kB / 407.2 MB, free: 3.02 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002279/0.2683, allocations: 1.009 MB / 408.2 MB, free: 2.008 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006108/0.269, allocations: 234.2 kB / 408.4 MB, free: 1.777 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001553/0.2705, allocations: 0.8007 MB / 409.2 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006899/0.2712, allocations: 0.6222 MB / 409.8 MB, free: 360 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007237/0.272, allocations: 0.4888 MB / 410.3 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003448/0.2723, allocations: 274.9 kB / 410.6 MB, free: 15.59 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003893/0.2727, allocations: 334.7 kB / 410.9 MB, free: 15.26 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.041e-05/0.2728, allocations: 52 kB / 411 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005621/0.2734, allocations: 267.7 kB / 411.2 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.2735, allocations: 131.5 kB / 411.4 MB, free: 14.82 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002622/0.2738, allocations: 306.5 kB / 411.7 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000945/0.2747, allocations: 0.9227 MB / 412.6 MB, free: 13.59 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.2747, allocations: 0 / 412.6 MB, free: 13.59 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.2747, allocations: 4 kB / 412.6 MB, free: 13.59 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.448e-06/0.2747, allocations: 0 / 412.6 MB, free: 13.59 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.003497/0.2782, allocations: 1.202 MB / 413.8 MB, free: 12.34 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.2783, allocations: 15.89 kB / 413.8 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001174/0.2795, allocations: 168.1 kB / 414 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002391/0.2797, allocations: 256.8 kB / 414.2 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.826e-05/0.2798, allocations: 46.38 kB / 414.3 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001206/0.2799, allocations: 64.38 kB / 414.3 MB, free: 11.76 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001238/0.2812, allocations: 0.7038 MB / 415 MB, free: 11.04 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.721e-05/0.2812, allocations: 7.906 kB / 415 MB, free: 11.03 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.62e-05/0.2813, allocations: 24 kB / 415.1 MB, free: 11 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.849e-05/0.2813, allocations: 27.98 kB / 415.1 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00125/0.2826, allocations: 0.5985 MB / 415.7 MB, free: 10.38 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003279/0.2859, allocations: 2.304 MB / 418 MB, free: 7.938 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001659/0.2875, allocations: 1.626 MB / 419.6 MB, free: 6.086 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005234/0.2881, allocations: 275.4 kB / 419.9 MB, free: 5.809 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001203/0.2882, allocations: 93.66 kB / 420 MB, free: 5.699 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.144e-05/0.2883, allocations: 43.12 kB / 420 MB, free: 5.648 MB / 334.1 MB Notification: Performance of pre-optimization done (n=66): time 2.615e-06/0.2883, allocations: 0 / 420 MB, free: 5.648 MB / 334.1 MB Notification: Performance of matching and sorting (n=66): time 0.001602/0.2899, allocations: 0.7055 MB / 420.7 MB, free: 4.941 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.9e-05/0.29, allocations: 111.4 kB / 420.8 MB, free: 4.809 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002967/0.2903, allocations: 264.9 kB / 421.1 MB, free: 4.539 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.904e-05/0.2903, allocations: 33.7 kB / 421.1 MB, free: 4.5 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001551/0.2905, allocations: 267.9 kB / 421.4 MB, free: 4.234 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001509/0.2907, allocations: 224.8 kB / 421.6 MB, free: 4.012 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001964/0.2909, allocations: 114.6 kB / 421.7 MB, free: 3.895 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.291, allocations: 346.7 kB / 422.1 MB, free: 3.547 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004978/0.2915, allocations: 217.9 kB / 422.3 MB, free: 3.332 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00054/0.2921, allocations: 301.4 kB / 422.6 MB, free: 3.012 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001006/0.2931, allocations: 0.5181 MB / 423.1 MB, free: 2.469 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.2931, allocations: 0 / 423.1 MB, free: 2.469 MB / 334.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001261/0.2943, allocations: 0.6218 MB / 423.7 MB, free: 1.84 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.2944, allocations: 4 kB / 423.7 MB, free: 1.836 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.2944, allocations: 4.188 kB / 423.7 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.2944, allocations: 12 kB / 423.7 MB, free: 1.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007051/0.2951, allocations: 163.8 kB / 423.9 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.721e-05/0.2952, allocations: 4 kB / 423.9 MB, free: 1.656 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004869/0.2957, allocations: 71.27 kB / 424 MB, free: 1.586 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.747e-05/0.2957, allocations: 31.98 kB / 424 MB, free: 1.555 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.0002279/0.296, allocations: 186.3 kB / 424.2 MB, free: 1.363 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.052e-05/0.2961, allocations: 35.62 kB / 424.2 MB, free: 1.328 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001265/0.2973, allocations: 0.6123 MB / 424.8 MB, free: 0.707 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.2973, allocations: 8 kB / 424.8 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.2974, allocations: 0 / 424.8 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.2974, allocations: 3.984 kB / 424.8 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002073/0.2994, allocations: 1.282 MB / 426.1 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.2995, allocations: 7.938 kB / 426.1 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005489/0.3, allocations: 127.8 kB / 426.2 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.183e-06/0.3, allocations: 4 kB / 426.2 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.73e-05/0.3001, allocations: 16 kB / 426.3 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.835e-06/0.3001, allocations: 7.938 kB / 426.3 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3001, allocations: 0 / 426.3 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001656/0.3018, allocations: 0.9752 MB / 427.2 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.804e-05/0.3019, allocations: 120.6 kB / 427.4 MB, free: 14.06 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.912e-05/0.302, allocations: 12 kB / 427.4 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004032/0.3024, allocations: 35.91 kB / 427.4 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.901e-05/0.3025, allocations: 48.56 kB / 427.5 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.163e-05/0.3025, allocations: 16 kB / 427.5 MB, free: 13.95 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001844/0.3027, allocations: 192.5 kB / 427.7 MB, free: 13.77 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3027, allocations: 0 / 427.7 MB, free: 13.77 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005916/0.3033, allocations: 175.4 kB / 427.8 MB, free: 13.59 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.0002793/0.3036, allocations: 159 kB / 428 MB, free: 13.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001127/0.3047, allocations: 0.5312 MB / 428.5 MB, free: 12.9 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/0.3047, allocations: 4 kB / 428.5 MB, free: 12.9 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000505/0.3053, allocations: 271.1 kB / 428.8 MB, free: 12.63 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000483/0.3057, allocations: 50.47 kB / 428.8 MB, free: 12.58 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002049/0.3078, allocations: 1.098 MB / 429.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000413/0.3082, allocations: 0.8421 MB / 430.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000197/0.3084, allocations: 55.42 kB / 430.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3085, allocations: 0 / 430.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of Templates: time 0.009814/0.3183, allocations: 6.708 MB / 437.5 MB, free: 3.852 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","/var/lib/jenkins1/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