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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001572/0.001572, allocations: 109.1 kB / 21.19 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001904/0.001904, allocations: 217.7 kB / 24.5 MB, free: 4.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.479/1.479, allocations: 230.5 MB / 258.1 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] 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=1000,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=1000,variableFilter="time|hollowCylinderAxialOuter.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 67.89 kB / 379 MB, free: 2.492 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2476/0.2494, allocations: 53.41 MB / 432.4 MB, free: 6.746 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.006326/0.2558, allocations: 4.212 MB / 436.7 MB, free: 2.52 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003397/0.2592, allocations: 1.767 MB / 438.4 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005088/0.2597, allocations: 12 kB / 438.4 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002809/0.2625, allocations: 1.022 MB / 439.5 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001043/0.2635, allocations: 242.2 kB / 439.7 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001995/0.2655, allocations: 0.7591 MB / 440.5 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001083/0.2666, allocations: 0.6144 MB / 441.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009534/0.2676, allocations: 437.1 kB / 441.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005676/0.2681, allocations: 274.9 kB / 441.8 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006032/0.2687, allocations: 330.7 kB / 442.1 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001479/0.2689, allocations: 60 kB / 442.1 MB, free: 13.01 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008148/0.2697, allocations: 291.7 kB / 442.4 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001628/0.2699, allocations: 135.5 kB / 442.6 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003856/0.2702, allocations: 310.5 kB / 442.9 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001568/0.2718, allocations: 0.9453 MB / 443.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.778e-06/0.2718, allocations: 3.938 kB / 443.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2718, allocations: 0 / 443.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.077e-05/0.2718, allocations: 0 / 443.8 MB, free: 11.34 MB / 350.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.004013/0.2759, allocations: 1.161 MB / 445 MB, free: 10.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.2759, allocations: 8.031 kB / 445 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00133/0.2772, allocations: 180.4 kB / 445.2 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000271/0.2775, allocations: 182.4 kB / 445.3 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.988e-05/0.2776, allocations: 50.38 kB / 445.4 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001559/0.2777, allocations: 84.3 kB / 445.5 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001465/0.2792, allocations: 0.7038 MB / 446.2 MB, free: 8.898 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.733e-05/0.2792, allocations: 0 / 446.2 MB, free: 8.898 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.876e-05/0.2793, allocations: 28 kB / 446.2 MB, free: 8.871 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.733e-05/0.2793, allocations: 16 kB / 446.2 MB, free: 8.855 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001345/0.2807, allocations: 0.6062 MB / 446.8 MB, free: 8.246 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003818/0.2845, allocations: 2.236 MB / 449.1 MB, free: 5.887 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001349/0.2858, allocations: 0.6692 MB / 449.7 MB, free: 5.211 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005049/0.2863, allocations: 243 kB / 450 MB, free: 4.973 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001606/0.2865, allocations: 32.61 kB / 450 MB, free: 4.941 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.268e-05/0.2865, allocations: 47.25 kB / 450 MB, free: 4.887 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 2.745e-06/0.2865, allocations: 0 / 450 MB, free: 4.887 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.001637/0.2882, allocations: 0.7085 MB / 450.8 MB, free: 4.172 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.854e-05/0.2882, allocations: 111.6 kB / 450.9 MB, free: 4.039 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003247/0.2886, allocations: 272.8 kB / 451.1 MB, free: 3.762 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.507e-05/0.2886, allocations: 37.7 kB / 451.2 MB, free: 3.719 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001973/0.2888, allocations: 268.7 kB / 451.4 MB, free: 3.453 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001943/0.289, allocations: 230 kB / 451.7 MB, free: 3.227 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001956/0.2892, allocations: 118.6 kB / 451.8 MB, free: 3.102 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.2894, allocations: 346.8 kB / 452.1 MB, free: 2.754 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004741/0.2898, allocations: 213.9 kB / 452.3 MB, free: 2.547 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000548/0.2904, allocations: 301.4 kB / 452.6 MB, free: 2.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001038/0.2914, allocations: 0.5184 MB / 453.1 MB, free: 1.691 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.2914, allocations: 4 kB / 453.1 MB, free: 1.688 MB / 350.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001309/0.2927, allocations: 0.6298 MB / 453.8 MB, free: 1.051 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.2928, allocations: 10.5 kB / 453.8 MB, free: 1.043 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.2928, allocations: 0 / 453.8 MB, free: 1.043 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.609e-05/0.2928, allocations: 11.98 kB / 453.8 MB, free: 1.031 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007209/0.2935, allocations: 164 kB / 453.9 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.719e-05/0.2935, allocations: 7.938 kB / 454 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000475/0.294, allocations: 71.5 kB / 454 MB, free: 0.793 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.542e-05/0.2941, allocations: 27.98 kB / 454.1 MB, free: 0.7656 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.0002647/0.2943, allocations: 185.7 kB / 454.2 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/0.2944, allocations: 43.7 kB / 454.3 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001346/0.2958, allocations: 0.6068 MB / 454.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/0.2958, allocations: 4 kB / 454.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.2958, allocations: 0 / 454.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/0.2958, allocations: 7.984 kB / 454.9 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002336/0.2982, allocations: 1.272 MB / 456.2 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.2982, allocations: 0 / 456.2 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005899/0.2987, allocations: 131.9 kB / 456.3 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.023e-05/0.2988, allocations: 3.984 kB / 456.3 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.047e-05/0.2988, allocations: 12 kB / 456.3 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.254e-06/0.2988, allocations: 7.938 kB / 456.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.2988, allocations: 0 / 456.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001727/0.3006, allocations: 0.9862 MB / 457.3 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.402e-05/0.3006, allocations: 39.67 kB / 457.3 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.133e-05/0.3007, allocations: 16 kB / 457.4 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004103/0.3011, allocations: 35.97 kB / 457.4 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.3012, allocations: 40.58 kB / 457.4 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.738e-05/0.3013, allocations: 23.92 kB / 457.5 MB, free: 13.28 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002117/0.3015, allocations: 188.5 kB / 457.6 MB, free: 13.1 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3015, allocations: 0 / 457.6 MB, free: 13.1 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006293/0.3021, allocations: 183.6 kB / 457.8 MB, free: 12.92 MB / 366.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.000291/0.3024, allocations: 155 kB / 458 MB, free: 12.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00118/0.3036, allocations: 0.5052 MB / 458.5 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3036, allocations: 0 / 458.5 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005024/0.3041, allocations: 243.6 kB / 458.7 MB, free: 12.01 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005339/0.3046, allocations: 48.86 kB / 458.8 MB, free: 11.96 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002359/0.307, allocations: 1.087 MB / 459.8 MB, free: 10.84 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005161/0.3075, allocations: 0.846 MB / 460.7 MB, free: 9.965 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002132/0.3077, allocations: 59.36 kB / 460.8 MB, free: 9.906 MB / 366.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3077, allocations: 4 kB / 460.8 MB, free: 9.902 MB / 366.1 MB Notification: Performance of Templates: time 0.0124/0.3201, allocations: 7.032 MB / 467.8 MB, free: 2.895 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.355296859983355]