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.001161/0.001161, allocations: 111.8 kB / 17.68 MB, free: 5.355 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.001288/0.001288, allocations: 190.9 kB / 18.62 MB, free: 4.434 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.26/1.26, allocations: 222.9 MB / 242.3 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009616/0.000962, allocations: 58.66 kB / 302.1 MB, free: 5.129 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08372/0.0847, allocations: 49.43 MB / 351.5 MB, free: 3.672 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005042/0.08978, allocations: 4.184 MB / 355.7 MB, free: 15.46 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002491/0.0923, allocations: 1.623 MB / 357.3 MB, free: 13.83 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001647/0.09248, allocations: 16 kB / 357.3 MB, free: 13.81 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002047/0.09454, allocations: 1.01 MB / 358.3 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000492/0.09504, allocations: 234.2 kB / 358.6 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001398/0.09645, allocations: 0.793 MB / 359.4 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005473/0.097, allocations: 0.6183 MB / 360 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006514/0.09766, allocations: 0.4954 MB / 360.5 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003036/0.09798, allocations: 270.9 kB / 360.7 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003815/0.09837, allocations: 342.6 kB / 361.1 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.476e-05/0.09845, allocations: 52 kB / 361.1 MB, free: 10 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004474/0.09891, allocations: 263.8 kB / 361.4 MB, free: 9.742 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000111/0.09903, allocations: 127.5 kB / 361.5 MB, free: 9.617 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002489/0.09928, allocations: 318.5 kB / 361.8 MB, free: 9.305 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008167/0.1001, allocations: 0.9151 MB / 362.7 MB, free: 8.387 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1001, allocations: 0 / 362.7 MB, free: 8.387 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.1001, allocations: 0 / 362.7 MB, free: 8.387 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.317e-06/0.1001, allocations: 0 / 362.7 MB, free: 8.387 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.003266/0.1034, allocations: 1.206 MB / 363.9 MB, free: 7.133 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.1035, allocations: 19.97 kB / 364 MB, free: 7.113 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00105/0.1045, allocations: 176 kB / 364.1 MB, free: 6.941 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002111/0.1047, allocations: 245.3 kB / 364.4 MB, free: 6.66 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.68e-05/0.1048, allocations: 50.31 kB / 364.4 MB, free: 6.609 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001036/0.1049, allocations: 68.38 kB / 364.5 MB, free: 6.543 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001145/0.1061, allocations: 0.7076 MB / 365.2 MB, free: 5.82 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.937e-05/0.1061, allocations: 4 kB / 365.2 MB, free: 5.816 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.242e-05/0.1061, allocations: 24 kB / 365.2 MB, free: 5.793 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.437e-05/0.1062, allocations: 16 kB / 365.2 MB, free: 5.777 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00112/0.1073, allocations: 0.6063 MB / 365.8 MB, free: 5.172 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002984/0.1103, allocations: 2.297 MB / 368.1 MB, free: 2.742 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001517/0.1118, allocations: 1.629 MB / 369.8 MB, free: 0.8828 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004628/0.1123, allocations: 278.4 kB / 370 MB, free: 0.6094 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001222/0.1124, allocations: 97.64 kB / 370.1 MB, free: 0.4961 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.1125, allocations: 39.12 kB / 370.2 MB, free: 460 kB / 302.1 MB Notification: Performance of pre-optimization done (n=66): time 2.355e-06/0.1125, allocations: 0 / 370.2 MB, free: 460 kB / 302.1 MB Notification: Performance of matching and sorting (n=66): time 0.1535/0.266, allocations: 0.6985 MB / 370.9 MB, free: 25.56 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/0.266, allocations: 114.2 kB / 371 MB, free: 25.44 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002997/0.2663, allocations: 262.7 kB / 371.2 MB, free: 25.33 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.739e-05/0.2664, allocations: 34.77 kB / 371.3 MB, free: 25.3 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.2665, allocations: 259.5 kB / 371.5 MB, free: 25.17 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001234/0.2666, allocations: 225.2 kB / 371.7 MB, free: 25.03 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001665/0.2668, allocations: 117.2 kB / 371.9 MB, free: 25.01 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.975e-05/0.2669, allocations: 347.3 kB / 372.2 MB, free: 24.7 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004422/0.2673, allocations: 210.8 kB / 372.4 MB, free: 24.69 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000487/0.2678, allocations: 303.4 kB / 372.7 MB, free: 24.61 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008815/0.2687, allocations: 0.5101 MB / 373.2 MB, free: 24.52 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.2687, allocations: 5.641 kB / 373.2 MB, free: 24.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001145/0.2699, allocations: 0.6351 MB / 373.9 MB, free: 24.26 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.64e-05/0.2699, allocations: 9.859 kB / 373.9 MB, free: 24.26 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.2699, allocations: 5 kB / 373.9 MB, free: 24.26 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.455e-05/0.27, allocations: 4.578 kB / 373.9 MB, free: 24.26 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008485/0.2708, allocations: 157.8 kB / 374 MB, free: 24.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.582e-05/0.2709, allocations: 4.641 kB / 374 MB, free: 24.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004862/0.2713, allocations: 76.03 kB / 374.1 MB, free: 24.21 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.023e-05/0.2714, allocations: 25.58 kB / 374.1 MB, free: 24.2 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.0002248/0.2716, allocations: 188 kB / 374.3 MB, free: 24.04 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.2718, allocations: 47.14 kB / 374.4 MB, free: 24.01 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001289/0.2731, allocations: 0.5957 MB / 375 MB, free: 23.76 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.108e-05/0.2731, allocations: 7.625 kB / 375 MB, free: 23.76 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.2731, allocations: 2.812 kB / 375 MB, free: 23.76 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/0.2731, allocations: 4.375 kB / 375 MB, free: 23.76 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001876/0.275, allocations: 1.29 MB / 376.3 MB, free: 23.06 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.275, allocations: 2.125 kB / 376.3 MB, free: 23.06 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005209/0.2755, allocations: 130.2 kB / 376.4 MB, free: 23.05 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.2755, allocations: 3.094 kB / 376.4 MB, free: 23.05 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.393e-05/0.2756, allocations: 16.08 kB / 376.4 MB, free: 23.04 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.2756, allocations: 5.625 kB / 376.4 MB, free: 23.04 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.2756, allocations: 0.7031 kB / 376.4 MB, free: 23.04 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001368/0.277, allocations: 0.9746 MB / 377.4 MB, free: 22.52 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.208e-05/0.277, allocations: 130.6 kB / 377.5 MB, free: 22.39 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.635e-05/0.2771, allocations: 13.17 kB / 377.5 MB, free: 22.38 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003663/0.2775, allocations: 27.41 kB / 377.6 MB, free: 22.38 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.789e-05/0.2776, allocations: 50.7 kB / 377.6 MB, free: 22.36 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.161e-05/0.2776, allocations: 18.41 kB / 377.6 MB, free: 22.35 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001457/0.2778, allocations: 192.1 kB / 377.8 MB, free: 22.24 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2778, allocations: 0 / 377.8 MB, free: 22.24 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000474/0.2782, allocations: 176.6 kB / 378 MB, free: 22.2 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.0001859/0.2784, allocations: 141.5 kB / 378.1 MB, free: 22.1 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009699/0.2794, allocations: 0.5346 MB / 378.7 MB, free: 21.94 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.2794, allocations: 0 / 378.7 MB, free: 21.94 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000436/0.2799, allocations: 285.9 kB / 378.9 MB, free: 21.85 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004448/0.2803, allocations: 51.58 kB / 379 MB, free: 21.82 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001625/0.282, allocations: 1.067 MB / 380.1 MB, free: 21.26 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002581/0.2822, allocations: 0.8442 MB / 380.9 MB, free: 20.55 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003168/0.2826, allocations: 76.41 kB / 381 MB, free: 20.53 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/0.2827, allocations: 42.38 kB / 381 MB, free: 20.52 MB / 302.1 MB Notification: Performance of SimCode: time 2.7e-07/0.2827, allocations: 0 / 381 MB, free: 20.52 MB / 302.1 MB Notification: Performance of Templates: time 0.884/1.167, allocations: 5.104 MB / 386.1 MB, free: 19.5 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 cvode -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