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.001112/0.001112, allocations: 109.5 kB / 17.68 MB, free: 5.332 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.001122/0.001122, allocations: 190.9 kB / 18.62 MB, free: 4.41 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.278/1.278, allocations: 222.9 MB / 242.3 MB, free: 15.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001005/0.001005, allocations: 55.52 kB / 302.1 MB, free: 5.125 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07922/0.08024, allocations: 49.44 MB / 351.5 MB, free: 3.652 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.004947/0.08522, allocations: 4.183 MB / 355.7 MB, free: 15.45 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002144/0.08738, allocations: 1.623 MB / 357.3 MB, free: 13.82 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001421/0.08754, allocations: 12 kB / 357.3 MB, free: 13.8 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002011/0.08956, allocations: 1.011 MB / 358.3 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004033/0.08997, allocations: 234.3 kB / 358.6 MB, free: 12.56 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001359/0.09134, allocations: 0.801 MB / 359.4 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005199/0.09187, allocations: 0.6222 MB / 360 MB, free: 11.13 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006375/0.09251, allocations: 0.4915 MB / 360.5 MB, free: 10.63 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000276/0.0928, allocations: 263 kB / 360.7 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003762/0.09319, allocations: 338.7 kB / 361.1 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.748e-05/0.09326, allocations: 56 kB / 361.1 MB, free: 9.988 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004058/0.09367, allocations: 263.8 kB / 361.4 MB, free: 9.73 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.525e-05/0.09378, allocations: 135.5 kB / 361.5 MB, free: 9.598 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002444/0.09403, allocations: 310.5 kB / 361.8 MB, free: 9.293 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008052/0.09484, allocations: 0.9151 MB / 362.7 MB, free: 8.375 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.09485, allocations: 0 / 362.7 MB, free: 8.375 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.09486, allocations: 0 / 362.7 MB, free: 8.375 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.736e-06/0.09487, allocations: 0 / 362.7 MB, free: 8.375 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.003345/0.09822, allocations: 1.21 MB / 363.9 MB, free: 7.117 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.109e-05/0.09826, allocations: 12.03 kB / 364 MB, free: 7.105 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001124/0.0994, allocations: 176 kB / 364.1 MB, free: 6.934 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001738/0.09958, allocations: 245.3 kB / 364.4 MB, free: 6.652 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.622e-05/0.09963, allocations: 54.31 kB / 364.4 MB, free: 6.598 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.395e-05/0.09973, allocations: 64.38 kB / 364.5 MB, free: 6.535 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00116/0.1009, allocations: 0.7115 MB / 365.2 MB, free: 5.809 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.096e-05/0.1009, allocations: 0 / 365.2 MB, free: 5.809 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.775e-05/0.101, allocations: 24 kB / 365.2 MB, free: 5.785 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.665e-05/0.101, allocations: 16 kB / 365.2 MB, free: 5.77 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001223/0.1022, allocations: 0.6141 MB / 365.8 MB, free: 5.156 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003154/0.1054, allocations: 2.289 MB / 368.1 MB, free: 2.734 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001533/0.107, allocations: 1.633 MB / 369.8 MB, free: 0.8711 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005056/0.1075, allocations: 274.5 kB / 370 MB, free: 0.6016 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001158/0.1076, allocations: 93.66 kB / 370.1 MB, free: 0.4922 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.1076, allocations: 39.12 kB / 370.2 MB, free: 456 kB / 302.1 MB Notification: Performance of pre-optimization done (n=66): time 2.234e-06/0.1076, allocations: 4 kB / 370.2 MB, free: 452 kB / 302.1 MB Notification: Performance of matching and sorting (n=66): time 0.134/0.2417, allocations: 0.6946 MB / 370.9 MB, free: 25.54 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.601e-05/0.2417, allocations: 114.8 kB / 371 MB, free: 25.42 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002636/0.242, allocations: 265.9 kB / 371.2 MB, free: 25.31 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.133e-05/0.2421, allocations: 35.05 kB / 371.3 MB, free: 25.28 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.2422, allocations: 262.4 kB / 371.5 MB, free: 25.14 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000111/0.2423, allocations: 225.2 kB / 371.8 MB, free: 25 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001702/0.2425, allocations: 117.8 kB / 371.9 MB, free: 24.98 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.696e-05/0.2425, allocations: 347.8 kB / 372.2 MB, free: 24.67 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004504/0.243, allocations: 210.1 kB / 372.4 MB, free: 24.66 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004892/0.2435, allocations: 306.8 kB / 372.7 MB, free: 24.59 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009055/0.2444, allocations: 0.5159 MB / 373.2 MB, free: 24.48 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.2444, allocations: 1.047 kB / 373.2 MB, free: 24.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.00114/0.2455, allocations: 0.626 MB / 373.9 MB, free: 24.23 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.2456, allocations: 9.5 kB / 373.9 MB, free: 24.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.2456, allocations: 2.906 kB / 373.9 MB, free: 24.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.2456, allocations: 8.859 kB / 373.9 MB, free: 24.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007271/0.2463, allocations: 164.6 kB / 374 MB, free: 24.22 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.2464, allocations: 5.312 kB / 374 MB, free: 24.22 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00044/0.2468, allocations: 69.34 kB / 374.1 MB, free: 24.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.424e-05/0.2469, allocations: 26.59 kB / 374.1 MB, free: 24.17 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.0001682/0.247, allocations: 189 kB / 374.3 MB, free: 24 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.468e-05/0.2471, allocations: 42.16 kB / 374.4 MB, free: 23.98 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001105/0.2482, allocations: 0.6003 MB / 375 MB, free: 23.73 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.2483, allocations: 7.5 kB / 375 MB, free: 23.73 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.2483, allocations: 1.281 kB / 375 MB, free: 23.73 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.2483, allocations: 6.094 kB / 375 MB, free: 23.73 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001862/0.2501, allocations: 1.288 MB / 376.3 MB, free: 23.03 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.736e-06/0.2502, allocations: 0 / 376.3 MB, free: 23.03 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005613/0.2507, allocations: 132.6 kB / 376.4 MB, free: 23.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.2507, allocations: 3.344 kB / 376.4 MB, free: 23.02 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.741e-05/0.2508, allocations: 19.94 kB / 376.4 MB, free: 23.01 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.2508, allocations: 4.344 kB / 376.4 MB, free: 23.01 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.2508, allocations: 0 / 376.4 MB, free: 23.01 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00144/0.2523, allocations: 0.9721 MB / 377.4 MB, free: 22.49 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.928e-05/0.2523, allocations: 127.8 kB / 377.5 MB, free: 22.36 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.995e-05/0.2524, allocations: 12.2 kB / 377.5 MB, free: 22.36 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004056/0.2528, allocations: 30.53 kB / 377.6 MB, free: 22.35 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.2529, allocations: 47.92 kB / 377.6 MB, free: 22.33 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.325e-05/0.253, allocations: 18.23 kB / 377.6 MB, free: 22.33 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001569/0.2531, allocations: 194.5 kB / 377.8 MB, free: 22.21 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2531, allocations: 0 / 377.8 MB, free: 22.21 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005173/0.2537, allocations: 174.7 kB / 378 MB, free: 22.17 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.000198/0.2539, allocations: 153.3 kB / 378.1 MB, free: 22.07 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001045/0.2549, allocations: 0.5354 MB / 378.7 MB, free: 21.91 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2549, allocations: 3.828 kB / 378.7 MB, free: 21.91 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004623/0.2554, allocations: 276.3 kB / 378.9 MB, free: 21.82 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004895/0.2559, allocations: 42.95 kB / 379 MB, free: 21.8 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001784/0.2577, allocations: 1.068 MB / 380.1 MB, free: 21.25 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002814/0.258, allocations: 0.8457 MB / 380.9 MB, free: 20.54 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003316/0.2583, allocations: 75.42 kB / 381 MB, free: 20.52 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001384/0.2585, allocations: 49.97 kB / 381 MB, free: 20.5 MB / 302.1 MB Notification: Performance of SimCode: time 7.92e-07/0.2585, allocations: 0 / 381 MB, free: 20.5 MB / 302.1 MB Notification: Performance of Templates: time 0.009227/0.2677, allocations: 5.09 MB / 386.1 MB, free: 19.49 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 -s gbode -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