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.001136/0.001136, allocations: 115.8 kB / 17.74 MB, free: 5.344 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.001119/0.001119, allocations: 189.5 kB / 18.67 MB, free: 4.422 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.351/1.351, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001119/0.001119, allocations: 55.92 kB / 352 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.282/0.2831, allocations: 49.43 MB / 401.4 MB, free: 8.969 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005037/0.2882, allocations: 4.179 MB / 405.6 MB, free: 4.832 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002661/0.2909, allocations: 1.639 MB / 407.2 MB, free: 3.184 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002056/0.2911, allocations: 15.94 kB / 407.2 MB, free: 3.168 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002196/0.2933, allocations: 1.002 MB / 408.2 MB, free: 2.164 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005232/0.2939, allocations: 230.2 kB / 408.5 MB, free: 1.938 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001498/0.2954, allocations: 0.8 MB / 409.3 MB, free: 1.137 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005898/0.296, allocations: 0.6261 MB / 409.9 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007059/0.2967, allocations: 496.5 kB / 410.4 MB, free: 20 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003371/0.297, allocations: 275 kB / 410.7 MB, free: 15.75 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003956/0.2974, allocations: 334.7 kB / 411 MB, free: 15.42 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.154e-05/0.2975, allocations: 52 kB / 411 MB, free: 15.37 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005103/0.298, allocations: 271.7 kB / 411.3 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001068/0.2982, allocations: 135.5 kB / 411.4 MB, free: 14.97 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002921/0.2985, allocations: 302.5 kB / 411.7 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001106/0.2996, allocations: 0.9267 MB / 412.6 MB, free: 13.75 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.2996, allocations: 4 kB / 412.7 MB, free: 13.74 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2996, allocations: 0 / 412.7 MB, free: 13.74 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.08e-05/0.2996, allocations: 0 / 412.7 MB, free: 13.74 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.003758/0.3034, allocations: 1.202 MB / 413.9 MB, free: 12.49 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.3034, allocations: 8.031 kB / 413.9 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001192/0.3046, allocations: 172.1 kB / 414 MB, free: 12.31 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002153/0.3049, allocations: 244.9 kB / 414.3 MB, free: 12.03 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.368e-05/0.3049, allocations: 50.38 kB / 414.3 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000109/0.305, allocations: 64.38 kB / 414.4 MB, free: 11.92 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001281/0.3063, allocations: 0.7038 MB / 415.1 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.363e-05/0.3063, allocations: 7.891 kB / 415.1 MB, free: 11.19 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.601e-05/0.3064, allocations: 36 kB / 415.1 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.379e-05/0.3064, allocations: 16 kB / 415.1 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001251/0.3077, allocations: 0.5986 MB / 415.7 MB, free: 10.54 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003439/0.3111, allocations: 2.304 MB / 418 MB, free: 8.102 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001664/0.3128, allocations: 1.622 MB / 419.7 MB, free: 6.254 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005178/0.3134, allocations: 279.4 kB / 419.9 MB, free: 5.973 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000117/0.3135, allocations: 97.66 kB / 420 MB, free: 5.859 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/0.3135, allocations: 47.06 kB / 420.1 MB, free: 5.805 MB / 334.1 MB Notification: Performance of pre-optimization done (n=66): time 2.394e-06/0.3135, allocations: 0 / 420.1 MB, free: 5.805 MB / 334.1 MB Notification: Performance of matching and sorting (n=66): time 0.001628/0.3152, allocations: 0.7055 MB / 420.8 MB, free: 5.098 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.659e-05/0.3153, allocations: 107.4 kB / 420.9 MB, free: 4.969 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002918/0.3156, allocations: 260.9 kB / 421.1 MB, free: 4.703 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.167e-05/0.3156, allocations: 37.7 kB / 421.2 MB, free: 4.66 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000158/0.3158, allocations: 264 kB / 421.4 MB, free: 4.398 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001637/0.3159, allocations: 224.7 kB / 421.7 MB, free: 4.176 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002031/0.3161, allocations: 118.6 kB / 421.8 MB, free: 4.055 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.3163, allocations: 350.8 kB / 422.1 MB, free: 3.703 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000493/0.3168, allocations: 209.9 kB / 422.3 MB, free: 3.496 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005404/0.3173, allocations: 297.3 kB / 422.6 MB, free: 3.18 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001019/0.3184, allocations: 0.5259 MB / 423.1 MB, free: 2.629 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.3184, allocations: 0 / 423.1 MB, free: 2.629 MB / 334.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001263/0.3196, allocations: 0.6179 MB / 423.8 MB, free: 2.004 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.3197, allocations: 8 kB / 423.8 MB, free: 1.996 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.3197, allocations: 8.172 kB / 423.8 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.3197, allocations: 4 kB / 423.8 MB, free: 1.984 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000771/0.3205, allocations: 167.7 kB / 423.9 MB, free: 1.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.322e-05/0.3205, allocations: 4 kB / 423.9 MB, free: 1.816 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005311/0.3211, allocations: 75.27 kB / 424 MB, free: 1.742 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.732e-05/0.3211, allocations: 23.98 kB / 424 MB, free: 1.719 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.0002337/0.3214, allocations: 186.3 kB / 424.2 MB, free: 1.527 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.3215, allocations: 39.62 kB / 424.3 MB, free: 1.488 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001308/0.3228, allocations: 0.6084 MB / 424.9 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/0.3228, allocations: 8 kB / 424.9 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.3228, allocations: 0 / 424.9 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.3228, allocations: 3.984 kB / 424.9 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002143/0.325, allocations: 1.286 MB / 426.2 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.325, allocations: 8 kB / 426.2 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000583/0.3256, allocations: 123.9 kB / 426.3 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.345e-06/0.3256, allocations: 4 kB / 426.3 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.961e-05/0.3256, allocations: 12 kB / 426.3 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.079e-06/0.3257, allocations: 7.875 kB / 426.3 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.3257, allocations: 4 kB / 426.3 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001691/0.3274, allocations: 0.9752 MB / 427.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/0.3275, allocations: 120.6 kB / 427.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.083e-05/0.3276, allocations: 12 kB / 427.4 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004315/0.328, allocations: 31.97 kB / 427.5 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.3281, allocations: 44.5 kB / 427.5 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.424e-05/0.3282, allocations: 20 kB / 427.5 MB, free: 14.12 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001834/0.3283, allocations: 192.5 kB / 427.7 MB, free: 13.93 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3284, allocations: 3.938 kB / 427.7 MB, free: 13.93 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005658/0.3289, allocations: 179.4 kB / 427.9 MB, free: 13.75 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.0002334/0.3292, allocations: 147.1 kB / 428 MB, free: 13.6 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001164/0.3303, allocations: 0.5351 MB / 428.6 MB, free: 13.07 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3304, allocations: 3.938 kB / 428.6 MB, free: 13.07 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005192/0.3309, allocations: 275 kB / 428.8 MB, free: 12.79 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005329/0.3314, allocations: 50.11 kB / 428.9 MB, free: 12.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002119/0.3336, allocations: 1.102 MB / 430 MB, free: 11.61 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003988/0.334, allocations: 0.846 MB / 430.8 MB, free: 10.74 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002247/0.3342, allocations: 51.42 kB / 430.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3342, allocations: 4 kB / 430.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of Templates: time 0.01019/0.3444, allocations: 6.767 MB / 437.7 MB, free: 3.949 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