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.001071/0.001071, allocations: 105.9 kB / 16.51 MB, free: 6.707 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.001127/0.001127, allocations: 190.6 kB / 17.43 MB, free: 6.066 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.254/1.254, allocations: 222.9 MB / 241.1 MB, free: 15.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001079/0.001079, allocations: 51.23 kB / 300 MB, free: 6.289 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08817/0.08926, allocations: 49.44 MB / 349.4 MB, free: 4.832 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005219/0.09453, allocations: 4.183 MB / 353.6 MB, free: 0.625 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002609/0.09716, allocations: 1.631 MB / 355.2 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003594/0.09754, allocations: 12 kB / 355.2 MB, free: 14.97 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002136/0.09971, allocations: 0.9379 MB / 356.2 MB, free: 14.03 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006493/0.1004, allocations: 198.8 kB / 356.4 MB, free: 13.84 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001527/0.1019, allocations: 0.7889 MB / 357.2 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007161/0.1026, allocations: 0.5949 MB / 357.7 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007517/0.1034, allocations: 445.7 kB / 358.2 MB, free: 12 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003726/0.1038, allocations: 251 kB / 358.4 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004162/0.1042, allocations: 334.6 kB / 358.8 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001062/0.1043, allocations: 36 kB / 358.8 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005656/0.1049, allocations: 251.8 kB / 359 MB, free: 11.15 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000111/0.105, allocations: 115.5 kB / 359.1 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003396/0.1054, allocations: 298.5 kB / 359.4 MB, free: 10.74 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009774/0.1064, allocations: 0.8996 MB / 360.3 MB, free: 9.84 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1064, allocations: 4 kB / 360.3 MB, free: 9.836 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.21e-07/0.1064, allocations: 0 / 360.3 MB, free: 9.836 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.76e-05/0.1064, allocations: 4 kB / 360.3 MB, free: 9.832 MB / 302.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.003677/0.1101, allocations: 1.202 MB / 361.5 MB, free: 8.578 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.1101, allocations: 8.031 kB / 361.6 MB, free: 8.57 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001153/0.1113, allocations: 172 kB / 361.7 MB, free: 8.402 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002226/0.1115, allocations: 248.1 kB / 362 MB, free: 8.117 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.712e-05/0.1116, allocations: 54.38 kB / 362 MB, free: 8.066 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/0.1117, allocations: 64.38 kB / 362.1 MB, free: 8.004 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001362/0.1131, allocations: 0.7037 MB / 362.8 MB, free: 7.281 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.137e-05/0.1131, allocations: 0 / 362.8 MB, free: 7.281 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.747e-05/0.1132, allocations: 35.98 kB / 362.8 MB, free: 7.246 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.615e-05/0.1132, allocations: 20 kB / 362.8 MB, free: 7.227 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001307/0.1145, allocations: 0.6024 MB / 363.4 MB, free: 6.621 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003382/0.1179, allocations: 2.324 MB / 365.8 MB, free: 4.164 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001603/0.1195, allocations: 1.625 MB / 367.4 MB, free: 2.309 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00052/0.1201, allocations: 275.4 kB / 367.7 MB, free: 2.035 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001327/0.1202, allocations: 89.66 kB / 367.7 MB, free: 1.93 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.713e-05/0.1203, allocations: 43.22 kB / 367.8 MB, free: 1.879 MB / 302.1 MB Notification: Performance of pre-optimization done (n=66): time 3.527e-06/0.1203, allocations: 3.938 kB / 367.8 MB, free: 1.875 MB / 302.1 MB Notification: Performance of matching and sorting (n=66): time 0.001632/0.1219, allocations: 0.6977 MB / 368.5 MB, free: 1.172 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.814e-05/0.122, allocations: 115.3 kB / 368.6 MB, free: 1.035 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002854/0.1223, allocations: 260.9 kB / 368.9 MB, free: 0.7734 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.08e-05/0.1223, allocations: 37.7 kB / 368.9 MB, free: 0.7305 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001647/0.1225, allocations: 268.1 kB / 369.2 MB, free: 476 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001655/0.1227, allocations: 228.6 kB / 369.4 MB, free: 244 kB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001878/0.1229, allocations: 118.6 kB / 369.5 MB, free: 120 kB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.1557/0.2786, allocations: 346.8 kB / 369.8 MB, free: 25.21 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008483/0.2795, allocations: 205.9 kB / 370 MB, free: 25.21 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000705/0.2802, allocations: 301.1 kB / 370.3 MB, free: 25.14 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001071/0.2813, allocations: 0.514 MB / 370.8 MB, free: 25.08 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.259e-06/0.2813, allocations: 0.9375 kB / 370.8 MB, free: 25.08 MB / 302.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001389/0.2827, allocations: 0.6307 MB / 371.5 MB, free: 25.03 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.08e-05/0.2828, allocations: 5.797 kB / 371.5 MB, free: 25.03 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.2828, allocations: 2.5 kB / 371.5 MB, free: 25.03 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.11e-05/0.2828, allocations: 4.25 kB / 371.5 MB, free: 25.03 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008127/0.2836, allocations: 161.8 kB / 371.6 MB, free: 25.03 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.434e-05/0.2837, allocations: 5.625 kB / 371.7 MB, free: 25.03 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005678/0.2842, allocations: 70.33 kB / 371.7 MB, free: 25.03 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.092e-05/0.2843, allocations: 27.42 kB / 371.7 MB, free: 25.03 MB / 302.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.0002545/0.2846, allocations: 192.5 kB / 371.9 MB, free: 24.9 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.207e-05/0.2847, allocations: 41.5 kB / 372 MB, free: 24.9 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001305/0.286, allocations: 0.6019 MB / 372.6 MB, free: 24.65 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.243e-06/0.286, allocations: 5.531 kB / 372.6 MB, free: 24.65 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.286, allocations: 5.719 kB / 372.6 MB, free: 24.64 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.286, allocations: 3.875 kB / 372.6 MB, free: 24.64 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002041/0.2881, allocations: 1.299 MB / 373.9 MB, free: 23.95 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.2881, allocations: 1.375 kB / 373.9 MB, free: 23.95 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005758/0.2887, allocations: 128.8 kB / 374 MB, free: 23.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.2887, allocations: 2.688 kB / 374 MB, free: 23.93 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.441e-05/0.2887, allocations: 14.23 kB / 374 MB, free: 23.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.611e-06/0.2888, allocations: 7.562 kB / 374 MB, free: 23.93 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.2888, allocations: 1.375 kB / 374 MB, free: 23.93 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001486/0.2903, allocations: 0.9806 MB / 375 MB, free: 23.41 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.42e-05/0.2903, allocations: 120 kB / 375.1 MB, free: 23.29 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.411e-05/0.2904, allocations: 16.58 kB / 375.2 MB, free: 23.27 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003998/0.2908, allocations: 31.17 kB / 375.2 MB, free: 23.26 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.2909, allocations: 40.19 kB / 375.2 MB, free: 23.26 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-05/0.291, allocations: 18.06 kB / 375.2 MB, free: 23.25 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001639/0.2911, allocations: 194.8 kB / 375.4 MB, free: 23.14 MB / 302.1 MB Notification: Performance of sort global known variables: time 7.21e-07/0.2911, allocations: 0 / 375.4 MB, free: 23.14 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005484/0.2917, allocations: 177 kB / 375.6 MB, free: 23.09 MB / 302.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.000199/0.2919, allocations: 147.8 kB / 375.8 MB, free: 22.99 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001093/0.293, allocations: 0.5345 MB / 376.3 MB, free: 22.82 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.293, allocations: 0 / 376.3 MB, free: 22.82 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004907/0.2935, allocations: 271.9 kB / 376.6 MB, free: 22.73 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004995/0.294, allocations: 60.33 kB / 376.6 MB, free: 22.7 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001805/0.2958, allocations: 1.329 MB / 377.9 MB, free: 21.87 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002355/0.2961, allocations: 0.843 MB / 378.8 MB, free: 21.16 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004312/0.2965, allocations: 81.86 kB / 378.9 MB, free: 21.14 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000142/0.2967, allocations: 44.39 kB / 378.9 MB, free: 21.13 MB / 302.1 MB Notification: Performance of SimCode: time 7.11e-07/0.2967, allocations: 0 / 378.9 MB, free: 21.13 MB / 302.1 MB Notification: Performance of Templates: time 0.008656/0.3054, allocations: 4.874 MB / 383.8 MB, free: 20.41 MB / 302.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