Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001404/0.001404, allocations: 118.2 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001637/0.001637, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.332/1.332, allocations: 227.4 MB / 246.9 MB, free: 10.59 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001114/0.001114, allocations: 59.89 kB / 358.7 MB, free: 12.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2787/0.2799, allocations: 50.54 MB / 409.3 MB, free: 1.504 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005712/0.2856, allocations: 4.18 MB / 413.4 MB, free: 13.31 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002926/0.2886, allocations: 1.716 MB / 415.1 MB, free: 11.58 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004239/0.289, allocations: 12 kB / 415.2 MB, free: 11.57 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002455/0.2915, allocations: 1.018 MB / 416.2 MB, free: 10.55 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007915/0.2923, allocations: 242.2 kB / 416.4 MB, free: 10.31 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001618/0.2939, allocations: 0.7552 MB / 417.2 MB, free: 9.555 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007347/0.2947, allocations: 0.6066 MB / 417.8 MB, free: 8.945 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007631/0.2954, allocations: 0.4913 MB / 418.3 MB, free: 8.449 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004199/0.2959, allocations: 263.1 kB / 418.5 MB, free: 8.191 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004402/0.2963, allocations: 334.6 kB / 418.9 MB, free: 7.863 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.22e-05/0.2964, allocations: 52 kB / 418.9 MB, free: 7.812 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005564/0.297, allocations: 287.7 kB / 419.2 MB, free: 7.531 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001201/0.2971, allocations: 131.5 kB / 419.3 MB, free: 7.402 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003099/0.2974, allocations: 310.5 kB / 419.6 MB, free: 7.098 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001068/0.2985, allocations: 0.9358 MB / 420.6 MB, free: 6.16 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.2985, allocations: 0 / 420.6 MB, free: 6.16 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2985, allocations: 0 / 420.6 MB, free: 6.16 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.453e-05/0.2986, allocations: 0 / 420.6 MB, free: 6.16 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.003835/0.3024, allocations: 1.229 MB / 421.8 MB, free: 4.879 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.3024, allocations: 8.031 kB / 421.8 MB, free: 4.871 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001424/0.3039, allocations: 184 kB / 422 MB, free: 4.691 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002185/0.3041, allocations: 248.1 kB / 422.2 MB, free: 4.406 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.642e-05/0.3042, allocations: 46.38 kB / 422.3 MB, free: 4.363 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001169/0.3043, allocations: 68.38 kB / 422.3 MB, free: 4.297 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001315/0.3056, allocations: 0.7076 MB / 423 MB, free: 3.57 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.077e-05/0.3057, allocations: 11.89 kB / 423 MB, free: 3.559 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.363e-05/0.3057, allocations: 27.98 kB / 423.1 MB, free: 3.531 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.462e-05/0.3057, allocations: 16 kB / 423.1 MB, free: 3.516 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001245/0.307, allocations: 0.5984 MB / 423.7 MB, free: 2.914 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003478/0.3105, allocations: 2.297 MB / 426 MB, free: 496 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001478/0.312, allocations: 1.629 MB / 427.6 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004573/0.3124, allocations: 275.3 kB / 427.9 MB, free: 14.35 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002127/0.3127, allocations: 182.7 kB / 428.1 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.3127, allocations: 39.12 kB / 428.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 2.044e-06/0.3127, allocations: 4 kB / 428.1 MB, free: 14.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.001447/0.3142, allocations: 0.6976 MB / 428.8 MB, free: 13.38 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.509e-05/0.3142, allocations: 115.4 kB / 428.9 MB, free: 13.24 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002643/0.3145, allocations: 260.9 kB / 429.2 MB, free: 12.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.378e-05/0.3146, allocations: 33.7 kB / 429.2 MB, free: 12.94 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001493/0.3147, allocations: 268.1 kB / 429.5 MB, free: 12.67 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001481/0.3149, allocations: 224.7 kB / 429.7 MB, free: 12.45 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001872/0.3151, allocations: 118.6 kB / 429.8 MB, free: 12.33 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.3152, allocations: 342.8 kB / 430.1 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004329/0.3156, allocations: 209.9 kB / 430.3 MB, free: 11.78 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004988/0.3161, allocations: 313.3 kB / 430.6 MB, free: 11.45 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009255/0.3171, allocations: 0.5142 MB / 431.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.3171, allocations: 0 / 431.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001197/0.3183, allocations: 0.6217 MB / 431.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.3183, allocations: 11.94 kB / 431.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.3183, allocations: 0 / 431.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.102e-05/0.3184, allocations: 4 kB / 431.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006916/0.3191, allocations: 155.8 kB / 431.9 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/0.3191, allocations: 8 kB / 431.9 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000414/0.3195, allocations: 75.53 kB / 432 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.531e-05/0.3196, allocations: 24 kB / 432 MB, free: 10.01 MB / 350.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.0002194/0.3198, allocations: 185.7 kB / 432.2 MB, free: 9.816 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.301e-05/0.3199, allocations: 35.62 kB / 432.3 MB, free: 9.781 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001178/0.3211, allocations: 0.6045 MB / 432.9 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.3211, allocations: 4 kB / 432.9 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.411e-05/0.3211, allocations: 7.984 kB / 432.9 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.287e-06/0.3211, allocations: 7.922 kB / 432.9 MB, free: 9.148 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001985/0.3231, allocations: 1.29 MB / 434.2 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.3231, allocations: 4 kB / 434.2 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005481/0.3237, allocations: 127.8 kB / 434.3 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.713e-06/0.3237, allocations: 4 kB / 434.3 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.53e-05/0.3238, allocations: 15.94 kB / 434.3 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.3238, allocations: 3.938 kB / 434.3 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.3238, allocations: 8 kB / 434.3 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001529/0.3253, allocations: 0.9635 MB / 435.3 MB, free: 6.66 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.599e-05/0.3254, allocations: 120.7 kB / 435.4 MB, free: 6.523 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.767e-05/0.3255, allocations: 23.91 kB / 435.4 MB, free: 6.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003735/0.3259, allocations: 31.92 kB / 435.5 MB, free: 6.469 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.974e-05/0.326, allocations: 36.5 kB / 435.5 MB, free: 6.434 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.412e-05/0.326, allocations: 23.94 kB / 435.5 MB, free: 6.41 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001763/0.3262, allocations: 192.5 kB / 435.7 MB, free: 6.227 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3262, allocations: 0 / 435.7 MB, free: 6.227 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000541/0.3267, allocations: 175.5 kB / 435.9 MB, free: 6.055 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.0002441/0.327, allocations: 147.2 kB / 436 MB, free: 5.902 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001001/0.328, allocations: 0.5312 MB / 436.6 MB, free: 5.371 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.328, allocations: 0 / 436.6 MB, free: 5.371 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004582/0.3285, allocations: 279.4 kB / 436.8 MB, free: 5.094 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004893/0.329, allocations: 47.8 kB / 436.9 MB, free: 5.051 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001882/0.3309, allocations: 1.049 MB / 437.9 MB, free: 3.977 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003948/0.3313, allocations: 0.8499 MB / 438.8 MB, free: 3.098 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003149/0.3316, allocations: 75.41 kB / 438.9 MB, free: 3.023 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000136/0.3317, allocations: 43.42 kB / 438.9 MB, free: 2.98 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3318, allocations: 0 / 438.9 MB, free: 2.98 MB / 350.1 MB Notification: Performance of Templates: time 0.009255/0.341, allocations: 5.228 MB / 444.1 MB, free: 13.79 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches